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.
Inheritance Hierarchy
System. . :: . .Object
System.Security.Cryptography.X509Certificates..::..X509Certificate
System.Security.Cryptography.X509Certificates. . :: . .X509Certificate2
Namespace: System.Security.Cryptography.X509Certificates
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Class X509Certificate
public class X509Certificate
public ref class X509Certificate
type X509Certificate = class end
public class X509Certificate
The X509Certificate type exposes the following members.
Constructors
Name | Description | |
---|---|---|
X509Certificate() () () () | Initializes a new instance of the X509Certificate class. | |
X509Certificate(array<Byte> [] () [] []) | Initializes a new instance of the X509Certificate class defined from a sequence of bytes representing an X.509v3 certificate. | |
X509Certificate(array<Byte> [] () [] [], String) | Initializes a new instance of the X509Certificate class using a byte array and a password. |
Top
Properties
Name | Description | |
---|---|---|
Issuer | Gets the name of the certificate authority that issued the X.509v3 certificate. | |
Subject | Gets the subject distinguished name from the certificate. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEffectiveDate | Retrieves the effective date of the certificate. | |
GetExpirationDate | Retrieves the expiration date of the certificate. | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetRawCertData | Returns the raw data for the entire X.509v3 certificate. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
m_effectiveDate | Contains the effective date of the certificate. | |
m_expirationDate | Contains the expiration date of the certificate. | |
m_handle | Contains the handle. | |
m_issuer | Contains the certificate issuer. | |
m_sessionHandle | Contains the session handle. | |
m_subject | Contains the subject. |
Top
Remarks
ASN.1 DER is the only certificate format supported by this class.
For most scenarios, you should use the X509Certificate2 class instead.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.