IssuedTokenClientCredential.DefaultKeyEntropyMode Propiedad

Definición

Obtiene o establece el valor predeterminado de SecurityKeyEntropyMode.

public:
 property System::ServiceModel::Security::SecurityKeyEntropyMode DefaultKeyEntropyMode { System::ServiceModel::Security::SecurityKeyEntropyMode get(); void set(System::ServiceModel::Security::SecurityKeyEntropyMode value); };
public System.ServiceModel.Security.SecurityKeyEntropyMode DefaultKeyEntropyMode { get; set; }
member this.DefaultKeyEntropyMode : System.ServiceModel.Security.SecurityKeyEntropyMode with get, set
Public Property DefaultKeyEntropyMode As SecurityKeyEntropyMode

Valor de propiedad

El valor de SecurityKeyEntropyMode. El valor predeterminado es CombinedEntropy.

Excepciones

Se intentó realizar set una credencial de solo lectura.

Ejemplos

Este código muestra cómo establecer esta propiedad.

itcc.DefaultKeyEntropyMode = SecurityKeyEntropyMode.ServerEntropy;
itcc.DefaultKeyEntropyMode = SecurityKeyEntropyMode.ServerEntropy

Comentarios

Cuando el cliente WS-Trust intercambio con el servicio de token de seguridad para obtener el token emitido, a veces debe intercambiar la entropía de claves con el servicio de token de seguridad para llegar a una clave simétrica compartida. El servicio de token de seguridad normalmente especifica el mecanismo de intercambio de entropía que se usará en su enlace. Si no se especifica ningún mecanismo de este tipo en el enlace del servicio de token de seguridad, el DefaultKeyEntropyMode valor se usa para intercambiar entropía con el servicio de token de seguridad.

Se aplica a