Export (0) Print
Expand All

X509Certificate Methods

The X509Certificate type exposes the following members.

  Name Description
Public method Static member CreateFromCertFile Creates an X.509v3 certificate from the specified PKCS7 signed file.
Public method Static member CreateFromSignedFile Creates an X.509v3 certificate from the specified signed file.
Protected method CreateHexString Infrastructure. Creates a hex string from the specified byte array.
Public method Equals(Object) Compares two X509Certificate objects for equality. (Overrides Object.Equals(Object).)
Public method Equals(X509Certificate) Compares two X509Certificate objects for equality.
Public method Export(X509ContentType) Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values.
Public method Export(X509ContentType, SecureString) Exports the current X509Certificate object to a byte array using the specified format and a password.
Public method Export(X509ContentType, String) Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values, and using the specified password.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method Static member FormatDate Converts the specified date and time to a string.
Public method GetCertHash Returns the hash value for the X.509v3 certificate as an array of bytes.
Public method GetCertHashString Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.
Public method GetEffectiveDateString Returns the effective date of this X.509v3 certificate.
Public method GetExpirationDateString Returns the expiration date of this X.509v3 certificate.
Public method GetFormat Returns the name of the format of this X.509v3 certificate.
Public method GetHashCode Returns the hash code for the X.509v3 certificate as an integer. (Overrides Object.GetHashCode().)
Public method GetIssuerName Obsolete. Returns the name of the certification authority that issued the X.509v3 certificate.
Public method GetKeyAlgorithm Returns the key algorithm information for this X.509v3 certificate as a string.
Public method GetKeyAlgorithmParameters Returns the key algorithm parameters for the X.509v3 certificate as an array of bytes.
Public method GetKeyAlgorithmParametersString Returns the key algorithm parameters for the X.509v3 certificate as a hexadecimal string.
Public method GetName Obsolete. Returns the name of the principal to which the certificate was issued.
Public method GetPublicKey Returns the public key for the X.509v3 certificate as an array of bytes.
Public method GetPublicKeyString Returns the public key for the X.509v3 certificate as a hexadecimal string.
Public method GetRawCertData Returns the raw data for the entire X.509v3 certificate as an array of bytes.
Public method GetRawCertDataString Returns the raw data for the entire X.509v3 certificate as a hexadecimal string.
Public method GetSerialNumber Returns the serial number of the X.509v3 certificate as an array of bytes.
Public method GetSerialNumberString Returns the serial number of the X.509v3 certificate as a hexadecimal string.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Import(Byte[]) Populates the X509Certificate object with data from a byte array.
Public method Import(String) Populates the X509Certificate object with information from a certificate file.
Public method Import(Byte[], SecureString, X509KeyStorageFlags) Populates an X509Certificate object using data from a byte array, a password, and a key storage flag.
Public method Import(Byte[], String, X509KeyStorageFlags) Populates the X509Certificate object using data from a byte array, a password, and flags for determining how the private key is imported.
Public method Import(String, SecureString, X509KeyStorageFlags) Populates an X509Certificate object with information from a certificate file, a password, and a key storage flag.
Public method Import(String, String, X509KeyStorageFlags) Populates the X509Certificate object with information from a certificate file, a password, and a X509KeyStorageFlags value.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Reset Resets the state of the X509Certificate2 object.
Public method ToString() Returns a string representation of the current X509Certificate object. (Overrides Object.ToString().)
Public method ToString(Boolean) Returns a string representation of the current X509Certificate object, with extra information, if specified.
Top

  Name Description
Explicit interface implemetation Private method IDeserializationCallback.OnDeserialization Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete.
Explicit interface implemetation Private method ISerializable.GetObjectData Gets serialization information with all the data needed to recreate an instance of the current X509Certificate object.
Top
Show:
© 2014 Microsoft