scclib
Stable Cloud Computing C++ Library
|
Subject alternative name. More...
#include <cert.h>
Public Member Functions | |
ExtSubjectAlternativeName (bool crit=false) | |
std::string | name () const |
Return the name of the extension. | |
virtual std::string | str (bool=false) const |
Print to string, optionally printing the value. | |
virtual void | parse () |
Parse value into the the local sub-class data. | |
virtual void | dump () |
Dump sub-class data into the value. | |
virtual bool | implemented () const |
Is this implemented (sub-classed)? More... | |
![]() | |
ExtBase (bool crit=false) | |
BasePtr | dump_seq () |
Dump the extension into an Extension sequence. | |
Static Public Member Functions | |
static bool | is_castable (ExtBasePtr b) |
static ExtSubjectAlternativeName & | cast (ExtBasePtr b) |
![]() | |
static ExtBasePtr | create (BasePtr) |
Create an extension. More... | |
static oid_value | find_oid (ExtType) |
Find the oid associated with the extension type. | |
Public Attributes | |
std::vector< GeneralName > | names |
Alternative names. | |
![]() | |
oid_value | oid |
The oid of the extension. | |
bool | critical |
Is the extension marked critical? If a CRL contains a critical extension that cannot be processed, it must not be used to determine the status of certificates. | |
BasePtr | value |
Parsed extension value. | |
Subject alternative name.
https://tools.ietf.org/html/rfc5280#section-4.2.1.6
SubjectAltName ::= GeneralNames
GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
|
inlinevirtual |
Is this implemented (sub-classed)?
If an extension is marked critical, but is unrecognized, it is not recommended for the service to proceed using the certificate.
Reimplemented from scc::crypto::ExtBase.