BLOG | DOCUMENTATION | TRAC

Home --> Documentations --> PJLIB Reference

pj_ssl_cert_info Struct Reference
[Secure socket I/O]

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

Detailed Description

Describe structure of certificate info.


Field Documentation

# of entry

struct { ... } * pj_ssl_cert_info::entry

Subject alt name entry

Flag if validity date/time use GMT

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

One line subject, fields are separated by slash.

struct { ... } pj_ssl_cert_info::issuer

Issuer

Serial number, array of octets, first index is MSB

Subject alternative name extension

struct { ... } pj_ssl_cert_info::subject

Subject

pj_ssl_cert_name_type pj_ssl_cert_info::type

Name type

Validity

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.