X509Certificate Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides methods that help you use X.509 v.3 certificates.


Namespace:  System.Security.Cryptography.X509Certificates
Assembly:  Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)

Public Class X509Certificate

The X509Certificate type exposes the following members.

Public methodX509Certificate()()()()Initializes a new instance of the X509Certificate class.
Public methodX509Certificate(array<Byte>[]()[][])Initializes a new instance of the X509Certificate class defined from a sequence of bytes representing an X.509v3 certificate.
Public methodX509Certificate(array<Byte>[]()[][], String)Initializes a new instance of the X509Certificate class using a byte array and a password.

Public propertyIssuerGets the name of the certificate authority that issued the X.509v3 certificate.
Public propertySubjectGets the subject distinguished name from the certificate.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetEffectiveDateRetrieves the effective date of the certificate.
Public methodGetExpirationDateRetrieves the expiration date of the certificate.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetRawCertDataReturns the raw data for the entire X.509v3 certificate.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Protected fieldm_effectiveDateContains the effective date of the certificate.
Protected fieldm_expirationDateContains the expiration date of the certificate.
Protected fieldm_handleContains the handle.
Protected fieldm_issuerContains the certificate issuer.
Protected fieldm_sessionHandleContains the session handle.
Protected fieldm_subjectContains the subject.

ASN.1 DER is the only certificate format supported by this class.

For most scenarios, you should use the X509Certificate2 class instead.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.