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/ecc_key/ecc_key.h | |
parent | d1817c9960f619b130388a570ed09ccbed568e2e (diff) | |
parent | d2fd41d1ea1ac6211705ba88de6828693a10c0b4 (diff) |
Merge GH #670 Improve Doxygen coverage
Diffstat (limited to 'src/lib/pubkey/ecc_key/ecc_key.h')
-rw-r--r-- | src/lib/pubkey/ecc_key/ecc_key.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lib/pubkey/ecc_key/ecc_key.h b/src/lib/pubkey/ecc_key/ecc_key.h index a8e77b895..ec6806931 100644 --- a/src/lib/pubkey/ecc_key/ecc_key.h +++ b/src/lib/pubkey/ecc_key/ecc_key.h @@ -29,9 +29,19 @@ namespace Botan { class BOTAN_DLL EC_PublicKey : public virtual Public_Key { public: + /** + * Create a public key. + * @param dom_par EC domain parameters + * @param pub_point public point on the curve + */ EC_PublicKey(const EC_Group& dom_par, const PointGFp& pub_point); + /** + * Load a public key. + * @param alg_id the X.509 algorithm identifier + * @param key_bits PKCS #8 structure + */ EC_PublicKey(const AlgorithmIdentifier& alg_id, const secure_vector<byte>& key_bits); |