PcapPlusPlus
Next
|
#include <X509Decoder.h>
Public Types | |
enum | Value : uint8_t { CommonName , Surname , SerialNumber , Country , Locality , StateOrProvince , Organization , OrganizationalUnit , Title , GivenName , Initials , Pseudonym , GenerationQualifier , DnQualifier , DomainComponent , EmailAddress , PostalCode , StreetAddress , BusinessCategory , Unknown } |
Define enum types and the corresponding int values. More... | |
Public Member Functions | |
std::string | toString () const |
std::string | getShortName () const |
std::string | getOidValue () const |
Static Public Member Functions | |
static X520DistinguishedName | fromOidValue (const Asn1ObjectIdentifier &value) |
Represents a distinguished name in an X.509 certificate
enum pcpp::X520DistinguishedName::Value : uint8_t |
Define enum types and the corresponding int values.
|
static |
Creates an X520DistinguishedName from an OID value
[in] | value | The ASN.1 object identifier |
std::string pcpp::X520DistinguishedName::getOidValue | ( | ) | const |
std::string pcpp::X520DistinguishedName::getShortName | ( | ) | const |
Gets the short name (abbreviation) of the distinguished name
std::string pcpp::X520DistinguishedName::toString | ( | ) | const |