Bewerken

Share via


EncryptedKeyEncryptingCredentials Class

Definition

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

public ref class EncryptedKeyEncryptingCredentials : System::IdentityModel::Tokens::EncryptingCredentials
public class EncryptedKeyEncryptingCredentials : System.IdentityModel.Tokens.EncryptingCredentials
type EncryptedKeyEncryptingCredentials = class
    inherit EncryptingCredentials
Public Class EncryptedKeyEncryptingCredentials
Inherits EncryptingCredentials
Inheritance
EncryptedKeyEncryptingCredentials

Constructors

EncryptedKeyEncryptingCredentials(EncryptingCredentials, Int32, String)

Initializes a new instance of the EncryptedKeyEncryptingCredentials class based on the specified EncryptingCredentials object, key size, and encryption algorithm.

EncryptedKeyEncryptingCredentials(X509Certificate2)

Initializes a new instance of the EncryptedKeyEncryptingCredentials class based on the specified X.509 certificate.

EncryptedKeyEncryptingCredentials(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.

Properties

Algorithm

Gets or sets the encryption algorithm.

(Inherited from EncryptingCredentials)
SecurityKey

Gets or sets the encryption key material.

(Inherited from EncryptingCredentials)
SecurityKeyIdentifier

Gets or sets the identifier that identifies the encrypting credential.

(Inherited from EncryptingCredentials)
WrappingCredentials

Gets the key wrapping credentials used to encrypt the session key; for example, X509EncryptingCredentials.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to