BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB Reference

Data Fields

unsigned version
 
pj_uint8_t serial_no [20]
 
struct {
   pj_str_t   cn
 
   pj_str_t   info
 
subject
 
struct {
   pj_str_t   cn
 
   pj_str_t   info
 
issuer
 
struct {
   pj_time_val   start
 
   pj_time_val   end
 
   pj_bool_t   gmt
 
validity
 
struct {
   unsigned   cnt
 
   struct {
      pj_ssl_cert_name_type   type
 
      pj_str_t   name
 
   }   entry
 
subj_alt_name
 
pj_str_t raw
 
struct {
   unsigned   cnt
 
   pj_str_t *   cert_raw
 
raw_chain
 

Detailed Description

Describe structure of certificate info.

Field Documentation

◆ cn

pj_str_t pj_ssl_cert_info::cn

Common name

◆ cnt

unsigned pj_ssl_cert_info::cnt

of entry

◆ end

pj_time_val pj_ssl_cert_info::end

Validity end

◆ entry

struct { ... } * pj_ssl_cert_info::entry

Subject alt name entry

◆ gmt

pj_bool_t pj_ssl_cert_info::gmt

Flag if validity date/time use GMT

◆ info

pj_str_t pj_ssl_cert_info::info

One line subject, fields are separated by slash, e.g: "CN=sample.org/OU=HRD"

One line subject, fields are separated by slash.

◆ issuer

struct { ... } pj_ssl_cert_info::issuer

Issuer

◆ name

pj_str_t pj_ssl_cert_info::name

The name

◆ raw

pj_str_t pj_ssl_cert_info::raw

Raw certificate in PEM format, only available for remote certificate.

◆ serial_no

pj_uint8_t pj_ssl_cert_info::serial_no[20]

Serial number, array of octets, first index is MSB

◆ start

pj_time_val pj_ssl_cert_info::start

Validity start

◆ subj_alt_name

struct { ... } pj_ssl_cert_info::subj_alt_name

Subject alternative name extension

◆ subject

struct { ... } pj_ssl_cert_info::subject

Subject

◆ type

pj_ssl_cert_name_type pj_ssl_cert_info::type

Name type

◆ validity

struct { ... } pj_ssl_cert_info::validity

Validity

◆ version

unsigned pj_ssl_cert_info::version

Certificate version


The documentation for this struct was generated from the following file:

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.