Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This structure specifies an algorithm. The structure includes the object identifier (OID) of the algorithm and any needed parameters for that algorithm. The parameters contained in its CRYPTOAPI_BLOB(CRYPT_OBJID_BLOB) are encoded.
Syntax
typedef struct _CRYPT_ALGORITHM_IDENTIFIER { LPSTR pszObjId; CRYPT_OBJID_BLOB Parameters; } CRYPT_ALGORITHM_IDENTIFIER, *PCRYPT_ALGORITHM_IDENTIFIER; |
Members
- pszObjId
-
Object identifier (OID) of an algorithm. The following table shows possible values for this member.
Object identifier Description szOID_RSA
"1.2.840.113549"
szOID_PKCS
"1.2.840.113549.1"
szOID_RSA_HASH
"1.2.840.113549.2"
szOID_RSA_ENCRYPT
"1.2.840.113549.3"
szOID_PKCS_1
"1.2.840.113549.1.1"
szOID_PKCS_2
"1.2.840.113549.1.2"
szOID_PKCS_3
"1.2.840.113549.1.3"
szOID_PKCS_4
"1.2.840.113549.1.4"
szOID_PKCS_5
"1.2.840.113549.1.5"
szOID_PKCS_6
"1.2.840.113549.1.6"
szOID_PKCS_7
"1.2.840.113549.1.7"
szOID_PKCS_8
"1.2.840.113549.1.8"
szOID_PKCS_9
"1.2.840.113549.1.9"
szOID_PKCS_10
"1.2.840.113549.1.10"
szOID_PKCS_12
"1.2.840.113549.1.12"
szOID_RSA_MD2
"1.2.840.113549.1.1.2"
szOID_RSA_MD4
"1.2.840.113549.1.1.3"
szOID_RSA_MD5
"1.2.840.113549.1.1.4"
szOID_RSA_RSA
"1.2.840.113549.1.1.1"
szOID_RSA_MD2RSA
"1.2.840.113549.1.1.2"
szOID_RSA_MD4RSA
"1.2.840.113549.1.1.3"
szOID_RSA_MD5RSA
"1.2.840.113549.1.1.4"
szOID_RSA_SHA1RSA
"1.2.840.113549.1.1.5"
szOID_RSA_SETOAEP_RSA
"1.2.840.113549.1.1.5"
szOID_RSA_DH
"1.2.840.113549.1.3.1"
szOID_RSA_data
"1.2.840.113549.1.7.1"
szOID_RSA_signedData
"1.2.840.113549.1.7.2"
szOID_RSA_envelopedData
"1.2.840.113549.1.7.3"
szOID_RSA_signEnvData
"1.2.840.113549.1.7.4"
szOID_RSA_digestedData
"1.2.840.113549.1.7.5"
szOID_RSA_hashedData
"1.2.840.113549.1.7.5"
szOID_RSA_encryptedData
"1.2.840.113549.1.7.6"
szOID_RSA_emailAddr
"1.2.840.113549.1.9.1"
szOID_RSA_unstructName
"1.2.840.113549.1.9.2"
szOID_RSA_contentType
"1.2.840.113549.1.9.3"
szOID_RSA_messageDigest
"1.2.840.113549.1.9.4"
szOID_RSA_signingTime
"1.2.840.113549.1.9.5"
szOID_RSA_counterSign
"1.2.840.113549.1.9.6"
szOID_RSA_challengePwd
"1.2.840.113549.1.9.7"
szOID_RSA_unstructAddr
"1.2.840.113549.1.9.8"
szOID_RSA_extCertAttrs
"1.2.840.113549.1.9.9"
szOID_RSA_SMIMECapabilities
"1.2.840.113549.1.9.15"
szOID_RSA_preferSignedData
"1.2.840.113549.1.9.15.1"
szOID_RSA_RC2CBC
"1.2.840.113549.3.2"
szOID_RSA_RC4
"1.2.840.113549.3.4"
szOID_RSA_DES_EDE3_CBC
"1.2.840.113549.3.7"
szOID_RSA_RC5_CBCPad
"1.2.840.113549.3.9"
szOID_ANSI_x942
"1.2.840.10046"
szOID_ANSI_x942_DH
"1.2.840.10046.2.1"
szOID_X957
"1.2.840.10040"
szOID_X957_DSA
"1.2.840.10040.4.1"
szOID_DATA STRUCTURE
"1.2.840.10040.4.3"
szOId_DS
"2.5"
szOID_DSALG
"2.5.8"
szOID_DSALG_CRPT
"2.5.8.1"
szOID_DSALG_HASH
"2.5.8.2"
szOID_DSALG_SIGN
"2.5.8.3"
szOID_DSALG_RSA
"2.5.8.1.1"
szOID_OIW
"1.3.14"
szOID_OIWSEC
"1.3.14.3.2"
szOID_OIWSEC_md4RSA
"1.3.14.3.2.2"
szOID_OIWSEC_md5RSA
"1.3.14.3.2.3"
szOID_OIWSEC_md4RSA2
"1.3.14.3.2.4"
szOID_OIWSEC_desECB
"1.3.14.3.2.6"
szOID_OIWSEC_desCBC
"1.3.14.3.2.7"
szOID_OIWSEC_desOFB
"1.3.14.3.2.8"
szOID_OIWSEC_desCFB
"1.3.14.3.2.9"
szOID_OIWSEC_desMAC
"1.3.14.3.2.10"
szOID_OIWSEC_rsaSign
"1.3.14.3.2.11"
szOID_OIWSEC_dsa
"1.3.14.3.2.12"
szOID_OIWSEC_shaDSA
"1.3.14.3.2.13"
szOID_OIWSEC_mdc2RSA
"1.3.14.3.2.14"
szOID_OIWSEC_shaRSA
"1.3.14.3.2.15"
szOID_OIWSEC_dhCommMod
"1.3.14.3.2.16"
szOID_OIWSEC_desEDE
"1.3.14.3.2.17"
szOID_OIWSEC_sha
"1.3.14.3.2.18"
szOID_OIWSEC_mdc2
"1.3.14.3.2.19"
szOID_OIWSEC_dsaComm
"1.3.14.3.2.20"
szOID_OIWSEC_dsaCommSHA
"1.3.14.3.2.21"
szOID_OIWSEC_rsaXchg
"1.3.14.3.2.22"
szOID_OIWSEC_keyHashSeal
"1.3.14.3.2.23"
szOID_OIWSEC_md2RSASign
"1.3.14.3.2.24"
szOID_OIWSEC_md5RSASign
"1.3.14.3.2.25"
szOID_OIWSEC_sha1
"1.3.14.3.2.26"
szOID_OIWSEC_dsaSHA1
"1.3.14.3.2.27"
szOID_OIWSEC_dsaCommSHA1
"1.3.14.3.2.28"
szOID_OIWSEC_sha1RSASign
"1.3.14.3.2.29"
szOID_OIWDIR
"1.3.14.7.2"
szOID_OIWDIR_CRPT
"1.3.14.7.2.1"
szOID_OIWDIR_HASH
"1.3.14.7.2.2"
szOID_OIWDIR_SIGN
"1.3.14.7.2.3"
szOID_OIWDIR_md2
"1.3.14.7.2.2.1"
szOID_OIWDIR_md2RSA
"1.3.14.7.2.3.1"
szOID_INFOSEC
"2.16.840.1.101.2.1"
szOID_INFOSEC_sdnsSignature
"2.16.840.1.101.2.1.1.1"
szOID_INFOSEC_mosaicSignature
"2.16.840.1.101.2.1.1.2"
szOID_INFOSEC_sdnsConfidentiality
"2.16.840.1.101.2.1.1.3"
szOID_INFOSEC_mosaicConfidentiality
"2.16.840.1.101.2.1.1.4"
szOID_INFOSEC_sdnsIntegrity
"2.16.840.1.101.2.1.1.5"
szOID_INFOSEC_mosaicIntegrity
"2.16.840.1.101.2.1.1.6"
szOID_INFOSEC_sdnsTokenProtection
"2.16.840.1.101.2.1.1.7"
szOID_INFOSEC_mosaicTokenProtection
"2.16.840.1.101.2.1.1.8"
szOID_INFOSEC_sdnsKeyManagement
"2.16.840.1.101.2.1.1.9"
szOID_INFOSEC_mosaicKeyManagement
"2.16.840.1.101.2.1.1.10"
szOID_INFOSEC_sdnsKMandSig
"2.16.840.1.101.2.1.1.11"
szOID_INFOSEC_mosaicKMandSig
"2.16.840.1.101.2.1.1.12"
szOID_INFOSEC_SuiteASignature
"2.16.840.1.101.2.1.1.13"
szOID_INFOSEC_SuiteAConfidentiality
"2.16.840.1.101.2.1.1.14"
szOID_INFOSEC_SuiteAIntegrity
"2.16.840.1.101.2.1.1.15"
szOID_INFOSEC_SuiteATokenProtection
"2.16.840.1.101.2.1.1.16"
szOID_INFOSEC_SuiteAKeyManagement
"2.16.840.1.101.2.1.1.17"
szOID_INFOSEC_SuiteAKMandSig
"2.16.840.1.101.2.1.1.18"
szOID_INFOSEC_mosaicUpdatedSig
"2.16.840.1.101.2.1.1.19"
szOID_INFOSEC_mosaicKMandUpdSig
"2.16.840.1.101.2.1.1.20"
szOID_INFOSEC_mosaicUpdatedInteg
"2.16.840.1.101.2.1.1.21"
- Parameters
-
BLOB (Cryptography)structure providing encoded algorithm specific values. In many cases, there are no parameters. This is indicated by setting the cbDatamember of the BLOBstructure to zero.
The following table shows algorithms that have encoded parameters. For more information, see Constants for CryptEncodeObjectand CryptDecodeObject.
Algorithm name OID Predefined constant szOID_OIWSEC_dsa
X509_DSS_PARAMETERS
szOID_RSA_RC2CBC
PKCS_RC2_CBC_PARAMETERS
szOID_OIWSEC_desCBC
X509_OCTET_STRING
szOID_RSA_DES_EDE3_CBC
X509_OCTET_STRING
szOID_RSA_RC4
X509_OCTET_STRING
Requirements
Header | wincrypt.h |
Windows Embedded CE | Windows CE 3.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |