Condividi tramite


PSHA1.GetKeyBytes Method

Returns portions of the key material.

Namespace: Microsoft.Web.Services3.Security.Cryptography
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim position As Integer
Dim size As Integer
Dim returnValue() As Byte
Dim pSHA11 As PSHA1
returnValue = pSHA11.GetKeyBytes(position, size)

Syntax

'Declaration
Public Function GetKeyBytes( _
    ByVal position As Integer, _
    ByVal size As Integer _
) As Byte()
public byte[] GetKeyBytes(
    int position, 
    int size
);
public:
array<unsigned char>^ GetKeyBytes(
    int position,
    int size
);
public ubyte[] GetKeyBytes(
    int position, 
    int size
);
public function GetKeyBytes(
     position : int, 
     size : int
) : Byte[];

Parameters

  • position
    The position in the key material.
  • size
    The amount, in bytes, of data to return.

Return Value

An array of type Byte that is the key bytes requested.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

PSHA1 Class
PSHA1 Members
Microsoft.Web.Services3.Security.Cryptography Namespace