diff options
author | Jack Lloyd <[email protected]> | 2016-10-20 20:11:59 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-10-20 20:11:59 -0400 |
commit | bad4cafce3c592cddbbecd7c99b5f99a53815ff8 (patch) | |
tree | 50eeffe155deb4e873fff35b09a3acb20cc00cd9 /src/lib/pubkey/ecdsa | |
parent | d1817c9960f619b130388a570ed09ccbed568e2e (diff) | |
parent | d2fd41d1ea1ac6211705ba88de6828693a10c0b4 (diff) |
Merge GH #670 Improve Doxygen coverage
Diffstat (limited to 'src/lib/pubkey/ecdsa')
-rw-r--r-- | src/lib/pubkey/ecdsa/ecdsa.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/pubkey/ecdsa/ecdsa.h b/src/lib/pubkey/ecdsa/ecdsa.h index d9dcacd06..9fad4e921 100644 --- a/src/lib/pubkey/ecdsa/ecdsa.h +++ b/src/lib/pubkey/ecdsa/ecdsa.h @@ -22,7 +22,7 @@ class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey public: /** - * Construct a public key from a given public point. + * Create a public key from a given public point. * @param dom_par the domain parameters associated with this key * @param public_point the public point defining this key */ @@ -30,6 +30,11 @@ class BOTAN_DLL ECDSA_PublicKey : public virtual EC_PublicKey const PointGFp& public_point) : EC_PublicKey(dom_par, public_point) {} + /** + * Load a public key. + * @param alg_id the X.509 algorithm identifier + * @param key_bits X.509 subject public key info structure + */ ECDSA_PublicKey(const AlgorithmIdentifier& alg_id, const secure_vector<byte>& key_bits) : EC_PublicKey(alg_id, key_bits) {} @@ -78,7 +83,7 @@ class BOTAN_DLL ECDSA_PrivateKey : public ECDSA_PublicKey, EC_PrivateKey(alg_id, key_bits) {} /** - * Generate a new private key + * Create a private key. * @param rng a random number generator * @param domain parameters to used for this key * @param x the private key (if zero, generate a new random key) |