Botan  1.11.15
Public Member Functions | Friends
Botan::Cert_Extension::CRL_Number Class Reference

#include <x509_ext.h>

Inheritance diagram for Botan::Cert_Extension::CRL_Number:
Botan::Certificate_Extension

List of all members.

Public Member Functions

CRL_Numbercopy () const
 CRL_Number ()
 CRL_Number (size_t n)
size_t get_crl_number () const
OID oid_of () const

Friends

class Extensions

Detailed Description

CRL Number Extension

Definition at line 301 of file x509_ext.h.


Constructor & Destructor Documentation

Definition at line 306 of file x509_ext.h.

Referenced by copy().

: has_value(false), crl_number(0) {}

Definition at line 307 of file x509_ext.h.

: has_value(true), crl_number(n) {}

Member Function Documentation

Make a copy of this extension

Returns:
copy of this

Implements Botan::Certificate_Extension.

Definition at line 569 of file x509_ext.cpp.

References CRL_Number().

   {
   if(!has_value)
      throw Invalid_State("CRL_Number::copy: Not set");
   return new CRL_Number(crl_number);
   }

Definition at line 559 of file x509_ext.cpp.

   {
   if(!has_value)
      throw Invalid_State("CRL_Number::get_crl_number: Not set");
   return crl_number;
   }
Returns:
OID representing this extension

Definition at line 74 of file x509_ext.cpp.

References Botan::OIDS::lookup(), and Botan::Certificate_Extension::oid_name().

Referenced by Botan::Extensions::encode_into().

   {
   return OIDS::lookup(oid_name());
   }

Friends And Related Function Documentation

friend class Extensions [friend, inherited]

Definition at line 51 of file x509_ext.h.


The documentation for this class was generated from the following files: