Share via


HMACSHA1SignatureFormatter Constructor (Byte[])

Initializes a new instance of the HMACSHA1SignatureFormatter class using the specified key.

Namespace: Microsoft.Web.Services2.Security.Cryptography
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim key() As Byte
Dim hMACSHA1SignatureFormatter1 As New HMACSHA1SignatureFormatter(key)

Syntax

'Declaration
Public Sub New( _
    ByVal key() As Byte _
)
public HMACSHA1SignatureFormatter(
    byte[] key
);
public: HMACSHA1SignatureFormatter(
    array<Byte>^ key
);
public HMACSHA1SignatureFormatter(
    ubyte[] key
);
public function HMACSHA1SignatureFormatter(
     key : Byte[]
);

Parameters

  • key
    An array of type System.Byte that contains the key.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

HMACSHA1SignatureFormatter Class
Microsoft.Web.Services2.Security.Cryptography Namespace

Other Resources

HMACSHA1SignatureFormatter Members