Home
last modified time | relevance | path

Searched defs:cert (Results 1 – 25 of 30) sorted by relevance

12

/base/update/updater/services/package/pkg_verify/
Dcert_verify.cpp43 int32_t CertVerify::CheckCertChain(STACK_OF(X509) *certStack, X509 *cert) in CheckCertChain()
59 int32_t SingleCertHelper::CertChainCheck(STACK_OF(X509) *certStack, X509 *cert) in CertChainCheck()
92 int32_t SingleCertHelper::VerifySingleCert(X509 *cert) in VerifySingleCert()
103 int32_t SingleCertHelper::CompareCertSubjectAndIssuer(X509 *cert) in CompareCertSubjectAndIssuer()
Dopenssl_util.cpp102 X509 *cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr); in GetX509CertFromPemString() local
124 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in GetX509CertFromPemFile() local
135 bool VerifyX509CertByIssuerCert(X509 *cert, X509 *issuerCert) in VerifyX509CertByIssuerCert()
251 std::string GetX509CertSubjectName(X509 *cert) in GetX509CertSubjectName()
266 std::string GetX509CertIssuerName(X509 *cert) in GetX509CertIssuerName()
Dpkcs7_signed_data.cpp303 …X509 *cert = X509_find_by_issuer_and_serial(certStack, signerInfo.issuerName, signerInfo.serialNum… in Pkcs7SignleSignerVerify() local
317 int32_t Pkcs7SignedData::VerifyDigest(X509 *cert, const Pkcs7SignerInfo &signer) const in VerifyDigest()
/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp55 X509* cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr); in GetX509CertFromPemString() local
73 X509* cert = d2i_X509(nullptr, &derBits, len); in GetX509CertFromBase64String() local
79 X509* cert = GetX509CertFromPemString(certStr); in GetPublickeyBase64FromPemCert() local
98 X509* cert = GetX509CertFromPemString(certStr); in GetFingerprintBase64FromPemCert() local
140 bool HapCertVerifyOpensslUtils::GetPublickeyBase64(const X509* cert, std::string& publicKey) in GetPublickeyBase64()
270 X509* cert = sk_X509_value(certs, i); in GenerateCertSignFromCertStack() local
293 X509* cert = certsChain[0]; in GetCertsChain() local
316 X509* HapCertVerifyOpensslUtils::FindCertOfIssuer(X509* cert, CertSign& certVisitSign) in FindCertOfIssuer()
340 bool HapCertVerifyOpensslUtils::CertVerify(X509* cert, const X509* issuerCert) in CertVerify()
443 …RL* HapCertVerifyOpensslUtils::GetCrlBySignedCertIssuer(STACK_OF(X509_CRL)* crls, const X509* cert) in GetCrlBySignedCertIssuer()
[all …]
Dhap_verify_openssl_utils.cpp100 X509* cert = PKCS7_cert_from_signer_info(p7, signInfo); in GetCertChains() local
212 X509* cert = pkcs7Context.certChains[signInfoNum][0]; in VerifySignInfo() local
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_pfx.c27 static int32_t CmGetAppCertChain(X509 *cert, STACK_OF(X509) *caCert, struct AppCert *appCert) in CmGetAppCertChain()
87 X509 *cert = NULL; in CmParsePkcs12Cert() local
/base/security/crypto_framework/frameworks/js/napi/certificate/src/
Dnapi_x509_certificate.cpp46 HcfX509Certificate *cert; member
140 HcfX509Certificate *cert = context->certClass->GetX509Cert(); in VerifyExecute() local
158 HcfX509Certificate *cert = context->certClass->GetX509Cert(); in GetEncodedExecute() local
273 HcfX509Certificate *cert = GetX509Cert(); in GetPublicKey() local
315 HcfX509Certificate *cert = GetX509Cert(); in CheckValidityWithDate() local
326 HcfX509Certificate *cert = GetX509Cert(); in GetVersion() local
336 HcfX509Certificate *cert = GetX509Cert(); in GetSerialNumber() local
350 HcfX509Certificate *cert = GetX509Cert(); in GetIssuerName() local
373 HcfX509Certificate *cert = GetX509Cert(); in GetSubjectName() local
396 HcfX509Certificate *cert = GetX509Cert(); in GetNotBeforeTime() local
[all …]
/base/startup/hvb/libhvb/src/cert/
Dhvb_cert.c96 struct hvb_cert *cert, const char *const *hash_ptn_list, in hash_image_init_desc()
173 static enum hvb_errno _hvb_cert_payload_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_payload_parser()
193 static enum hvb_errno _hvb_cert_signature_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_signature_parser()
222 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser()
354 static enum hvb_errno _check_rollback_index(struct hvb_ops *ops, struct hvb_cert *cert, struct hvb_… in _check_rollback_index()
387 struct hvb_cert cert = {0}; in cert_init_desc() local
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/
Dhks_api_test.cpp167 struct HksBlob cert[] = { { sizeof(certData), certData } }; variable
186 struct HksBlob cert[] = { { 0, nullptr }, { 0, nullptr }, { 0, nullptr }, { 0, nullptr } }; variable
210 struct HksBlob cert[] = { variable
237 struct HksBlob cert[] = { variable
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dtrusted_root_ca_test.cpp90 X509* cert = nullptr; variable
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dpkcs7_context.h55 for (auto cert : certChain) { in ~Pkcs7Context() local
/base/startup/hvb/libhvb/src/footer/
Dhvb_footer.c75 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct… in _load_cert()
/base/security/huks/frameworks/huks_standard/main/core/src/
Dhks_verifier.c150 static X509 *GetX509FormatCert(const struct HksCertInfo *cert) in GetX509FormatCert()
179 static int32_t VerifySignature(const struct HksCertInfo *cert, const struct HksCertInfo *issuerCert) in VerifySignature()
392 static int32_t GetKeyDescriptionSeqValue(const struct HksCertInfo *cert, uint8_t **data, uint32_t *… in GetKeyDescriptionSeqValue()
577 struct HksCertInfo *cert = &(certsInfo[i]); in InitCertChainInfo() local
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dtrusted_root_ca.cpp107 X509* cert = HapCertVerifyOpensslUtils::GetX509CertFromPemString(jsonPair.second); in GetTrustedRootCAFromJson() local
Dhap_crl_manager.cpp173 bool HapCrlManager::CrlCheck(X509* cert, X509_CRL* targetCrl, Pkcs7Context& pkcs7Context) in CrlCheck()
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
Dfs_hvb.c206 static int FsHvbGetCert(struct hvb_cert *cert, char *devName, struct hvb_verified_data *vd) in FsHvbGetCert()
366 static int FsHvbConstructVerityTarget(DmVerityTarget *target, char *devName, struct hvb_cert *cert) in FsHvbConstructVerityTarget()
430 struct hvb_cert cert = {0}; in FsHvbCreateVerityTarget() local
/base/security/crypto_framework/frameworks/certificate/
Dx509_crl.c101 static bool IsRevoked(HcfCrl *self, const HcfCertificate *cert) in IsRevoked()
213 static HcfResult GetRevokedCertWithCert(HcfX509Crl *self, HcfX509Certificate *cert, HcfX509CrlEntry… in GetRevokedCertWithCert()
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_sign.h36 X509 *cert; member
/base/security/crypto_framework/plugin/openssl_plugin/certificate/src/
Dx509_crl_openssl.c79 static X509 *GetX509FromCertificate(const HcfCertificate *cert) in GetX509FromCertificate()
94 static bool IsRevoked(HcfX509CrlSpi *self, const HcfCertificate *cert) in IsRevoked()
378 static HcfResult GetRevokedCertWithCert(HcfX509CrlSpi *self, HcfX509Certificate *cert, in GetRevokedCertWithCert()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_query.c387 X509 *cert = InitCertContext(certData->data, certData->size); in GetSysCertAlias() local
431 X509 *cert = InitCertContext(certData->data, certData->size); in CmGetCertSubjectName() local
/base/update/updater/test/unittest/package/
Dpkg_verify_unittest.cpp131 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in TestOpensslUtilFailed() local
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c174 X509 *cert = InitCertContext(cInfo->certInfo.data, cInfo->certInfo.size); in GetInfoFromCertData() local
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts337 cert: Uint8Array; property
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_verify.c368 static int GetCertTypeBySourceName(const TrustAppCert *cert) in GetCertTypeBySourceName()
655 mbedtls_x509_crt *cert = APPV_MALLOC(sizeof(mbedtls_x509_crt)); in ParseCertGetPk() local
841 mbedtls_x509_crt cert; in LoadCertAndCmpDest() local
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_attest.c471 static int32_t IsValidAttestCert(struct HksAttestCert *cert) in IsValidAttestCert()
512 static void ParseAttestCert(const struct HksBlob *devCert, struct HksAttestCert *cert) in ParseAttestCert()
1344 struct HksBlob cert = { 0, NULL }; in FormatCertToBuf() local

12