Export (0) Print
Expand All

X509Certificate Methods

The methods of the X509Certificate class are listed here. For a complete list of X509Certificate class members, see the X509Certificate Members topic.

Public Methods

public methodstatic (Shared in Visual Basic)CreateFromCertFile Creates an X.509v3 certificate from the specified certification file.
public methodstatic (Shared in Visual Basic)CreateFromSignedFile Creates an X.509v3 certificate from the specified signed file.
public methodEquals

Supported by the .NET Compact Framework.

Overloaded. Compares two objects for equality.
public methodGetCertHash

Supported by the .NET Compact Framework.

Returns the hash value for the X.509v3 certificate as an array of bytes.
public methodGetCertHashString

Supported by the .NET Compact Framework.

Returns the hash value for the X.509v3 certificate as a hexadecimal string.
public methodGetEffectiveDateString

Supported by the .NET Compact Framework.

Returns the effective date of this X.509v3 certificate.
public methodGetExpirationDateString

Supported by the .NET Compact Framework.

Returns the expiration date of this X.509v3 certificate.
public methodGetFormat

Supported by the .NET Compact Framework.

Returns the name of the format of this X.509v3 certificate.
public methodGetHashCode

Supported by the .NET Compact Framework.

Overridden. Returns the hash code for the X.509v3 certificate as an integer.
public methodGetIssuerName

Supported by the .NET Compact Framework.

Returns the name of the certification authority that issued the X.509v3 certificate.
public methodGetKeyAlgorithm

Supported by the .NET Compact Framework.

Returns the key algorithm information for this X.509v3 certificate.
public methodGetKeyAlgorithmParameters

Supported by the .NET Compact Framework.

Returns the key algorithm parameters for the X.509v3 certificate.
public methodGetKeyAlgorithmParametersString

Supported by the .NET Compact Framework.

Returns the key algorithm parameters for the X.509v3 certificate.
public methodGetName

Supported by the .NET Compact Framework.

Returns the name of the principal to which the certificate was issued.
public methodGetPublicKey

Supported by the .NET Compact Framework.

Returns the public key for the X.509v3 certificate.
public methodGetPublicKeyString

Supported by the .NET Compact Framework.

Returns the public key for the X.509v3 certificate.
public methodGetRawCertData

Supported by the .NET Compact Framework.

Returns the raw data for the entire X.509v3 certificate.
public methodGetRawCertDataString

Supported by the .NET Compact Framework.

Returns the raw data for the entire X.509v3 certificate.
public methodGetSerialNumber

Supported by the .NET Compact Framework.

Returns the serial number of the X.509v3 certificate.
public methodGetSerialNumberString

Supported by the .NET Compact Framework.

Returns the serial number of the X.509v3 certificate.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodToString

Supported by the .NET Compact Framework.

Overloaded. Overridden. Returns a string representation of the current X509Certificate object.

Protected Methods

protected methodFinalize (inherited from Object)

Supported by the .NET Compact Framework.

Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

X509Certificate Class | System.Security.Cryptography.X509Certificates Namespace

Show:
© 2014 Microsoft