From febcffc5b0430566600018efbc8608b1df3a54d8 Mon Sep 17 00:00:00 2001 From: lloyd Date: Mon, 1 Mar 2010 23:15:07 +0000 Subject: Add EC_Domain_Params::PEM_encode --- src/pubkey/ec_dompar/ec_dompar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pubkey/ec_dompar/ec_dompar.h') diff --git a/src/pubkey/ec_dompar/ec_dompar.h b/src/pubkey/ec_dompar/ec_dompar.h index b2f1e5d7c..8700cf158 100644 --- a/src/pubkey/ec_dompar/ec_dompar.h +++ b/src/pubkey/ec_dompar/ec_dompar.h @@ -69,6 +69,12 @@ class BOTAN_DLL EC_Domain_Params */ SecureVector DER_encode(EC_Domain_Params_Encoding form) const; + /** + * Return the PEM encoding (always in explicit form) + * @return string containing PEM data + */ + std::string PEM_encode() const; + /** * Return domain parameter curve * @result domain parameter curve -- cgit v1.2.3