Share via


CRYPT_OID_INFO

This structure contains information about an object identifier (OID). These structures give the relationship among an OID identifier, its name, its group, and other information on the OID. These structures can be listed using the CryptEnumOIDInfo function.

typedef struct _CRYPT_OID_INFO{DWORDcbSize;LPCSTRpszOID;LPCWSTRpwszName;DWORDdwGroupId;union{DWORDdwValue;ALG_IDAlgid;DWORDdwLength;};CRYPT_DATA_BLOBExtraInfo;}CRYPT_OID_INFO, *PCRYPT_OID_INFO;typedef const CRYPT_OID_INFO CCRYPT_OID_INFO, *PCCRYPT_OID_INFO;

Members

  • cbSize
    Size of this structure in bytes.

  • pszOID
    Object identifier associated with this OID information.

  • pwszName
    Friendly name associated with an OID.

  • dwGroupId
    Group identifier value associated with this OID information.

    The following table shows the group identifiers that are currently defined for dwGroupId.

    Group identifier Description
    CRYPT_HASH_ALG_OID_GROUP_ID Hash algorithms
    CRYPT_ENCRYPT_ALG_OID_GROUP_ID Encryption algorithms
    CRYPT_PUBKEY_ALG_OID_GROUP_ID Public key algorithms
    CRYPT_SIGN_ALG_OID_GROUP_ID Signature algorithms
    CRYPT_RDN_ATTR_OID_GROUP_ID RDN Attributes
    CRYPT_EXT_OR_ATTR_OID_GROUP_ID Extensions or attributes
    CRYPT_ENHKEY_USAGE_OID_GROUP_ID Enhanced key usages
    CRYPT_POLICY_OID_GROUP_ID Policies
  • dwValue
    Numeric value associated with this OID information. Used with dwGroupId CRYPT_SIGN_ALG_OID_GROUP_ID

  • Algid
    Algorithm identifier associated with this OID information.

    Applies for the following values of dwGroupId:

    • CRYPT_HASH_ALG_OID_GROUP_ID
    • CRYPT_ENCRYPT_ALG_OID_GROUP_ID
    • CRYPT_PUBKEY_ALG_OID_GROUP_ID
    • CRYPT_SIGN_ALG_OID_GROUP_ID
  • dwLength
    Not implemented and always set to zero.

  • ExtraInfo
    Extra information used to find or register OID information. Applies for the following values of dwGroupId:

    • CRYPT_PUBKEY_ALG_OID_GROUP_ID
    • CRYPT_SIGN_ALG_OID_GROUP_ID
    • CRYPT_RDN_ATTR_OID_GROUP_ID

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Wincrypt.h.

See Also

CryptEnumOIDInfo | CryptFindOIDInfo

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.