aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/asn1/asn1_obj.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/asn1/asn1_obj.h')
-rw-r--r--src/lib/asn1/asn1_obj.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/asn1/asn1_obj.h b/src/lib/asn1/asn1_obj.h
index d208ec78e..46707e23a 100644
--- a/src/lib/asn1/asn1_obj.h
+++ b/src/lib/asn1/asn1_obj.h
@@ -13,6 +13,9 @@
namespace Botan {
+class BER_Decoder;
+class DER_Encoder;
+
/**
* ASN.1 Type and Class Tags
*/
@@ -61,13 +64,13 @@ class BOTAN_DLL ASN1_Object
* Encode whatever this object is into to
* @param to the DER_Encoder that will be written to
*/
- virtual void encode_into(class DER_Encoder& to) const = 0;
+ virtual void encode_into(DER_Encoder& to) const = 0;
/**
* Decode whatever this object is from from
* @param from the BER_Decoder that will be read from
*/
- virtual void decode_from(class BER_Decoder& from) = 0;
+ virtual void decode_from(BER_Decoder& from) = 0;
virtual ~ASN1_Object() {}
};