diff options
author | Alexander Bluhm <[email protected]> | 2017-04-28 14:43:08 +0200 |
---|---|---|
committer | Alexander Bluhm <[email protected]> | 2017-04-30 23:01:04 +0200 |
commit | 17afb2681aa704d8241f4dcaeb949d806ba8df09 (patch) | |
tree | cc121843296d867ce9fe2d90c93649e608cb31e2 /src/lib/pubkey/pk_algs.h | |
parent | 29cc6bebe132a34f882d450b35a69bf71bb3e27b (diff) |
Generate private RSA key with OpenSSL.
Implement RSA private key generation with RSA_generate_key_ex().
Make PK_Key_Generation_Test iterate over all providers.
Diffstat (limited to 'src/lib/pubkey/pk_algs.h')
-rw-r--r-- | src/lib/pubkey/pk_algs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/pubkey/pk_algs.h b/src/lib/pubkey/pk_algs.h index 04248459b..5deded423 100644 --- a/src/lib/pubkey/pk_algs.h +++ b/src/lib/pubkey/pk_algs.h @@ -33,7 +33,12 @@ load_private_key(const AlgorithmIdentifier& alg_id, BOTAN_DLL std::unique_ptr<Private_Key> create_private_key(const std::string& algo_name, RandomNumberGenerator& rng, - const std::string& algo_params = ""); + const std::string& algo_params = "", + const std::string& provider = ""); + +BOTAN_DLL std::vector<std::string> +probe_provider_private_key(const std::string& algo_name, + const std::vector<std::string> possible); } |