X509AsymmetricSecurityKey Class

 

Represents an asymmetric key for X.509 certificates.

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

System.Object
  System.IdentityModel.Tokens.SecurityKey
    System.IdentityModel.Tokens.AsymmetricSecurityKey
      System.IdentityModel.Tokens.X509AsymmetricSecurityKey

public class X509AsymmetricSecurityKey : AsymmetricSecurityKey

NameDescription
System_CAPS_pubmethodX509AsymmetricSecurityKey(X509Certificate2)

Initializes a new instance of the X509AsymmetricSecurityKey class using the specified X.509 certificate.

NameDescription
System_CAPS_pubpropertyKeySize

Gets the size, in bits, of the public key associated with the X.509 certificate.(Overrides SecurityKey.KeySize.)

NameDescription
System_CAPS_pubmethodDecryptKey(String, Byte[])

Decrypts the specified encrypted key using the specified cryptographic algorithm.(Overrides SecurityKey.DecryptKey(String, Byte[]).)

System_CAPS_pubmethodEncryptKey(String, Byte[])

Encrypts the specified encrypted key using the specified cryptographic algorithm.(Overrides SecurityKey.EncryptKey(String, Byte[]).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

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_pubmethodGetAsymmetricAlgorithm(String, Boolean)

Gets the specified asymmetric cryptographic algorithm.(Overrides AsymmetricSecurityKey.GetAsymmetricAlgorithm(String, Boolean).)

System_CAPS_pubmethodGetHashAlgorithmForSignature(String)

Gets a cryptographic algorithm that generates a hash for a digital signature.(Overrides AsymmetricSecurityKey.GetHashAlgorithmForSignature(String).)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetSignatureDeformatter(String)

Gets the de-formatter algorithm for the digital signature.(Overrides AsymmetricSecurityKey.GetSignatureDeformatter(String).)

System_CAPS_pubmethodGetSignatureFormatter(String)

Gets the formatter algorithm for the digital signature.(Overrides AsymmetricSecurityKey.GetSignatureFormatter(String).)

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodHasPrivateKey()

Gets a value that indicates whether the private key is a available. (Overrides AsymmetricSecurityKey.HasPrivateKey().)

System_CAPS_pubmethodIsAsymmetricAlgorithm(String)

Gets a value that indicates whether the specified algorithm uses asymmetric keys.(Overrides SecurityKey.IsAsymmetricAlgorithm(String).)

System_CAPS_pubmethodIsSupportedAlgorithm(String)

Gets a value that indicates whether the specified algorithm is supported by this class. (Overrides SecurityKey.IsSupportedAlgorithm(String).)

System_CAPS_pubmethodIsSymmetricAlgorithm(String)

Gets a value that indicates whether the specified algorithm uses symmetric keys.(Overrides SecurityKey.IsSymmetricAlgorithm(String).)

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: