Редагувати

Поділитися через


X509EncryptingCredentials Class

Definition

Represents an X.509 token used as the encrypting credential. This class is usually used as key wrapping credentials.

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

Constructors

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate, key wrapping algorithm, and security key identifier.

X509EncryptingCredentials(X509Certificate2, SecurityKeyIdentifier)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and security key identifier.

X509EncryptingCredentials(X509Certificate2, String)

Initializes a new instance of the X509EncryptingCredentials class based on the specified X.509 certificate and key wrapping algorithm.

X509EncryptingCredentials(X509Certificate2)

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

Properties

Algorithm

Gets or sets the encryption algorithm.

(Inherited from EncryptingCredentials)
Certificate

Gets the X.509 certificate.

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)

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