The OpenD Programming Language

cef_x509certificate_t

Structure representing a X.509 certificate.

Members

Variables

base
cef_base_ref_counted_t base;

Base structure.

get_derencoded
cef_binary_value_t* function(cef_x509certificate_t* self) nothrow get_derencoded;

Returns the DER encoded data for the X.509 certificate.

get_derencoded_issuer_chain
void function(cef_x509certificate_t* self, size_t* chainCount, cef_binary_value_t** chain) nothrow get_derencoded_issuer_chain;

Returns the DER encoded data for the certificate issuer chain. If we failed to encode a certificate in the chain it is still present in the array but is an NULL string.

get_issuer
cef_x509cert_principal_t* function(cef_x509certificate_t* self) nothrow get_issuer;

Returns the issuer of the X.509 certificate.

get_issuer_chain_size
size_t function(cef_x509certificate_t* self) nothrow get_issuer_chain_size;

Returns the number of certificates in the issuer chain. If 0, the certificate is self-signed.

get_pemencoded
cef_binary_value_t* function(cef_x509certificate_t* self) nothrow get_pemencoded;

Returns the PEM encoded data for the X.509 certificate.

get_pemencoded_issuer_chain
void function(cef_x509certificate_t* self, size_t* chainCount, cef_binary_value_t** chain) nothrow get_pemencoded_issuer_chain;

Returns the PEM encoded data for the certificate issuer chain. If we failed to encode a certificate in the chain it is still present in the array but is an NULL string.

get_serial_number
cef_binary_value_t* function(cef_x509certificate_t* self) nothrow get_serial_number;

Returns the DER encoded serial number for the X.509 certificate. The value possibly includes a leading 00 byte.

get_subject
cef_x509cert_principal_t* function(cef_x509certificate_t* self) nothrow get_subject;

Returns the subject of the X.509 certificate. For HTTPS server certificates this represents the web server. The common name of the subject should match the host name of the web server.

get_valid_expiry
cef_basetime_t function(cef_x509certificate_t* self) nothrow get_valid_expiry;

Returns the date after which the X.509 certificate is invalid. CefBaseTime.GetTimeT() will return 0 if no date was specified.

get_valid_start
cef_basetime_t function(cef_x509certificate_t* self) nothrow get_valid_start;

Returns the date before which the X.509 certificate is invalid. CefBaseTime.GetTimeT() will return 0 if no date was specified.

Meta