This package includes the SharkSSL lite library and header files.

Dependents:   WebSocket-Client-Example SharkMQ-LED-Demo

Embed: (wiki syntax)

« Back to documentation index

SharkSslCertDN Struct Reference

SharkSslCertDN Struct Reference
[Peer's certificate information]

Certificate Distinguished Name. More...

#include <SharkSSL.h>

Data Fields

const U8 * countryName
 ISO3166 country code.
const U8 * province
 State or Province.
const U8 * locality
 The city or town name.
const U8 * organization
 Organization Name (company or department)
const U8 * unit
 Organizational Unit (OU: department or organization unit)
const U8 * commonName
 Common Name is the Host + Domain Name (example: www.mycompany.com, where www is host and mycompany.com is Domain Name)
U8 provinceLen
 length in bytes of the field "country"
U8 localityLen
 length in bytes of the field "province"
U8 organizationLen
 length in bytes of the field "locality"
U8 unitLen
 length in bytes of the field "organization"
U8 commonNameLen
 length in bytes of the field "unit"
U8 emailAddressLen
 length in bytes of the field "common name"

Detailed Description

Certificate Distinguished Name.

Example from certcheck.c:

See also:
SharkSslCertInfo

Definition at line 702 of file SharkSSL.h.


Field Documentation

const U8* commonName

Common Name is the Host + Domain Name (example: www.mycompany.com, where www is host and mycompany.com is Domain Name)

Definition at line 712 of file SharkSSL.h.

length in bytes of the field "unit"

Definition at line 720 of file SharkSSL.h.

const U8* countryName

ISO3166 country code.

Definition at line 704 of file SharkSSL.h.

length in bytes of the field "common name"

Definition at line 721 of file SharkSSL.h.

const U8* locality

The city or town name.

Definition at line 706 of file SharkSSL.h.

length in bytes of the field "province"

Definition at line 717 of file SharkSSL.h.

const U8* organization

Organization Name (company or department)

Definition at line 707 of file SharkSSL.h.

length in bytes of the field "locality"

Definition at line 718 of file SharkSSL.h.

const U8* province

State or Province.

Definition at line 705 of file SharkSSL.h.

length in bytes of the field "country"

Definition at line 716 of file SharkSSL.h.

const U8* unit

Organizational Unit (OU: department or organization unit)

Definition at line 708 of file SharkSSL.h.

U8 unitLen

length in bytes of the field "organization"

Definition at line 719 of file SharkSSL.h.