RequestedProofToken Construtores
Definição
Inicializa uma nova instância da classe RequestedProofToken.Initializes a new instance of the RequestedProofToken class.
Sobrecargas
| RequestedProofToken(Byte[]) |
Inicializa uma nova instância da classe RequestedProofToken usando o material da chave especificada.Initializes a new instance of the RequestedProofToken class using the specified key material. |
| RequestedProofToken(ProtectedKey) |
Inicializa uma nova instância da classe RequestedProofToken usando o objeto ProtectedKey especificado.Initializes a new instance of the RequestedProofToken class using the specified ProtectedKey object. |
| RequestedProofToken(String) |
Inicializa uma nova instância da classe RequestedProofToken usando o algoritmo de chave computada especificado.Initializes a new instance of the RequestedProofToken class using the specified computed key algorithm. |
| RequestedProofToken(Byte[], EncryptingCredentials) |
Inicializa uma nova instância da classe RequestedProofToken usando o material da chave e as credenciais de criptografia especificadas.Initializes a new instance of the RequestedProofToken class using the specified key material and encrypting credentials. |
RequestedProofToken(Byte[])
Inicializa uma nova instância da classe RequestedProofToken usando o material da chave especificada.Initializes a new instance of the RequestedProofToken class using the specified key material.
public:
RequestedProofToken(cli::array <System::Byte> ^ secret);
public RequestedProofToken (byte[] secret);
new System.IdentityModel.Protocols.WSTrust.RequestedProofToken : byte[] -> System.IdentityModel.Protocols.WSTrust.RequestedProofToken
Public Sub New (secret As Byte())
Parâmetros
- secret
- Byte[]
Uma matriz de Byte que contém o material da chave.An array of Byte that contains the key material.
Comentários
Use este construtor quando a chave for texto sem formatação.Use this constructor when the key is plain text.
Aplica-se a
RequestedProofToken(ProtectedKey)
Inicializa uma nova instância da classe RequestedProofToken usando o objeto ProtectedKey especificado.Initializes a new instance of the RequestedProofToken class using the specified ProtectedKey object.
public:
RequestedProofToken(System::IdentityModel::Protocols::WSTrust::ProtectedKey ^ protectedKey);
public RequestedProofToken (System.IdentityModel.Protocols.WSTrust.ProtectedKey protectedKey);
new System.IdentityModel.Protocols.WSTrust.RequestedProofToken : System.IdentityModel.Protocols.WSTrust.ProtectedKey -> System.IdentityModel.Protocols.WSTrust.RequestedProofToken
Public Sub New (protectedKey As ProtectedKey)
Parâmetros
- protectedKey
- ProtectedKey
Um ProtectedKey que representa a chave, que pode ser tanto um segredo binário quanto uma chave criptografada.A ProtectedKey that represents the key, which can be either a binary secret or an encrypted key.
Exceções
protectedKey é null.protectedKey is null.
Aplica-se a
RequestedProofToken(String)
Inicializa uma nova instância da classe RequestedProofToken usando o algoritmo de chave computada especificado.Initializes a new instance of the RequestedProofToken class using the specified computed key algorithm.
public:
RequestedProofToken(System::String ^ computedKeyAlgorithm);
public RequestedProofToken (string computedKeyAlgorithm);
new System.IdentityModel.Protocols.WSTrust.RequestedProofToken : string -> System.IdentityModel.Protocols.WSTrust.RequestedProofToken
Public Sub New (computedKeyAlgorithm As String)
Parâmetros
- computedKeyAlgorithm
- String
Uma cadeia de caracteres que contém um URI que indica o algoritmo usado para calcular a chave da sessão no caso de entropia combinada.A string that contains a URI that indicates the algorithm used to compute the session key in the combined entropy case.
Exceções
computedKeyAlgorithm é null.computedKeyAlgorithm is null.
Comentários
Use esse construtor no caso de entropia combinada para especificar o algoritmo usado para calcular a chave de sessão.Use this constructor in the case of combined entropy to specify the algorithm used to calculate the session key.
Aplica-se a
RequestedProofToken(Byte[], EncryptingCredentials)
Inicializa uma nova instância da classe RequestedProofToken usando o material da chave e as credenciais de criptografia especificadas.Initializes a new instance of the RequestedProofToken class using the specified key material and encrypting credentials.
public:
RequestedProofToken(cli::array <System::Byte> ^ secret, System::IdentityModel::Tokens::EncryptingCredentials ^ wrappingCredentials);
public RequestedProofToken (byte[] secret, System.IdentityModel.Tokens.EncryptingCredentials wrappingCredentials);
new System.IdentityModel.Protocols.WSTrust.RequestedProofToken : byte[] * System.IdentityModel.Tokens.EncryptingCredentials -> System.IdentityModel.Protocols.WSTrust.RequestedProofToken
Public Sub New (secret As Byte(), wrappingCredentials As EncryptingCredentials)
Parâmetros
- secret
- Byte[]
Uma matriz de Byte que contém o material da chave.An array of Byte that contains the key material.
- wrappingCredentials
- EncryptingCredentials
Um EncryptingCredentials que representa as credenciais usadas para criptografar o material da chave.A EncryptingCredentials that represents the credentials used to encrypt the key material.
Comentários
Use este construtor quando a chave for criptografada.Use this constructor when the key is encrypted.