diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asn1_obj.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asn1_obj.h b/include/asn1_obj.h index 7bb6ac8a3..4397d2fc3 100644 --- a/include/asn1_obj.h +++ b/include/asn1_obj.h @@ -19,10 +19,15 @@ namespace Botan { class AlgorithmIdentifier : public ASN1_Object { public: + enum Encoding_Option { USE_NULL_PARAM }; + void encode_into(class DER_Encoder&) const; void decode_from(class BER_Decoder&); AlgorithmIdentifier() {} + AlgorithmIdentifier(const OID&, Encoding_Option); + AlgorithmIdentifier(const std::string&, Encoding_Option); + AlgorithmIdentifier(const OID&, const MemoryRegion<byte>&); AlgorithmIdentifier(const std::string&, const MemoryRegion<byte>&); |