aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/ec_dompar/ec_dompar.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-03-01 23:15:07 +0000
committerlloyd <[email protected]>2010-03-01 23:15:07 +0000
commitfebcffc5b0430566600018efbc8608b1df3a54d8 (patch)
treeebecf719ef42b801ff9688d94c6e3947b538e20e /src/pubkey/ec_dompar/ec_dompar.h
parent3fb831f2e24ec1e3d7f8902d4aa5adceaf366f01 (diff)
Add EC_Domain_Params::PEM_encode
Diffstat (limited to 'src/pubkey/ec_dompar/ec_dompar.h')
-rw-r--r--src/pubkey/ec_dompar/ec_dompar.h6
1 files changed, 6 insertions, 0 deletions
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
@@ -70,6 +70,12 @@ class BOTAN_DLL EC_Domain_Params
SecureVector<byte> 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
*/