diff options
author | lloyd <[email protected]> | 2012-06-01 04:59:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-06-01 04:59:27 +0000 |
commit | a597c5ac36f012f76814fcfc1523d956871c0c0c (patch) | |
tree | b2003fc6a5a5d0d228ab966e0da84d89d5dc9db3 /src/pubkey | |
parent | 63defdde855dca51d5db405cb97d9b7c9ba09332 (diff) |
Drop some deprecated functions
Diffstat (limited to 'src/pubkey')
-rw-r--r-- | src/pubkey/x509_key.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/pubkey/x509_key.h b/src/pubkey/x509_key.h index 4fe11a83f..14e5c9699 100644 --- a/src/pubkey/x509_key.h +++ b/src/pubkey/x509_key.h @@ -67,25 +67,6 @@ BOTAN_DLL Public_Key* load_key(const std::vector<byte>& enc); */ BOTAN_DLL Public_Key* copy_key(const Public_Key& key); -/** -* Encode a key into a pipe. -* @deprecated Use PEM_encode or BER_encode instead -* -* @param key the public key to encode -* @param pipe the pipe to feed the encoded key into -* @param encoding the encoding type to use -*/ -BOTAN_DEPRECATED("Use PEM_encode or BER_encode") -inline void encode(const Public_Key& key, - Pipe& pipe, - X509_Encoding encoding = PEM) - { - if(encoding == PEM) - pipe.write(X509::PEM_encode(key)); - else - pipe.write(X509::BER_encode(key)); - } - } } |