diff options
author | Jack Lloyd <[email protected]> | 2016-12-05 22:27:45 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2016-12-05 22:27:45 -0500 |
commit | 29dc67bc1a24f69c64ba8054c17e50bfcce95641 (patch) | |
tree | 083cf29496d7a565dbf8cc97fdd2baa8792ebf02 /src/lib/pubkey/mce/mceliece.h | |
parent | 18336ab743a01f5378751746ea87ce86632da765 (diff) | |
parent | d56812d9a4ef8e2ba1fbac525ae11a2dc28fef14 (diff) |
Merge GH #757 Fix X509 and PKCS8 formatting functions for PK keys
Diffstat (limited to 'src/lib/pubkey/mce/mceliece.h')
-rw-r--r-- | src/lib/pubkey/mce/mceliece.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pubkey/mce/mceliece.h b/src/lib/pubkey/mce/mceliece.h index 2c4f38c33..0731e0c68 100644 --- a/src/lib/pubkey/mce/mceliece.h +++ b/src/lib/pubkey/mce/mceliece.h @@ -40,7 +40,7 @@ class BOTAN_DLL McEliece_PublicKey : public virtual Public_Key size_t key_length() const override; size_t estimated_strength() const override; - std::vector<byte> x509_subject_public_key() const override; + std::vector<byte> public_key_bits() const override; bool check_key(RandomNumberGenerator&, bool) const override { return true; } @@ -104,7 +104,7 @@ class BOTAN_DLL McEliece_PrivateKey : public virtual McEliece_PublicKey, inline u32bit get_codimension() const { return m_codimension; } - secure_vector<byte> pkcs8_private_key() const override; + secure_vector<byte> private_key_bits() const override; bool operator==(const McEliece_PrivateKey & other) const; |