aboutsummaryrefslogtreecommitdiffstats
path: root/src/pubkey/dl_algo/dl_algo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pubkey/dl_algo/dl_algo.h')
-rw-r--r--src/pubkey/dl_algo/dl_algo.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/pubkey/dl_algo/dl_algo.h b/src/pubkey/dl_algo/dl_algo.h
index 1fa99a49b..63875d27b 100644
--- a/src/pubkey/dl_algo/dl_algo.h
+++ b/src/pubkey/dl_algo/dl_algo.h
@@ -25,6 +25,8 @@ class BOTAN_DLL DL_Scheme_PublicKey : public virtual Public_Key
AlgorithmIdentifier algorithm_identifier() const;
+ MemoryVector<byte> x509_subject_public_key() const;
+
/**
* Get the DL domain parameters of this key.
* @return the DL domain parameters of this key
@@ -61,12 +63,6 @@ class BOTAN_DLL DL_Scheme_PublicKey : public virtual Public_Key
virtual DL_Group::Format group_format() const = 0;
/**
- * Get an X509 encoder for this key.
- * @return an encoder usable to encode this key.
- */
- X509_Encoder* x509_encoder() const;
-
- /**
* Get an X509 decoder for this key.
* @return an decoder usable to decode a DL key and store the
* values in this instance.