Export (0) Print
Expand All

X509AsymmetricSecurityKey Class

Represents an asymmetric key for X.509 certificates.

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

'Declaration
Public Class X509AsymmetricSecurityKey _
	Inherits AsymmetricSecurityKey

The X509AsymmetricSecurityKey type exposes the following members.

  NameDescription
Public methodX509AsymmetricSecurityKeyInitializes a new instance of the X509AsymmetricSecurityKey class using the specified X.509 certificate.
Top

  NameDescription
Public propertyKeySizeGets the size, in bits, of the public key associated with the X.509 certificate. (Overrides SecurityKey.KeySize.)
Top

  NameDescription
Public methodDecryptKeyDecrypts the specified encrypted key using the specified cryptographic algorithm. (Overrides SecurityKey.DecryptKey(String, Byte()).)
Public methodEncryptKeyEncrypts the specified encrypted key using the specified cryptographic algorithm. (Overrides SecurityKey.EncryptKey(String, Byte()).)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAsymmetricAlgorithmGets the specified asymmetric cryptographic algorithm. (Overrides AsymmetricSecurityKey.GetAsymmetricAlgorithm(String, Boolean).)
Public methodGetHashAlgorithmForSignatureGets a cryptographic algorithm that generates a hash for a digital signature. (Overrides AsymmetricSecurityKey.GetHashAlgorithmForSignature(String).)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetSignatureDeformatterGets the de-formatter algorithm for the digital signature. (Overrides AsymmetricSecurityKey.GetSignatureDeformatter(String).)
Public methodGetSignatureFormatterGets the formatter algorithm for the digital signature. (Overrides AsymmetricSecurityKey.GetSignatureFormatter(String).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHasPrivateKeyGets a value that indicates whether the private key is a available. (Overrides AsymmetricSecurityKey.HasPrivateKey.)
Public methodIsAsymmetricAlgorithmGets a value that indicates whether the specified algorithm uses asymmetric keys. (Overrides SecurityKey.IsAsymmetricAlgorithm(String).)
Public methodIsSupportedAlgorithmGets a value that indicates whether the specified algorithm is supported by this class. (Overrides SecurityKey.IsSupportedAlgorithm(String).)
Public methodIsSymmetricAlgorithmGets a value that indicates whether the specified algorithm uses symmetric keys. (Overrides SecurityKey.IsSymmetricAlgorithm(String).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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

Community Additions

ADD
Show:
© 2014 Microsoft