Home
last modified time | relevance | path

Searched refs:signedInfo (Results 1 – 6 of 6) sorted by relevance

/reactos/dll/win32/crypt32/
H A Dserialize.c695 CRYPT_SIGNED_INFO signedInfo = { 0 }; in CRYPT_SavePKCSToMem() local
706 signedInfo.cCertEncoded++; in CRYPT_SavePKCSToMem()
708 if (signedInfo.cCertEncoded) in CRYPT_SavePKCSToMem()
710 signedInfo.rgCertEncoded = CryptMemAlloc( in CRYPT_SavePKCSToMem()
712 if (!signedInfo.rgCertEncoded) in CRYPT_SavePKCSToMem()
736 signedInfo.cCrlEncoded++; in CRYPT_SavePKCSToMem()
738 if (signedInfo.cCrlEncoded) in CRYPT_SavePKCSToMem()
740 signedInfo.rgCrlEncoded = CryptMemAlloc( in CRYPT_SavePKCSToMem()
742 if (!signedInfo.rgCrlEncoded) in CRYPT_SavePKCSToMem()
783 CryptMemFree(signedInfo.rgCertEncoded); in CRYPT_SavePKCSToMem()
[all …]
H A Dencode.c4311 { &signedInfo->version, CRYPT_AsnEncodeInt, 0 }, in CRYPT_AsnEncodeCMSSignedInfo()
4319 if (signedInfo->cSignerInfo) in CRYPT_AsnEncodeCMSSignedInfo()
4334 if (signedInfo->cCertEncoded) in CRYPT_AsnEncodeCMSSignedInfo()
4336 certSet.cItems = signedInfo->cCertEncoded; in CRYPT_AsnEncodeCMSSignedInfo()
4337 certSet.items = signedInfo->rgCertEncoded; in CRYPT_AsnEncodeCMSSignedInfo()
4349 if (signedInfo->cCrlEncoded) in CRYPT_AsnEncodeCMSSignedInfo()
4351 crlSet.cItems = signedInfo->cCrlEncoded; in CRYPT_AsnEncodeCMSSignedInfo()
4352 crlSet.items = signedInfo->rgCrlEncoded; in CRYPT_AsnEncodeCMSSignedInfo()
4364 if (ret && signedInfo->cSignerInfo) in CRYPT_AsnEncodeCMSSignedInfo()
4366 signerSet.cItems = signedInfo->cSignerInfo; in CRYPT_AsnEncodeCMSSignedInfo()
[all …]
H A Dcert.c3405 CERT_SIGNED_CONTENT_INFO signedInfo; in CRYPT_CreateSignedCert() local
3409 signedInfo.ToBeSigned.cbData = blob->cbData; in CRYPT_CreateSignedCert()
3410 signedInfo.ToBeSigned.pbData = blob->pbData; in CRYPT_CreateSignedCert()
3411 signedInfo.SignatureAlgorithm = *sigAlgo; in CRYPT_CreateSignedCert()
3412 signedInfo.Signature.cbData = sigSize; in CRYPT_CreateSignedCert()
3413 signedInfo.Signature.pbData = sig; in CRYPT_CreateSignedCert()
3414 signedInfo.Signature.cUnusedBits = 0; in CRYPT_CreateSignedCert()
3416 &signedInfo, CRYPT_ENCODE_ALLOC_FLAG, NULL, in CRYPT_CreateSignedCert()
H A Dcrypt32_private.h127 CRYPT_SIGNED_INFO *signedInfo, DWORD *pcbSignedInfo) DECLSPEC_HIDDEN;
H A Dmsg.c2267 CRYPT_SIGNED_INFO *signedInfo; in CDecodeMsg_DecodeSignedContent() local
2271 CRYPT_DECODE_ALLOC_FLAG, NULL, (CRYPT_SIGNED_INFO *)&signedInfo, in CDecodeMsg_DecodeSignedContent()
2274 msg->u.signed_data.info = signedInfo; in CDecodeMsg_DecodeSignedContent()
H A Ddecode.c5824 CRYPT_SIGNED_INFO *signedInfo, DWORD *pcbSignedInfo) in CRYPT_AsnDecodeCMSSignedInfo() argument
5852 pDecodePara, signedInfo, pcbSignedInfo); in CRYPT_AsnDecodeCMSSignedInfo()
5855 pbEncoded, cbEncoded, dwFlags, pDecodePara, signedInfo, pcbSignedInfo, in CRYPT_AsnDecodeCMSSignedInfo()