25 #define SSL_X509_RDN_OID_MAP(XX) \ 26 XX(COMMON_NAME, 2, 5, 4, 3) \ 27 XX(SURNAME, 2, 5, 4, 4) \ 28 XX(SERIAL_NUMBER, 2, 5, 4, 5) \ 29 XX(COUNTRY_NAME, 2, 5, 4, 6) \ 30 XX(LOCALITY_NAME, 2, 5, 4, 7) \ 31 XX(STATE_OR_PROVINCE_NAME, 2, 5, 4, 8) \ 32 XX(STREET_ADDRESS, 2, 5, 4, 9) \ 33 XX(ORGANIZATION_NAME, 2, 5, 4, 10) \ 34 XX(ORGANIZATIONAL_UNIT_NAME, 2, 5, 4, 11) \ 35 XX(TITLE, 2, 5, 4, 12) \ 36 XX(BUSINESS_CATEGORY, 2, 5, 4, 15) \ 37 XX(POSTAL_ADDRESS, 2, 5, 4, 16) \ 38 XX(POSTAL_CODE, 2, 5, 4, 17) \ 39 XX(GIVEN_NAME, 2, 5, 4, 42) \ 40 XX(GENERATION_QUALIFIER, 2, 5, 4, 44) \ 41 XX(X500_UNIQUE_IDENTIFIER, 2, 5, 4, 45) \ 42 XX(DN_QUALIFIER, 2, 5, 4, 46) \ 43 XX(PSEUDONYM, 2, 5, 4, 65) 63 #define XX(tag, a, b, c, d) tag, #define MAX(a, b)
Definition: spiffs_nucleus.h:541
virtual String getName(DN dn, RDN rdn) const =0
Retrieve an X.509 distinguished name component.
Various types of fingerprint.
Definition: Fingerprints.h:27
virtual bool getFingerprint(Fingerprint::Type type, Fingerprint &fingerprint) const =0
Obtain certificate fingerprint.
RDN
Relative Distinguished Name type identifying a name component.
Definition: Certificate.h:62
Type
SSL Certificate fingerprint type.
Definition: Fingerprints.h:31
The String class.
Definition: WString.h:136
Implemented by SSL adapter to handle certificate operations.
Definition: Certificate.h:48
size_t printTo(Print &p) const
Debugging print support.
DN
Distinguished Name type.
Definition: Certificate.h:54
Provides formatted output to stream.
Definition: Print.h:36
#define SMING_DEPRECATED
Definition: sming_attr.h:30
String toString(Certificate::RDN rdn)
Obtain a string describing the given name component.
virtual ~Certificate()
Definition: Certificate.h:69
#define SSL_X509_RDN_OID_MAP(XX)
X509 Relative Distinguished Name type.
Definition: Certificate.h:25