BCRYPT_OID Structure

The BCRYPT_OID structure contains information about a DER-encoded object identifier (OID). CNG uses hash OIDs in functions that sign or verify data in PKCS #1 format.

Syntax

typedef struct _BCRYPT_OID {
    ULONG cbOID;
    PUCHAR pbOID;
} BCRYPT_OID;  

Members

cbOID
The size, in bytes, of the pbOID buffer.

pbOID
The address of a buffer that contains the OID.

Requirements

Header: Declared in bcrypt.h.

Library: Use bcrypt.lib.