InMemorySymmetricSecurityKey.GetKeyedHashAlgorithm(String) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Hämtar en instans av den angivna nyckelade hash-algoritmen.
public:
override System::Security::Cryptography::KeyedHashAlgorithm ^ GetKeyedHashAlgorithm(System::String ^ algorithm);
public override System.Security.Cryptography.KeyedHashAlgorithm GetKeyedHashAlgorithm(string algorithm);
override this.GetKeyedHashAlgorithm : string -> System.Security.Cryptography.KeyedHashAlgorithm
Public Overrides Function GetKeyedHashAlgorithm (algorithm As String) As KeyedHashAlgorithm
Parametrar
- algorithm
- String
Den nyckelade hash-algoritmen för att hämta en instans av.
Returer
En KeyedHashAlgorithm som representerar den nyckelade hash-algoritmen.
Undantag
algorithm stöds inte. De algoritmer som stöds är HmacSha1Signature.