Home
last modified time | relevance | path

Searched refs:SignerInfo (Results 1 - 11 of 11) sorted by relevance

/base/security/code_signature/utils/src/
H A Dsigner_info.cpp37 const std::string SignerInfo::OWNERID_OID = "1.3.6.1.4.1.2011.2.376.1.4.1";
38 const std::string SignerInfo::OWNERID_OID_SHORT_NAME = "ownerID";
39 const std::string SignerInfo::OWNERID_OID_LONG_NAME = "Code Signature Owner ID";
41 bool SignerInfo::InitSignerInfo(const std::string &ownerID, X509 *cert, const EVP_MD *md, in InitSignerInfo()
99 bool SignerInfo::AddAttrsToSignerInfo(const std::string &ownerID, const ByteBuffer &contentData) in AddAttrsToSignerInfo()
135 uint8_t *SignerInfo::GetDataToSign(uint32_t &len) in GetDataToSign()
159 bool SignerInfo::AddSignatureInSignerInfo(const ByteBuffer &signature) in AddSignatureInSignerInfo()
178 bool SignerInfo::ComputeDigest(const ByteBuffer &data, ByteBuffer &digest) in ComputeDigest()
208 int SignerInfo::GetSignAlgorithmID(const X509 *cert) in GetSignAlgorithmID()
223 PKCS7_SIGNER_INFO *SignerInfo
[all...]
H A Dpkcs7_generator.cpp52 SignerInfo signerInfo; in GenerateSignature()
76 int32_t PKCS7Generator::SignData(SignKey &key, SignerInfo &signerInfo) in SignData()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
H A Dmbedtls_pkcs7.h104 } SignerInfo; typedef
131 SignerInfo signers;
191 typedef int32_t (*PKCS7_CalcDigest)(const Pkcs7 *pkcs7, const SignerInfo *signer,
214 int32_t PKCS7_GetDigestInSignerAuthAttr(const SignerInfo *signer, unsigned char **dig, size_t *digLen);
227 int32_t PKCS7_GetSignerAuthAttr(const SignerInfo *signer, unsigned char **data, size_t *dataLen);
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dmbedtls_pkcs7.c148 static int32_t ParseSignerVersion(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerVersion()
153 static int32_t ParseSignerIssuerAndSerialNum(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerIssuerAndSerialNum()
180 static int32_t ParseSignerDigestAlg(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerDigestAlg()
192 static int32_t ParseSignerAuthAttr(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerAuthAttr()
227 static int32_t ParseSignerEncAlg(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerEncAlg()
246 static int32_t ParseSignerSignature(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerSignature()
262 static int32_t GetSignerSignature(const SignerInfo *signer, unsigned char **sig, size_t *sigLen) in GetSignerSignature()
271 static int32_t ParseSignerUnAuthAttr(unsigned char **p, const unsigned char *end, SignerInfo *signer) in ParseSignerUnAuthAttr()
371 static int32_t ParseSignedDataSignerInfos(unsigned char **p, const unsigned char *end, SignerInfo *signers) in ParseSignedDataSignerInfos()
651 static void FreeSignerCerts(SignerInfo *signe
[all...]
H A Dapp_verify.c251 static int32_t CalcCmpContHash(const Pkcs7 *pkcs7, const SignerInfo *signer, in CalcCmpContHash()
272 rc = PKCS7_GetDigestInSignerAuthAttr((SignerInfo *)signer, &digInAttr, &digInAttrLen); in CalcCmpContHash()
288 static int32_t CalcDigest(const Pkcs7 *pkcs7, const SignerInfo *signer, in CalcDigest()
/base/security/code_signature/utils/include/
H A Dpkcs7_generator.h33 static int32_t SignData(SignKey &key, SignerInfo &signerInfo);
H A Dsigner_info.h30 class SignerInfo { class
/base/security/code_signature/interfaces/innerkits/code_sign_utils/src/
H A Dcode_sign_enable_multi_task.cpp176 ret = SignerInfo::ParseOwnerIdFromSignature(sigBuffer, retId); in CheckOwnerId()
H A Dcode_sign_utils.cpp173 return SignerInfo::ParseOwnerIdFromSignature(sigbuffer, ownerID);
/base/update/packaging_tools/
H A Dbuild_pkcs7.py190 signer_info = cms.SignerInfo()
210 # Adding SignerInfo object to SignedData object
H A Dbuild_module_package.py356 signer_info = cms.SignerInfo()
376 # Adding SignerInfo object to SignedData object

Completed in 10 milliseconds