Chromium Embedded Framework (CEF)  139.0.1+gce106a3+chromium-139.0.7258.31
cef_certificate_util::ThumbprintsInfo Struct Reference

Structure populated by GetClientThumbprints(). More...

#include "include/wrapper/cef_certificate_util_win.h"

Public Member Functions

bool IsSignedAndValid () const
 True if one or more signatures exist and all are valid. More...
 
bool IsUnsignedOrValid () const
 True if unsigned, or if one or more signatures exist and all are valid. More...
 
bool IsSame (const ThumbprintsInfo &other, bool allow_unsigned) const
 True if this and |other| have the same signature status. More...
 
bool HasPrimaryThumbprint (const std::string &thumbprint) const
 True if a valid primary signature exists and it matches the specified |thumbprint|. More...
 

Public Attributes

bool has_signature = false
 True if a primary signature exists, irrespective of validity. More...
 
std::vector< std::string > valid_thumbprints
 Thumbprints for signatures, if any, that passed verification. More...
 
std::vector< std::string > invalid_thumbprints
 Thumbprints for signatures, if any, that failed verification. More...
 
std::wstring errors
 Errors (newline delimited) if any signatures failed verification. More...
 

Detailed Description

Structure populated by GetClientThumbprints().

Member Function Documentation

◆ HasPrimaryThumbprint()

bool cef_certificate_util::ThumbprintsInfo::HasPrimaryThumbprint ( const std::string &  thumbprint) const
inline

True if a valid primary signature exists and it matches the specified |thumbprint|.

◆ IsSame()

bool cef_certificate_util::ThumbprintsInfo::IsSame ( const ThumbprintsInfo other,
bool  allow_unsigned 
) const
inline

True if this and |other| have the same signature status.

If |allow_unsigned| is true then both may be unsigned. Otherwise, one or more signatures must exist, all must be valid, and the primary fingerprint must be the same for both.

◆ IsSignedAndValid()

bool cef_certificate_util::ThumbprintsInfo::IsSignedAndValid ( ) const
inline

True if one or more signatures exist and all are valid.

◆ IsUnsignedOrValid()

bool cef_certificate_util::ThumbprintsInfo::IsUnsignedOrValid ( ) const
inline

True if unsigned, or if one or more signatures exist and all are valid.

Member Data Documentation

◆ errors

std::wstring cef_certificate_util::ThumbprintsInfo::errors

Errors (newline delimited) if any signatures failed verification.

◆ has_signature

bool cef_certificate_util::ThumbprintsInfo::has_signature = false

True if a primary signature exists, irrespective of validity.

◆ invalid_thumbprints

std::vector<std::string> cef_certificate_util::ThumbprintsInfo::invalid_thumbprints

Thumbprints for signatures, if any, that failed verification.

Will not be populated if |verify_binary=true| was passed to GetClientThumbprints().

◆ valid_thumbprints

std::vector<std::string> cef_certificate_util::ThumbprintsInfo::valid_thumbprints

Thumbprints for signatures, if any, that passed verification.


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