aboutsummaryrefslogtreecommitdiffstats
path: root/include/x509_ext.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/x509_ext.h')
-rw-r--r--include/x509_ext.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/x509_ext.h b/include/x509_ext.h
index b4049f16c..98aeee95a 100644
--- a/include/x509_ext.h
+++ b/include/x509_ext.h
@@ -20,11 +20,7 @@ namespace Botan {
class Certificate_Extension
{
public:
- void maybe_add(class DER_Encoder&) const;
-
OID oid_of() const;
- void make_critical() { critical = true; }
- bool is_critical() const { return critical; }
virtual Certificate_Extension* copy() const = 0;
@@ -32,15 +28,12 @@ class Certificate_Extension
virtual std::string config_id() const = 0;
virtual std::string oid_name() const = 0;
- Certificate_Extension() { critical = false; }
virtual ~Certificate_Extension() {}
protected:
friend class Extensions;
virtual bool should_encode() const { return true; }
virtual MemoryVector<byte> encode_inner() const = 0;
virtual void decode_inner(const MemoryRegion<byte>&) = 0;
- private:
- bool critical;
};
/*************************************************