Chromium Embedded Framework (CEF)  117.1.0+ga287baf+chromium-117.0.5938.62
CefX509CertPrincipal Class Referenceabstract

Class representing the issuer or subject field of an X.509 certificate. More...

#include "include/cef_x509_certificate.h"

Inheritance diagram for CefX509CertPrincipal:
CefBaseRefCounted

Public Member Functions

virtual CefString GetDisplayName ()=0
 Returns a name that can be used to represent the issuer. More...
 
virtual CefString GetCommonName ()=0
 Returns the common name. More...
 
virtual CefString GetLocalityName ()=0
 Returns the locality name. More...
 
virtual CefString GetStateOrProvinceName ()=0
 Returns the state or province name. More...
 
virtual CefString GetCountryName ()=0
 Returns the country name. More...
 
virtual void GetOrganizationNames (std::vector< CefString > &names)=0
 Retrieve the list of organization names. More...
 
virtual void GetOrganizationUnitNames (std::vector< CefString > &names)=0
 Retrieve the list of organization unit names. 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 the issuer or subject field of an X.509 certificate.

Member Function Documentation

◆ GetCommonName()

virtual CefString CefX509CertPrincipal::GetCommonName ( )
pure virtual

Returns the common name.

◆ GetCountryName()

virtual CefString CefX509CertPrincipal::GetCountryName ( )
pure virtual

Returns the country name.

◆ GetDisplayName()

virtual CefString CefX509CertPrincipal::GetDisplayName ( )
pure virtual

Returns a name that can be used to represent the issuer.

It tries in this order: Common Name (CN), Organization Name (O) and Organizational Unit Name (OU) and returns the first non-empty one found.

◆ GetLocalityName()

virtual CefString CefX509CertPrincipal::GetLocalityName ( )
pure virtual

Returns the locality name.

◆ GetOrganizationNames()

virtual void CefX509CertPrincipal::GetOrganizationNames ( std::vector< CefString > &  names)
pure virtual

Retrieve the list of organization names.

◆ GetOrganizationUnitNames()

virtual void CefX509CertPrincipal::GetOrganizationUnitNames ( std::vector< CefString > &  names)
pure virtual

Retrieve the list of organization unit names.

◆ GetStateOrProvinceName()

virtual CefString CefX509CertPrincipal::GetStateOrProvinceName ( )
pure virtual

Returns the state or province name.


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