GetHMAC(Func<Byte[],HMAC>,Byte[],Byte[],Byte[]) Method
See Also 
SourceCode.Security.Cryptography Namespace > CryptoFactory Class > GetHMAC Method : GetHMAC(Func<Byte[],HMAC>,Byte[],Byte[],Byte[]) Method



hmacFactory
pmk
auth
clear

Glossary Item Box

Syntax

Visual Basic (Declaration)  
<ExtensionAttribute()>
Public Overloads Shared Function GetHMAC( _
   ByVal hmacFactory As Func(Of Byte(),HMAC), _
   ByVal pmk() As Byte, _
   ByVal auth() As Byte, _
   ByVal clear() As Byte _
) As Byte()
Visual Basic (Usage) Copy Code
Dim hmacFactory As Func(Of Byte(),HMAC)
Dim pmk() As Byte
Dim auth() As Byte
Dim clear() As Byte
Dim value() As Byte
 
value = CryptoFactory.GetHMAC(hmacFactory, pmk, auth, clear)
C#  
[Extension()]
public static byte[] GetHMAC( 
   Func<byte[],HMAC> hmacFactory,
   byte[] pmk,
   byte[] auth,
   byte[] clear
)

Parameters

hmacFactory
pmk
auth
clear

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also