X509Certificate2 Methods

 

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

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current X509Certificate object.(Inherited from X509Certificate.)

System_CAPS_protmethodDispose(Boolean)

Releases all of the unmanaged resources used by this X509Certificate and optionally releases the managed resources. (Inherited from X509Certificate.)

System_CAPS_pubmethodEquals(Object)

Compares two X509Certificate objects for equality.(Inherited from X509Certificate.)

System_CAPS_pubmethodEquals(X509Certificate)

Compares two X509Certificate objects for equality.(Inherited from X509Certificate.)

System_CAPS_pubmethodExport(X509ContentType)

Exports the current X509Certificate object to a byte array in a format described by one of the X509ContentType values. (Inherited from X509Certificate.)

System_CAPS_pubmethodExport(X509ContentType, SecureString)

Exports the current X509Certificate object to a byte array using the specified format and a password.(Inherited from X509Certificate.)

System_CAPS_pubmethodExport(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.(Inherited from X509Certificate.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticGetCertContentType(Byte[])

Indicates the type of certificate contained in a byte array.

System_CAPS_pubmethodSystem_CAPS_staticGetCertContentType(String)

Indicates the type of certificate contained in a file.

System_CAPS_pubmethodGetCertHash()

Returns the hash value for the X.509v3 certificate as an array of bytes.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetCertHashString()

Returns the SHA1 hash value for the X.509v3 certificate as a hexadecimal string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetEffectiveDateString()

Returns the effective date of this X.509v3 certificate.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetExpirationDateString()

Returns the expiration date of this X.509v3 certificate.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetFormat()

Returns the name of the format of this X.509v3 certificate.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the X.509v3 certificate as an integer.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetIssuerName()

Obsolete.Returns the name of the certification authority that issued the X.509v3 certificate.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetKeyAlgorithm()

Returns the key algorithm information for this X.509v3 certificate as a string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetKeyAlgorithmParameters()

Returns the key algorithm parameters for the X.509v3 certificate as an array of bytes.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetKeyAlgorithmParametersString()

Returns the key algorithm parameters for the X.509v3 certificate as a hexadecimal string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetName()

Obsolete.Returns the name of the principal to which the certificate was issued.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetNameInfo(X509NameType, Boolean)

Gets the subject and issuer names from a certificate.

System_CAPS_pubmethodGetPublicKey()

Returns the public key for the X.509v3 certificate as an array of bytes.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetPublicKeyString()

Returns the public key for the X.509v3 certificate as a hexadecimal string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetRawCertData()

Returns the raw data for the entire X.509v3 certificate as an array of bytes.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetRawCertDataString()

Returns the raw data for the entire X.509v3 certificate as a hexadecimal string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetSerialNumber()

Returns the serial number of the X.509v3 certificate as an array of bytes.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetSerialNumberString()

Returns the serial number of the X.509v3 certificate as a hexadecimal string.(Inherited from X509Certificate.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodImport(Byte[])

Populates an X509Certificate2 object with data from a byte array.(Overrides X509Certificate.Import(Byte[]).)

System_CAPS_pubmethodImport(Byte[], SecureString, X509KeyStorageFlags)

Populates an X509Certificate2 object using data from a byte array, a password, and a key storage flag.(Overrides X509Certificate.Import(Byte[], SecureString, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(Byte[], String, X509KeyStorageFlags)

Populates an X509Certificate2 object using data from a byte array, a password, and flags for determining how to import the private key.(Overrides X509Certificate.Import(Byte[], String, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(String)

Populates an X509Certificate2 object with information from a certificate file.(Overrides X509Certificate.Import(String).)

System_CAPS_pubmethodImport(String, SecureString, X509KeyStorageFlags)

Populates an X509Certificate2 object with information from a certificate file, a password, and a key storage flag.(Overrides X509Certificate.Import(String, SecureString, X509KeyStorageFlags).)

System_CAPS_pubmethodImport(String, String, X509KeyStorageFlags)

Populates an X509Certificate2 object with information from a certificate file, a password, and a X509KeyStorageFlags value.(Overrides X509Certificate.Import(String, String, X509KeyStorageFlags).)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReset()

Resets the state of an X509Certificate2 object.(Overrides X509Certificate.Reset().)

System_CAPS_pubmethodToString()

Displays an X.509 certificate in text format.(Overrides X509Certificate.ToString().)

System_CAPS_pubmethodToString(Boolean)

Displays an X.509 certificate in text format.(Overrides X509Certificate.ToString(Boolean).)

System_CAPS_pubmethodVerify()

Performs a X.509 chain validation using basic validation policy.

NameDescription
System_CAPS_pubmethodGetDSAPrivateKey()

Gets the DSA private key from the X509Certificate2.(Defined by DSACertificateExtensions.)

System_CAPS_pubmethodGetDSAPublicKey()

Gets the DSA public key from the X509Certificate2.(Defined by DSACertificateExtensions.)

System_CAPS_pubmethodGetECDsaPrivateKey()

Gets the ECDsa private key from the X509Certificate2 certificate.(Defined by ECDsaCertificateExtensions.)

System_CAPS_pubmethodGetECDsaPublicKey()

Gets the ECDsa public key from the X509Certificate2 certificate.(Defined by ECDsaCertificateExtensions.)

System_CAPS_pubmethodGetRSAPrivateKey()

Gets the RSA private key from the X509Certificate2.(Defined by RSACertificateExtensions.)

System_CAPS_pubmethodGetRSAPublicKey()

Gets the RSA public key from the X509Certificate2.(Defined by RSACertificateExtensions.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDeserializationCallback.OnDeserialization(Object)

Implements the ISerializable interface and is called back by the deserialization event when deserialization is complete. (Inherited from X509Certificate.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodISerializable.GetObjectData(SerializationInfo, StreamingContext)

Gets serialization information with all the data needed to recreate an instance of the current X509Certificate object.(Inherited from X509Certificate.)

Return to top
Show: