TlsCertificate Class |
Namespace: FM.IceLink
The TlsCertificate type exposes the following members.
| Name | Description | |
|---|---|---|
| TlsCertificate | Initializes a new instance of the TlsCertificate class |
| Name | Description | |
|---|---|---|
| AutoRegenerate |
Gets or sets whether the certificate's cryptography
data should be automatically regenerated when
it is about to expire. Defaults to (Inherited from CertificateTCertificate, TFingerprint.)true | |
| DefaultKeyType |
Gets or sets the default asymmetric key type (RSA).
| |
| EffectiveDate |
Gets the effective date.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| ExpirationDate |
Gets the expiration date.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| Id |
Gets or sets the identifier.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| IsExpired |
Gets whether the certificate is expired.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| IsExpiring |
Gets whether the certificate is expiring within 24 hours.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| IssuerName |
Gets the name of the issuer.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| Key |
Gets or sets the asymmetric key.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| SubjectName |
Gets the name of the subject.
(Inherited from CertificateTCertificate, TFingerprint.) |
| Name | Description | |
|---|---|---|
| CalculateFingerprint |
Calculates a fingerprint for this certificate.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| Clone |
Clones this instance.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| CreateCertificate |
Creates the certificate.
(Overrides CertificateTCertificate, TFingerprintCreateCertificate.) | |
| CreateFingerprint |
Creates a fingerprint.
(Overrides CertificateTCertificate, TFingerprintCreateFingerprint(String, String).) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| FromX509Certificate2 |
Converts an X509Certificate2 into a TlsCertificate.
| |
| GenerateCertificate |
Generates a certificate with a default issuer/subject name and
an expiration date of 10 days from now.
| |
| GenerateCertificate(String) |
Generates a certificate with the given issuer/subject name and an
expiration date of 10 days from now.
| |
| GenerateCertificate(AsymmetricKey) |
Generates a certificate with a default issuer/subject name and
an expiration date of 10 days from now.
| |
| GenerateCertificate(AsymmetricKeyType) |
Generates a certificate with a default issuer/subject name and
an expiration date of 10 days from now.
| |
| GenerateCertificate(String, AsymmetricKey) |
Generates a certificate with the given issuer/subject name and an
expiration date of 10 days from now.
| |
| GenerateCertificate(String, AsymmetricKeyType) |
Generates a certificate with the given issuer/subject name and an
expiration date of 10 days from now.
| |
| GenerateCertificate(String, String) |
Generates a certificate with the given issuer name, subject name, and
an expiration date of 10 days from now.
| |
| GenerateCertificate(String, String, AsymmetricKey) |
Generates a certificate with the given issuer name, subject name, and
an expiration date of 10 days from now.
| |
| GenerateCertificate(String, String, AsymmetricKeyType) |
Generates a certificate with the given issuer name, subject name, and
an expiration date of 10 days from now.
| |
| GenerateCertificate(String, String, DateTime) |
Generates a certificate with the given issuer name, subject name, and expiration date.
| |
| GenerateCertificate(String, String, DateTime, AsymmetricKey) |
Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
| |
| GenerateCertificate(String, String, DateTime, AsymmetricKeyType) |
Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
| |
| GenerateCertificateFromOldCertificate(TlsCertificate) |
Generates a certificate using the issuer/subject name from an
old certificate and an expiration date of 10 days from now.
| |
| GenerateCertificateFromOldCertificate(TlsCertificate, DateTime) |
Generates a certificate using the issuer/subject name from an
old certificate and the given expiration date.
| |
| GetBuffer |
Serializes this certificate to binary.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| GetBytes |
Serializes this certificate to binary.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| ParseBytes |
Deserializes a certificate from binary.
| |
| Regenerate |
Regenerates the certificate's cryptography data using an
expiration date of 10 days from now.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| Regenerate(DateTime) |
Regenerates the certificate's cryptography data using the
given expiration date.
(Inherited from CertificateTCertificate, TFingerprint.) | |
| ToString | (Inherited from Object.) | |
| ToX509Certificate2 |
Converts this instance into an X509Certificate2.
(Inherited from CertificateTCertificate, TFingerprint.) |