aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 06:00:16 +0000
committerlloyd <[email protected]>2006-06-25 06:00:16 +0000
commit10a5f69fba2b5e5b5a93343c3e3f7a1e79879894 (patch)
treef28b52101b96c05e6a1cb57338fa0511c7e27237 /include
parentd545d786824e4f07df027cb3bc91962cee63d31c (diff)
Remove a function in Certificate_Extension that was declared but
never defined. Remove all current support in Certificate_Extension for marking extensions critical - it was basically unused. Will be replaced by something that uses config_id() along with the user-modifiable policy settings.
Diffstat (limited to 'include')
-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;
};
/*************************************************