PublicKeyBlob Structure
Represents, in binary format, the public key of a public/private key pair.
typedef struct {
unsigned int SigAlgId;
unsigned int HashAlgId;
ULONG cbPublicKey;
BYTE PublicKey[1]
} PublicKeyBlob;
Members
Member |
Description |
---|---|
SigAlgId |
The identifier for the signature algorithm (of type ALG_ID, as defined in WinCrypt.h) of the public key. |
HashAlgId |
The identifier for the hash algorithm (of type ALG_ID, as defined in WinCrypt.h) of the public key. |
cbPublicKey |
The length of the key in bytes. |
PublicKey |
A variable-length byte array that contains the key value in the format returned by the CryptoAPI. |
Remarks
The PublicKeyBlob structure is used by StrongNameGetPublicKey, StrongNameSignatureGeneration, and other strong name functions to represent the public key of a public/private key pair.
Requirements
Platforms: See .NET Framework System Requirements.
Header: StrongName.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0
See Also
Reference
StrongNameGetPublicKey Function
StrongNameSignatureGeneration Function