uthenticode  2.0.1-19005f0
Public Member Functions | Static Public Attributes | Friends | List of all members
uthenticode::Certificate Class Reference

#include <uthenticode.h>

Public Member Functions

const std::string & get_subject () const
 
const std::string & get_issuer () const
 
const std::string & get_serial_number () const
 

Static Public Attributes

static constexpr unsigned long const default_xn_flags
 

Friends

class SignedData
 

Detailed Description

Exposes some details of an X.509 certificate or signature.

This is not a general-purpose accessor for an underlying OpenSSL object; it only exposes a few select fields for public consumption.

Member Function Documentation

◆ get_issuer()

const std::string& uthenticode::Certificate::get_issuer ( ) const
inline
Returns
the certificate issuer

◆ get_serial_number()

const std::string& uthenticode::Certificate::get_serial_number ( ) const
inline
Returns
the certificate's serial number, formatted as a hex string

◆ get_subject()

const std::string& uthenticode::Certificate::get_subject ( ) const
inline
Returns
the certificate subject

Friends And Related Function Documentation

◆ SignedData

friend class SignedData
friend

Member Data Documentation

◆ default_xn_flags

constexpr unsigned long const uthenticode::Certificate::default_xn_flags
staticconstexpr
Initial value:
=
XN_FLAG_RFC2253 | ASN1_STRFLGS_UTF8_CONVERT

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