Export (0) Print
Expand All

EncryptedKeyEncryptingCredentials Class

.NET Framework 4.5

Represents the encrypted key encrypting credentials. These are usually used as data encrypting credentials to encrypt things like tokens.

System.Object
  System.IdentityModel.Tokens.EncryptingCredentials
    System.IdentityModel.Tokens.EncryptedKeyEncryptingCredentials

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

public class EncryptedKeyEncryptingCredentials : EncryptingCredentials

The EncryptedKeyEncryptingCredentials type exposes the following members.

  NameDescription
Public methodEncryptedKeyEncryptingCredentials(X509Certificate2)Initializes a new instance of the EncryptedKeyEncryptingCredentials class based on the specified X.509 certificate.
Public methodEncryptedKeyEncryptingCredentials(EncryptingCredentials, Int32, String)Initializes a new instance of the EncryptedKeyEncryptingCredentials class based on the specified EncryptingCredentials object, key size, and encryption algorithm.
Public methodEncryptedKeyEncryptingCredentials(X509Certificate2, String, Int32, String)Initializes a new instance of the EncryptedKeyEncryptingCredentials class based on the specified X.509 certificate, wrapping algorithm, key size, and encryption algorithm.
Top

  NameDescription
Public propertyAlgorithmGets or sets the encryption algorithm. (Inherited from EncryptingCredentials.)
Public propertySecurityKeyGets or sets the encryption key material. (Inherited from EncryptingCredentials.)
Public propertySecurityKeyIdentifierGets or sets the identifier that identifies the encrypting credential. (Inherited from EncryptingCredentials.)
Public propertyWrappingCredentialsGets the key wrapping credentials used to encrypt the session key; for example, X509EncryptingCredentials.
Top

  NameDescription
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 methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
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.6, 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.
Show:
© 2015 Microsoft