Security.Cryptography.HMACSHA384Cng


The HMACSHA384Cng class provides a wrapper for the CNG implementation of the HMAC SHA384 algorithm. It provides the same interface as the other HMAC implementations shipped with the .NET Framework, including System.Security.Cryptography.HMACSHA256

HMACSHA384Cng uses the BCrypt layer of CNG to do its work, and requires Windows Vista and the .NET Framework 3.5.

Since most of the HMACSHA384Cng APIs are inherited from the System.Security.Cryptography.HMAC base class, please see the MSDN documentation for HMAC for a complete description.

APIs

.ctor(System.Byte[] key)

Constructs a HMACSHA384Cng object using the given key, which will use the Microsoft Primitive Algorithm Provider to do its work.

Parameters:
key key to use when calculating the HMAC


Exceptions:
System.ArgumentNullException if key is null


.ctor(System.Byte] key, [url:System.Security.Cryptography.CngProvider algorithmProvider)

Constructs a HMACSHA384Cng object using the given key, which will calculate the HMAC using the given algorithm provider and key.

Parameters:
key key to use when calculating the HMAC
algorithmProvider algorithm provider to calculate the HMAC in


Exceptions:
System.ArgumentNullException if key or algorithmProvider are null



Last edited Jun 4, 2009 at 12:39 AM by shawnfa, version 3

Comments

No comments yet.