Export (0) Print
Expand All

X509Certificate2 Members

Represents an X.509 certificate. This class cannot be inherited.

The following tables list the members exposed by the X509Certificate2 type.

  Name Description
Public method X509Certificate2 Overloaded. Initializes a new instance of the X509Certificate2 class.
Top

  Name Description
Public property Archived Gets or sets a value indicating that an X.509 certificate is archived.
Public property Extensions Gets a collection of X509Extension objects.
Public property FriendlyName Gets or sets the associated alias for a certificate.
Public property Handle  Gets a handle to a Microsoft Cryptographic API certificate context described by an unmanaged PCCERT_CONTEXT structure. (inherited from X509Certificate)
Public property HasPrivateKey Gets a value that indicates whether an X509Certificate2 object contains a private key.
Public property Issuer  Gets the name of the certificate authority that issued the X.509v3 certificate.(inherited from X509Certificate)
Public property IssuerName Gets the distinguished name of the certificate issuer.
Public property NotAfter Gets the date in local time after which a certificate is no longer valid.
Public property NotBefore Gets the date in local time on which a certificate becomes valid.
Public property PrivateKey Gets or sets the AsymmetricAlgorithm object that represents the private key associated with a certificate.
Public property PublicKey Gets a PublicKey object associated with a certificate.
Public property RawData Gets the raw data of a certificate.
Public property SerialNumber Gets the serial number of a certificate.
Public property SignatureAlgorithm Gets the algorithm used to create the signature of a certificate.
Public property Subject  Gets the subject distinguished name from the certificate.(inherited from X509Certificate)
Public property SubjectName Gets the subject distinguished name from a certificate.
Public property Thumbprint Gets the thumbprint of a certificate.
Public property Version Gets the X.509 format version of a certificate.
Top

(see also Protected Methods )
  Name Description
Public method Static CreateFromCertFile  Creates an X.509v3 certificate from the specified certification file. (inherited from X509Certificate)
Public method Static CreateFromSignedFile  Creates an X.509v3 certificate from the specified signed file. (inherited from X509Certificate)
Public method Equals  Overloaded. Compares two X509Certificate objects for equality. (inherited from X509Certificate)
Public method Export  Overloaded. Exports the current X509Certificate object to a byte array. (inherited from X509Certificate)
Public method Static GetCertContentType Overloaded. Indicates the type of certificate contained in a byte array or file.
Public method GetCertHash  Returns the hash value for the X.509v3 certificate as an array of bytes. (inherited from X509Certificate)
Public method GetCertHashString  Returns the hash value for the X.509v3 certificate as a hexadecimal string. (inherited from X509Certificate)
Public method GetEffectiveDateString  Returns the effective date of this X.509v3 certificate. (inherited from X509Certificate)
Public method GetExpirationDateString  Returns the expiration date of this X.509v3 certificate. (inherited from X509Certificate)
Public method GetFormat  Returns the name of the format of this X.509v3 certificate. (inherited from X509Certificate)
Public method GetHashCode  Returns the hash code for the X.509v3 certificate as an integer. (inherited from X509Certificate)
Public method GetIssuerName  Returns the name of the certification authority that issued the X.509v3 certificate. (inherited from X509Certificate)
Public method GetKeyAlgorithm  Returns the key algorithm information for this X.509v3 certificate. (inherited from X509Certificate)
Public method GetKeyAlgorithmParameters  Returns the key algorithm parameters for the X.509v3 certificate. (inherited from X509Certificate)
Public method GetKeyAlgorithmParametersString  Returns the key algorithm parameters for the X.509v3 certificate. (inherited from X509Certificate)
Public method GetName  Returns the name of the principal to which the certificate was issued. (inherited from X509Certificate)
Public method GetNameInfo Gets the subject and issuer names from a certificate.
Public method GetPublicKey  Returns the public key for the X.509v3 certificate. (inherited from X509Certificate)
Public method GetPublicKeyString  Returns the public key for the X.509v3 certificate. (inherited from X509Certificate)
Public method GetRawCertData  Returns the raw data for the entire X.509v3 certificate. (inherited from X509Certificate)
Public method GetRawCertDataString  Returns the raw data for the entire X.509v3 certificate. (inherited from X509Certificate)
Public method GetSerialNumber  Returns the serial number of the X.509v3 certificate. (inherited from X509Certificate)
Public method GetSerialNumberString  Returns the serial number of the X.509v3 certificate. (inherited from X509Certificate)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Import Overloaded. Overridden. Populates an X509Certificate2 object with the certificate information provided.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Reset Overridden. Resets the state of an X509Certificate2 object.
Public method ToString Overloaded. Overridden. Displays an X.509 certificate in text format.
Public method Verify Performs a X.509 chain validation using basic validation policy.
Top

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

Community Additions

ADD
Show:
© 2015 Microsoft