aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_time.h
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-08-08 18:53:45 +0200
committerSimon Warta <[email protected]>2015-08-11 10:50:14 +0200
commitee415570876d8d91e99bab7dc7a14209419a93af (patch)
treebf53d44ab4f7c7a8e68787e963a0edaabcb0ded4 /src/lib/asn1/asn1_time.h
parentb2d31e4bc77c9bb707bdf5ad3f76882a07134721 (diff)
Explicitly fwd declase classes BER_Decoder, DER_Encoder
Diffstat (limited to 'src/lib/asn1/asn1_time.h')
-rw-r--r--src/lib/asn1/asn1_time.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/asn1/asn1_time.h b/src/lib/asn1/asn1_time.h
index f2b1c7975..313b26b06 100644
--- a/src/lib/asn1/asn1_time.h
+++ b/src/lib/asn1/asn1_time.h
@@ -19,8 +19,11 @@ namespace Botan {
class BOTAN_DLL X509_Time : public ASN1_Object
{
public:
- void encode_into(class DER_Encoder&) const override;
- void decode_from(class BER_Decoder&) override;
+ /// DER encode a X509_Time
+ void encode_into(DER_Encoder&) const override;
+
+ // Decode a BER encoded X509_Time
+ void decode_from(BER_Decoder&) override;
/// Return an internal string representation of the time
std::string to_string() const;