Home
last modified time | relevance | path

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

/ohos5.0/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()
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::GetSignerInfo() in GetSignerInfo()
228 int SignerInfo::AddOwnerID(const std::string &ownerID) in AddOwnerID()
[all …]
H A Dpkcs7_generator.cpp52 SignerInfo signerInfo; in GenerateSignature()
76 int32_t PKCS7Generator::SignData(SignKey &key, SignerInfo &signerInfo) in SignData()
/ohos5.0/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 *digL…
227 int32_t PKCS7_GetSignerAuthAttr(const SignerInfo *signer, unsigned char **data, size_t *dataLen);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/
H A Dmbedtls_pkcs7.c651 static void FreeSignerCerts(SignerInfo *signer) in FreeSignerCerts()
660 static void FreeSignerIssuer(SignerInfo *signer) in FreeSignerIssuer()
675 SignerInfo *signer = pkcs7->signedData.signers.next; in FreeSignersInfo()
676 SignerInfo *next = NULL; in FreeSignersInfo()
804 SignerInfo *signer = &signedData->signers; in ConstructSignerCerts()
870 const SignerInfo *signer = &pkcs7->signedData.signers; in PKCS7_VerifySignerSignature()
1045 const SignerInfo *signer = &pkcs7->signedData.signers; in PKCS7_VerifyCertsChain()
1116 static size_t GetSignersCnt(const SignerInfo *signers) in GetSignersCnt()
1126 static bool IsIncludeRoot(const SignerInfo *signer) in IsIncludeRoot()
1150 static int32_t GetSignerSignningCertDepth(const SignerInfo *signer) in GetSignerSignningCertDepth()
[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()
/ohos5.0/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 {
/ohos5.0/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); in ParseOwnerIdFromSignature()
/ohos5.0/base/update/packaging_tools/
H A Dbuild_pkcs7.py190 signer_info = cms.SignerInfo()
H A Dbuild_module_package.py356 signer_info = cms.SignerInfo()