Export (0) Print
Expand All

ObjectIdPublicKeyFlags enumeration

The ObjectIdPublicKeyFlags enumeration type specifies whether a public key algorithm is used for signing or for encryption. Some algorithms, such as RSA, can be used for both purposes. This enumeration is used by the InitializeFromAlgorithmName method on the IObjectId interface to narrow and disambiguate the algorithm search.

Syntax


typedef enum  { 
  XCN_CRYPT_OID_INFO_PUBKEY_ANY               = 0,
  XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG     = 0x80000000,
  XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG  = 0x40000000
} ObjectIdPublicKeyFlags;

Constants

XCN_CRYPT_OID_INFO_PUBKEY_ANY

The algorithm can be used for signing or encryption.

XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG

The algorithm is used for signing.

XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG

The algorithm is used for encryption.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

CertEnroll.h

See also

CertEnroll Enumerations
InitializeFromAlgorithmName

 

 

Community Additions

ADD
Show:
© 2014 Microsoft