Idioma

MsmqTransportSecurity.MsmqSecureHashAlgorithm Propriedade

Definição

Obtém ou define o MsmqSecureHashAlgorithm que está associado a essa instância da MsmqTransportSecurity classe.

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

Valor da propriedade

O MsmqSecureHashAlgorithm que está associado a essa instância da MsmqTransportSecurity classe.

Exceções

O valor não é um dos MsmqSecureHashAlgorithm valores.

Comentários

O algoritmo de hash padrão é Sha1.

Devido a problemas de colisão com SHA-1, a Microsoft recomenda SHA-256.

Aplica-se a