Click or drag to resize

TlsCertificate Class

A certificate to be used for TLS communication.
Inheritance Hierarchy
SystemObject
  FM.IceLinkCertificateTlsCertificate, TlsFingerprint
    FM.IceLinkTlsCertificate

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The TlsCertificate type exposes the following members.

Constructors
  NameDescription
Public methodTlsCertificate
Initializes a new instance of the TlsCertificate class
Top
Properties
  NameDescription
Public propertyAutoRegenerate
Gets or sets whether the certificate's cryptography data should be automatically regenerated when it is about to expire. Defaults to
true
.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyStatic memberDefaultKeyType
Gets or sets the default asymmetric key type (RSA).
Public propertyEffectiveDate
Gets the effective date.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyExpirationDate
Gets the expiration date.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyId
Gets or sets the identifier.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyIsExpired
Gets whether the certificate is expired.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyIsExpiring
Gets whether the certificate is expiring within 24 hours.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyIssuerName
Gets the name of the issuer.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertyKey
Gets or sets the asymmetric key.
(Inherited from CertificateTCertificate, TFingerprint.)
Public propertySubjectName
Gets the name of the subject.
(Inherited from CertificateTCertificate, TFingerprint.)
Top
Methods
  NameDescription
Public methodCalculateFingerprint
Calculates a fingerprint for this certificate.
(Inherited from CertificateTCertificate, TFingerprint.)
Public methodClone
Clones this instance.
(Inherited from CertificateTCertificate, TFingerprint.)
Protected methodCreateCertificate
Creates the certificate.
(Overrides CertificateTCertificate, TFingerprintCreateCertificate.)
Protected methodCreateFingerprint
Creates a fingerprint.
(Overrides CertificateTCertificate, TFingerprintCreateFingerprint(String, String).)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberFromX509Certificate2
Converts an X509Certificate2 into a TlsCertificate.
Public methodStatic memberGenerateCertificate
Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String)
Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(AsymmetricKey)
Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(AsymmetricKeyType)
Generates a certificate with a default issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, AsymmetricKey)
Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, AsymmetricKeyType)
Generates a certificate with the given issuer/subject name and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, String)
Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, String, AsymmetricKey)
Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, String, AsymmetricKeyType)
Generates a certificate with the given issuer name, subject name, and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificate(String, String, DateTime)
Generates a certificate with the given issuer name, subject name, and expiration date.
Public methodStatic memberGenerateCertificate(String, String, DateTime, AsymmetricKey)
Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
Public methodStatic memberGenerateCertificate(String, String, DateTime, AsymmetricKeyType)
Generates a certificate with the given issuer name, subject name, expiration date, and asymmetric key.
Public methodStatic memberGenerateCertificateFromOldCertificate(TlsCertificate)
Generates a certificate using the issuer/subject name from an old certificate and an expiration date of 10 days from now.
Public methodStatic memberGenerateCertificateFromOldCertificate(TlsCertificate, DateTime)
Generates a certificate using the issuer/subject name from an old certificate and the given expiration date.
Public methodGetBuffer
Serializes this certificate to binary.
(Inherited from CertificateTCertificate, TFingerprint.)
Public methodGetBytes
Serializes this certificate to binary.
(Inherited from CertificateTCertificate, TFingerprint.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberParseBytes
Deserializes a certificate from binary.
Public methodRegenerate
Regenerates the certificate's cryptography data using an expiration date of 10 days from now.
(Inherited from CertificateTCertificate, TFingerprint.)
Public methodRegenerate(DateTime)
Regenerates the certificate's cryptography data using the given expiration date.
(Inherited from CertificateTCertificate, TFingerprint.)
Public methodToString (Inherited from Object.)
Public methodToX509Certificate2
Converts this instance into an X509Certificate2.
(Inherited from CertificateTCertificate, TFingerprint.)
Top
See Also