Home
last modified time | relevance | path

Searched refs:PEM_encode (Results 1 – 25 of 100) sorted by relevance

1234

/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/cli/
H A Dpubkey.cpp87 output() << Botan::PKCS8::PEM_encode(*key); in go()
91 output() << Botan::PKCS8::PEM_encode(*key, rng(), pass, pbe_millis, pbe); in go()
229 { updated_key << Botan::PKCS8::PEM_encode(*key); } in go()
231 { updated_key << Botan::PKCS8::PEM_encode(*key, rng(), passphrase); } in go()
331 output() << Botan::X509::PEM_encode(*key); in go()
353 output() << Botan::PKCS8::PEM_encode(*key); in go()
391 output() << ec_group.PEM_encode(); in go()
506 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
513 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
531 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
[all …]
H A Dx509.cpp73 output() << cert->PEM_encode() << "\n"; in go()
145 output() << new_cert.PEM_encode(); in go()
352 output() << cert.PEM_encode(); in go()
409 output() << req.PEM_encode(); in go()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/cli/
H A Dpubkey.cpp87 output() << Botan::PKCS8::PEM_encode(*key); in go()
91 output() << Botan::PKCS8::PEM_encode(*key, rng(), pass, pbe_millis, pbe); in go()
229 { updated_key << Botan::PKCS8::PEM_encode(*key); } in go()
231 { updated_key << Botan::PKCS8::PEM_encode(*key, rng(), passphrase); } in go()
331 output() << Botan::X509::PEM_encode(*key); in go()
353 output() << Botan::PKCS8::PEM_encode(*key); in go()
391 output() << ec_group.PEM_encode(); in go()
506 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
513 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
531 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
[all …]
H A Dx509.cpp73 output() << cert->PEM_encode() << "\n"; in go()
145 output() << new_cert.PEM_encode(); in go()
352 output() << cert.PEM_encode(); in go()
409 output() << req.PEM_encode(); in go()
/dports/security/botan2/Botan-2.18.2/src/cli/
H A Dpubkey.cpp87 output() << Botan::PKCS8::PEM_encode(*key); in go()
91 output() << Botan::PKCS8::PEM_encode(*key, rng(), pass, pbe_millis, pbe); in go()
229 { updated_key << Botan::PKCS8::PEM_encode(*key); } in go()
231 { updated_key << Botan::PKCS8::PEM_encode(*key, rng(), passphrase); } in go()
331 output() << Botan::X509::PEM_encode(*key); in go()
353 output() << Botan::PKCS8::PEM_encode(*key); in go()
391 output() << ec_group.PEM_encode(); in go()
506 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
513 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
531 output() << grp.PEM_encode(Botan::DL_Group::ANSI_X9_42); in go()
[all …]
H A Dx509.cpp73 output() << cert->PEM_encode() << "\n"; in go()
145 output() << new_cert.PEM_encode(); in go()
352 output() << cert.PEM_encode(); in go()
409 output() << req.PEM_encode(); in go()
/dports/security/botan110/Botan-1.10.17/src/pubkey/
H A Dpkcs8.h42 BOTAN_DLL std::string PEM_encode(const Private_Key& key);
70 BOTAN_DLL std::string PEM_encode(const Private_Key& key,
90 pipe.write(PKCS8::PEM_encode(key));
117 pipe.write(PKCS8::PEM_encode(key, rng, pass, pbe_algo));
H A Dpkcs8.cpp150 std::string PEM_encode(const Private_Key& key) in PEM_encode() function
186 std::string PEM_encode(const Private_Key& key, in PEM_encode() function
192 return PEM_encode(key); in PEM_encode()
253 DataSource_Memory source(PEM_encode(key)); in copy_key()
H A Dx509_key.h36 BOTAN_DLL std::string PEM_encode(const Public_Key& key);
92 pipe.write(X509::PEM_encode(key));
H A Dx509_key.cpp34 std::string PEM_encode(const Public_Key& key) in PEM_encode() function
106 DataSource_Memory source(PEM_encode(key)); in copy_key()
/dports/security/botan110/Botan-1.10.17/doc/examples/
H A Ddsa_kgen.cpp37 pub << X509::PEM_encode(key); in main()
39 priv << PKCS8::PEM_encode(key); in main()
41 priv << PKCS8::PEM_encode(key, rng, argv[1]); in main()
H A Drsa_kgen.cpp42 pub << X509::PEM_encode(key); in main()
45 priv << PKCS8::PEM_encode(key); in main()
47 priv << PKCS8::PEM_encode(key, rng, argv[2]); in main()
H A Dpkcs10.cpp30 key_file << PKCS8::PEM_encode(priv_key, rng, argv[1]); in main()
43 req_file << req.PEM_encode(); in main()
H A Dgen_certs.cpp71 cert_out << cert.PEM_encode() << "\n"; in save_pair()
76 key_out << PKCS8::PEM_encode(key, rng, password); in save_pair()
78 key_out << PKCS8::PEM_encode(key); in save_pair()
H A Dself_sig.cpp41 priv_key << PKCS8::PEM_encode(key, rng, argv[1]); in main()
60 cert_file << cert.PEM_encode(); in main()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/tests/
H A Dtest_c25519.cpp92 …const std::string a_priv_pem = Botan::PKCS8::PEM_encode(a_priv_gen, Test::rng(), a_pass, pbe_time); in run()
93 …const std::string b_priv_pem = Botan::PKCS8::PEM_encode(b_priv_gen, Test::rng(), b_pass, pbe_time); in run()
102 const std::string a_priv_pem = Botan::PKCS8::PEM_encode(a_priv_gen); in run()
103 const std::string b_priv_pem = Botan::PKCS8::PEM_encode(b_priv_gen); in run()
114 const std::string a_pub_pem = Botan::X509::PEM_encode(*a_priv); in run()
115 const std::string b_pub_pem = Botan::X509::PEM_encode(*b_priv); in run()
H A Dtest_dl_group.cpp61 const std::string pem1 = orig.PEM_encode(Botan::DL_Group::ANSI_X9_42); in test_dl_encoding()
62 const std::string pem2 = orig.PEM_encode(Botan::DL_Group::ANSI_X9_57); in test_dl_encoding()
63 const std::string pem3 = orig.PEM_encode(Botan::DL_Group::PKCS_3); in test_dl_encoding()
72 group1.PEM_encode(Botan::DL_Group::ANSI_X9_42), in test_dl_encoding()
/dports/security/botan2/Botan-2.18.2/src/tests/
H A Dtest_c25519.cpp92 …const std::string a_priv_pem = Botan::PKCS8::PEM_encode(a_priv_gen, Test::rng(), a_pass, pbe_time); in run()
93 …const std::string b_priv_pem = Botan::PKCS8::PEM_encode(b_priv_gen, Test::rng(), b_pass, pbe_time); in run()
102 const std::string a_priv_pem = Botan::PKCS8::PEM_encode(a_priv_gen); in run()
103 const std::string b_priv_pem = Botan::PKCS8::PEM_encode(b_priv_gen); in run()
114 const std::string a_pub_pem = Botan::X509::PEM_encode(*a_priv); in run()
115 const std::string b_pub_pem = Botan::X509::PEM_encode(*b_priv); in run()
H A Dtest_dl_group.cpp61 const std::string pem1 = orig.PEM_encode(Botan::DL_Group::ANSI_X9_42); in test_dl_encoding()
62 const std::string pem2 = orig.PEM_encode(Botan::DL_Group::ANSI_X9_57); in test_dl_encoding()
63 const std::string pem3 = orig.PEM_encode(Botan::DL_Group::PKCS_3); in test_dl_encoding()
72 group1.PEM_encode(Botan::DL_Group::ANSI_X9_42), in test_dl_encoding()
/dports/security/softhsm2/softhsm-2.6.1/src/bin/keyconv/
H A Dsofthsm2-keyconv-botan.cpp115 priv_file << Botan::PKCS8::PEM_encode(*priv_key); in save_rsa_pkcs8()
119 …priv_file << Botan::PKCS8::PEM_encode(*priv_key, *rng, file_pin, std::chrono::milliseconds(300), "… in save_rsa_pkcs8()
191 priv_file << Botan::PKCS8::PEM_encode(*priv_key); in save_dsa_pkcs8()
195 …priv_file << Botan::PKCS8::PEM_encode(*priv_key, *rng, file_pin, std::chrono::milliseconds(300), "… in save_dsa_pkcs8()
/dports/editors/encryptpad/EncryptPad-0.5.0.1/deps/botan/src/lib/pubkey/
H A Dx509_key.cpp28 std::string PEM_encode(const Public_Key& key) in PEM_encode() function
100 DataSource_Memory source(PEM_encode(key)); in copy_key()
H A Dpkcs8.cpp148 std::string PEM_encode(const Private_Key& key) in PEM_encode() function
230 std::string PEM_encode(const Private_Key& key, in PEM_encode() function
237 return PEM_encode(key); in PEM_encode()
400 DataSource_Memory source(PEM_encode(key)); in copy_key()
/dports/security/botan2/Botan-2.18.2/src/lib/pubkey/
H A Dx509_key.cpp28 std::string PEM_encode(const Public_Key& key) in PEM_encode() function
100 DataSource_Memory source(PEM_encode(key)); in copy_key()
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/botan/src/lib/pubkey/
H A Dx509_key.cpp28 std::string PEM_encode(const Public_Key& key) in PEM_encode() function
100 DataSource_Memory source(PEM_encode(key)); in copy_key()
/dports/security/botan110/Botan-1.10.17/checks/
H A Decdsa.cpp170 std::string pem_encoded_key = PKCS8::PEM_encode(priv_key); in test_ec_sign()
230 rsa_priv_key << PKCS8::PEM_encode(rsa_key); in test_create_pkcs8()
237 priv_key << PKCS8::PEM_encode(key); in test_create_pkcs8()
252 priv_key << PKCS8::PEM_encode(key); in test_create_and_verify()
289 std::string key_odd_oid_str = PKCS8::PEM_encode(key_odd_oid); in test_create_and_verify()

1234