MailBee.NET Objects 4.0

Certificate Members

Certificate overview

Public Instance Constructors

Certificate Overloaded. Initializes a new instance of the Certificate class.

Public Instance Properties

AsX509Certificate Gets the certificate as X509Certificate object.
EmailAddress Gets the e-mail address of the certificate principal.
HasPrivateKey Gets whether the certificate has a private key.
IssuedBy Gets the name of the certification authority that issued the X.509 certificate.
IssuedTo Gets the name of the entity this certificate was issued to.
IssuerDetails Gets the name of the certification authority which issued this X.509 certificate.
KeyAlgorithmString Gets a string containing OID of algorithm used to generate a public key of X.509 certificate.
LastResult Gets a numeric code of the last error.
Name Gets the details about the principal to which the certificate was issued.
PublicKey Gets a public key for X.509 certificate as a byte array.
PublicKeyString Gets a string containing a public key for X.509 certificate.
RawData Gets the raw X.509 certificate data as a byte array.
SerialNumber Gets the serial number of the X.509-formatted certificate as a byte array.
SerialNumberString Gets the serial number of the X.509-formatted certificate as a string.
SignatureAlgorithm Gets the information about cryptographic algorithm used to encrypt a message.
Subject Gets the subject of X.509 certificate.
ThrowExceptions Gets or sets whether the object will throw exceptions on errors.
ValidFromDate Gets the date the certificate is valid from.
ValidToDate Gets the date the certificate certificate is no longer valid from.

Public Instance Methods

Dispose Releases the resources associated with the Certificate object.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
SaveToFile Saves the certificate into a file on disk.
ToString (inherited from Object) Returns a String that represents the current Object.
ValidateOverloaded. Checks if the certificate is valid.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Certificate Class | MailBee.Security Namespace | CertificateStore | ClientServerCertificates | X509Certificate