diff options
author | Jeffrey Walton <noloader@gmail.com> | 2018-12-24 17:17:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-24 17:17:32 -0500 |
commit | d62674b56145b6988cd0a9d8a658dff7cb6d8ec8 (patch) | |
tree | a30dc4f20697961ba0f347da15a112e38d88cfab /asn.h | |
parent | 2ba3c1fc73ff490fa335ae649f3ab42e762369f8 (diff) | |
download | cryptopp-git-d62674b56145b6988cd0a9d8a658dff7cb6d8ec8.tar.gz |
Add ed25519 (GH #764, PR #767)
Add ed25519
Diffstat (limited to 'asn.h')
-rw-r--r-- | asn.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -201,6 +201,10 @@ public: /// </pre>
void BERDecodeAndCheck(BufferedTransformation &bt) const;
+ bool Empty() const {
+ return m_values.empty();
+ }
+
const std::vector<word32>& GetValues() const {
return m_values;
}
@@ -413,7 +417,7 @@ public: virtual void DEREncodePublicKey(BufferedTransformation &bt) const =0;
};
-/// \brief Encodes and decodesprivateKeyInfo
+/// \brief Encodes and Decodes privateKeyInfo
class CRYPTOPP_DLL PKCS8PrivateKey : public ASN1CryptoMaterial<PrivateKey>
{
public:
|