System.Security.Cryptography.X509Certificates.X509Certificate2: Property Members

The properties of System.Security.Cryptography.X509Certificates.X509Certificate2 are listed below. For a list of all members, see the X509Certificate2 Members list.

See Also: Inherited members from System.Security.Cryptography.X509Certificates.X509Certificate

Public Properties

Archivedbool.

Gets or sets a value indicating that an X.509 certificate is archived.

[read-only]
ExtensionsX509ExtensionCollection.

Gets a collection of System.Security.Cryptography.X509Certificates.X509Extension objects.

FriendlyNamestring.

Gets or sets the associated alias for a certificate.

[read-only]
HasPrivateKeybool.

Gets a value that indicates whether an System.Security.Cryptography.X509Certificates.X509Certificate2 object contains a private key.

[read-only]
IssuerNameX500DistinguishedName.

Gets the distinguished name of the certificate issuer.

[read-only]
NotAfterDateTime.

Gets the date in local time after which a certificate is no longer valid.

[read-only]
NotBeforeDateTime.

Gets the date in local time on which a certificate becomes valid.

PrivateKeySystem.Security.Cryptography.AsymmetricAlgorithm.

Gets or sets the System.Security.Cryptography.AsymmetricAlgorithm object that represents the private key associated with a certificate.

[read-only]
PublicKeyPublicKey.

Gets a X509Certificate2.PublicKey object associated with a certificate.

[read-only]
RawDatabyte[].

Gets the raw data of a certificate.

[read-only]
SerialNumberstring.

Gets the serial number of a certificate.

[read-only]
SignatureAlgorithmSystem.Security.Cryptography.Oid.

Gets the algorithm used to create the signature of a certificate.

[read-only]
SubjectNameX500DistinguishedName.

Gets the subject distinguished name from a certificate.

[read-only]
Thumbprintstring.

Gets the thumbprint of a certificate.

[read-only]
Versionint.

Gets the X.509 format version of a certificate.