Home
last modified time | relevance | path

Searched refs:p12 (Results 1 - 3 of 3) sorted by relevance

/developtools/hapsigner/hapsigntool_cpp/utils/src/
H A Dkey_store_helper.cpp100 void KeyStoreHelper::KeyPairFree(X509* cert, PKCS12* p12, BIO* bioOut, const std::string& Message) in KeyPairFree() argument
109 PKCS12_free(p12); in KeyPairFree()
110 p12 = nullptr; in KeyPairFree()
221 * To fit java generated p12 files.
228 int KeyStoreHelper::FindKeyPair(PKCS12* p12, const std::string& alias, char* keyPwd, in FindKeyPair() argument
237 if ((safes = PKCS12_unpack_authsafes(p12)) == NULL) { in FindKeyPair()
367 PKCS12* p12 = nullptr; in WriteKeyStore() local
371 KeyPairFree(cert, p12, bioOut, "The key pair pointer is null"); in WriteKeyStore()
376 KeyPairFree(cert, p12, bioOut, "initialize x509 structure failed"); in WriteKeyStore()
380 if (CreatePKCS12(&p12, keyStorePat in WriteKeyStore()
407 CreatePKCS12(PKCS12** p12, const std::string& charsStorePath, char* keyStorePwd, char* keyPwd, const std::string& charsAlias, EVP_PKEY* evpPkey, X509* cert) CreatePKCS12() argument
446 PKCS12* p12 = nullptr; ReadKeyStore() local
472 Pkcs12PasswordParse(PKCS12* p12, const char* keyStorePwd, const std::string& keyStoreFile) Pkcs12PasswordParse() argument
557 PKCS12* p12 = NULL; CreatePKCS12() local
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/unittest/generateKeyPair/
H A Dgenerate_keypair_test.cpp67 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
96 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
125 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
178 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
215 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
280 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
309 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
339 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
371 std::string keystoreFile = "./generateKeyPair/OpenHarmony99999.p12"; in HWTEST_F()
401 std::string keystoreFile = "./generateKeyPair/OpenHarmony.p12"; in HWTEST_F()
475 PKCS12* p12 = nullptr; HWTEST_F() local
501 PKCS12* p12 = nullptr; HWTEST_F() local
537 PKCS12* p12 = nullptr; HWTEST_F() local
561 PKCS12* p12 = nullptr; HWTEST_F() local
584 PKCS12* p12 = nullptr; HWTEST_F() local
622 PKCS12* p12 = nullptr; HWTEST_F() local
723 PKCS12* p12 = nullptr; HWTEST_F() local
748 PKCS12* p12 = nullptr; HWTEST_F() local
773 PKCS12* p12 = nullptr; HWTEST_F() local
[all...]
/developtools/hapsigner/hapsigntool_cpp/utils/include/
H A Dkey_store_helper.h45 int FindKeyPair(PKCS12* p12, const std::string& alias, char* keyPwd, char* keyStorePwd,
50 int Pkcs12PasswordParse(PKCS12* p12, const char* keyStorePwd, const std::string& keyStoreFile);
51 int CreatePKCS12(PKCS12** p12, const std::string& charsStorePath, char* keyStorePwd,
71 void KeyPairFree(X509* cert, PKCS12* p12, BIO* bioOut, const std::string& Message);

Completed in 4 milliseconds