Udostępnij za pośrednictwem


DefaultPropertiesToSend.HashAlgorithm Właściwość

Definicja

Pobiera lub ustawia algorytm wyznaczania wartości skrótu używany podczas uwierzytelniania komunikatów lub tworzenia podpisu cyfrowego dla wiadomości.

public:
 property System::Messaging::HashAlgorithm HashAlgorithm { System::Messaging::HashAlgorithm get(); void set(System::Messaging::HashAlgorithm value); };
[System.Messaging.MessagingDescription("MsgHashAlgorithm")]
public System.Messaging.HashAlgorithm HashAlgorithm { get; set; }
[<System.Messaging.MessagingDescription("MsgHashAlgorithm")>]
member this.HashAlgorithm : System.Messaging.HashAlgorithm with get, set
Public Property HashAlgorithm As HashAlgorithm

Wartość właściwości

HashAlgorithm Jedna z wartości wyliczenia. Wartość domyślna to MD5.

Atrybuty

Uwagi

Właściwość HashAlgorithm identyfikuje algorytm wyznaczania wartości skrótu podczas kolejkowania komunikatów podczas uwierzytelniania komunikatów lub podczas tworzenia podpisu cyfrowego dla komunikatu.

Kolejkowanie komunikatów na komputerze źródłowym używa algorytmu tworzenia skrótów podczas tworzenia podpisu cyfrowego dla komunikatu. Docelowy menedżer kolejek używa tego samego algorytmu tworzenia skrótów do uwierzytelniania komunikatu po odebraniu.

Ze względu na problemy z kolizją z MD5 firma Microsoft zaleca algorytm SHA256.

Dotyczy

Zobacz też