SecurityKeyElement Class
TOC
Collapse the table of content
Expand the table of content

SecurityKeyElement Class

.NET Framework (current version)
 

Provides delayed resolution of security keys by resolving the SecurityKeyIdentifierClause or SecurityKeyIdentifier only when cryptographic functions are needed. This allows a key identifier clause or key identifier that is never used by an application to be serialized and deserialzied on and off the wire without issues.

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

System.Object
  System.IdentityModel.Tokens.SecurityKey
    System.IdentityModel.Tokens.SecurityKeyElement

public class SecurityKeyElement : SecurityKey

NameDescription
System_CAPS_pubmethodSecurityKeyElement(SecurityKeyIdentifier, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier.

System_CAPS_pubmethodSecurityKeyElement(SecurityKeyIdentifierClause, SecurityTokenResolver)

Initializes a new instance of the SecurityKeyElement class from the specified key identifier clause.

NameDescription
System_CAPS_pubpropertyKeySize

Gets the key size, in bits.(Overrides SecurityKey.KeySize.)

NameDescription
System_CAPS_pubmethodDecryptKey(String, Byte[])

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

System_CAPS_pubmethodEncryptKey(String, Byte[])

Encrypts the specified key by using the specified 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_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodIsAsymmetricAlgorithm(String)

Returns a value that indicates whether the specified algorithm is asymmetric.(Overrides SecurityKey.IsAsymmetricAlgorithm(String).)

System_CAPS_pubmethodIsSupportedAlgorithm(String)

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

System_CAPS_pubmethodIsSymmetricAlgorithm(String)

Returns a value that indicates whether the specified algorithm is symmetric.(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 4.5

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:
© 2016 Microsoft