diff options
author | lloyd <[email protected]> | 2006-06-23 06:53:56 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-06-23 06:53:56 +0000 |
commit | aa0b566aa76b0105e256bbf788ce7a71ea1f60e3 (patch) | |
tree | 74d5f6a22a13fa4c8002b1dbd45e86c13ea2100e /include/crl_ent.h | |
parent | 4248def7fa3a7ef45e27b971e83a383ada68031a (diff) |
Use accessor functions for CRL_Entry, instead of having public data
Diffstat (limited to 'include/crl_ent.h')
-rw-r--r-- | include/crl_ent.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/crl_ent.h b/include/crl_ent.h index 510c4f5a8..9d9163172 100644 --- a/include/crl_ent.h +++ b/include/crl_ent.h @@ -19,11 +19,17 @@ class CRL_Entry : public ASN1_Object void encode_into(class DER_Encoder&) const; void decode_from(class BER_Decoder&); + MemoryVector<byte> serial_number() const { return serial; } + X509_Time expire_time() const { return time; } + CRL_Code reason_code() const { return reason; } + + CRL_Entry(); + CRL_Entry(const X509_Certificate&, CRL_Code = UNSPECIFIED); + + private: MemoryVector<byte> serial; X509_Time time; CRL_Code reason; - CRL_Entry(); - CRL_Entry(const X509_Certificate&, CRL_Code = UNSPECIFIED); }; /************************************************* |