Chromium Embedded Framework (CEF)  122.1.5+gf09a9bc+chromium-122.0.6261.29
CefX509Certificate Class Referenceabstract

Class representing a X.509 certificate. More...

#include "include/cef_x509_certificate.h"

Inheritance diagram for CefX509Certificate:
CefBaseRefCounted

Public Types

typedef std::vector< CefRefPtr< CefBinaryValue > > IssuerChainBinaryList
 

Public Member Functions

virtual CefRefPtr< CefX509CertPrincipalGetSubject ()=0
 Returns the subject of the X.509 certificate. More...
 
virtual CefRefPtr< CefX509CertPrincipalGetIssuer ()=0
 Returns the issuer of the X.509 certificate. More...
 
virtual CefRefPtr< CefBinaryValueGetSerialNumber ()=0
 Returns the DER encoded serial number for the X.509 certificate. More...
 
virtual CefBaseTime GetValidStart ()=0
 Returns the date before which the X.509 certificate is invalid. More...
 
virtual CefBaseTime GetValidExpiry ()=0
 Returns the date after which the X.509 certificate is invalid. More...
 
virtual CefRefPtr< CefBinaryValueGetDEREncoded ()=0
 Returns the DER encoded data for the X.509 certificate. More...
 
virtual CefRefPtr< CefBinaryValueGetPEMEncoded ()=0
 Returns the PEM encoded data for the X.509 certificate. More...
 
virtual size_t GetIssuerChainSize ()=0
 Returns the number of certificates in the issuer chain. More...
 
virtual void GetDEREncodedIssuerChain (IssuerChainBinaryList &chain)=0
 Returns the DER encoded data for the certificate issuer chain. More...
 
virtual void GetPEMEncodedIssuerChain (IssuerChainBinaryList &chain)=0
 Returns the PEM encoded data for the certificate issuer chain. More...
 
- Public Member Functions inherited from CefBaseRefCounted
virtual void AddRef () const =0
 Called to increment the reference count for the object. More...
 
virtual bool Release () const =0
 Called to decrement the reference count for the object. More...
 
virtual bool HasOneRef () const =0
 Returns true if the reference count is 1. More...
 
virtual bool HasAtLeastOneRef () const =0
 Returns true if the reference count is at least 1. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CefBaseRefCounted
virtual ~CefBaseRefCounted ()
 

Detailed Description

Class representing a X.509 certificate.

Member Typedef Documentation

◆ IssuerChainBinaryList

Member Function Documentation

◆ GetDEREncoded()

virtual CefRefPtr<CefBinaryValue> CefX509Certificate::GetDEREncoded ( )
pure virtual

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

◆ GetDEREncodedIssuerChain()

virtual void CefX509Certificate::GetDEREncodedIssuerChain ( IssuerChainBinaryList chain)
pure virtual

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 empty string.

◆ GetIssuer()

virtual CefRefPtr<CefX509CertPrincipal> CefX509Certificate::GetIssuer ( )
pure virtual

Returns the issuer of the X.509 certificate.

◆ GetIssuerChainSize()

virtual size_t CefX509Certificate::GetIssuerChainSize ( )
pure virtual

Returns the number of certificates in the issuer chain.

If 0, the certificate is self-signed.

◆ GetPEMEncoded()

virtual CefRefPtr<CefBinaryValue> CefX509Certificate::GetPEMEncoded ( )
pure virtual

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

◆ GetPEMEncodedIssuerChain()

virtual void CefX509Certificate::GetPEMEncodedIssuerChain ( IssuerChainBinaryList chain)
pure virtual

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 empty string.

◆ GetSerialNumber()

virtual CefRefPtr<CefBinaryValue> CefX509Certificate::GetSerialNumber ( )
pure virtual

Returns the DER encoded serial number for the X.509 certificate.

The value possibly includes a leading 00 byte.

◆ GetSubject()

virtual CefRefPtr<CefX509CertPrincipal> CefX509Certificate::GetSubject ( )
pure virtual

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.

◆ GetValidExpiry()

virtual CefBaseTime CefX509Certificate::GetValidExpiry ( )
pure virtual

Returns the date after which the X.509 certificate is invalid.

CefBaseTime.GetTimeT() will return 0 if no date was specified.

◆ GetValidStart()

virtual CefBaseTime CefX509Certificate::GetValidStart ( )
pure virtual

Returns the date before which the X.509 certificate is invalid.

CefBaseTime.GetTimeT() will return 0 if no date was specified.


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