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 {
DWORD cbSize;
LPCSTR pszOID;
LPCWSTR pwszName;
DWORD dwGroupId;
union {
 DWORD dwValue;
 ALG_ID Algid;
 DWORD dwLength;
  };
CRYPT_DATA_BLOB ExtraInfo;
} 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
    The 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

Runs on Versions Defined in Include Link to
Windows CE OS 3.0 or later Wincrypt.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CryptEnumOIDInfo, CryptFindOIDInfo

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.