retdec
Classes | Public Attributes | List of all members
retdec::fileformat::Certificate Class Reference

#include <certificate.h>

Collaboration diagram for retdec::fileformat::Certificate:
Collaboration graph
[legend]

Classes

struct  Attributes
 

Public Member Functions

Getters
const std::string & getValidSince () const
 
const std::string & getValidUntil () const
 
const std::string & getPublicKey () const
 
const std::string & getPublicKeyAlgorithm () const
 
const std::string & getSignatureAlgorithm () const
 
const std::string & getSerialNumber () const
 
const std::string & getSha1Digest () const
 
const std::string & getSha256Digest () const
 
const std::string & getRawSubject () const
 
const std::string & getRawIssuer () const
 
const Certificate::AttributesgetSubject () const
 
const Certificate::AttributesgetIssuer () const
 

Public Attributes

std::string validSince
 
std::string validUntil
 
std::string publicKey
 
std::string publicKeyAlgo
 
std::string signatureAlgo
 
std::string serialNumber
 
std::string sha1Digest
 
std::string sha256Digest
 
std::string subjectRaw
 
std::string issuerRaw
 
Attributes subject
 
Attributes issuer
 

Detailed Description

One certificate

Member Function Documentation

◆ getIssuer()

const Certificate::Attributes & retdec::fileformat::Certificate::getIssuer ( ) const

Get issuer of certificate in form of attributes

Returns
Issuer of certificate

◆ getPublicKey()

const std::string & retdec::fileformat::Certificate::getPublicKey ( ) const

Get public key of the certificate

Returns
Public key

◆ getPublicKeyAlgorithm()

const std::string & retdec::fileformat::Certificate::getPublicKeyAlgorithm ( ) const

Get algorithm of public key of the certificate

Returns
Public key algorithm

◆ getRawIssuer()

const std::string & retdec::fileformat::Certificate::getRawIssuer ( ) const

Get issuer of certificate in form of raw string

Returns
Issuer of certificate

◆ getRawSubject()

const std::string & retdec::fileformat::Certificate::getRawSubject ( ) const

Get subject of certificate in form of raw string

Returns
Subject of certificate

◆ getSerialNumber()

const std::string & retdec::fileformat::Certificate::getSerialNumber ( ) const

Get serial number of the certificate

Returns
Serial number

◆ getSha1Digest()

const std::string & retdec::fileformat::Certificate::getSha1Digest ( ) const

Get SHA1 digest of the certificate

Returns
SHA1 digest

◆ getSha256Digest()

const std::string & retdec::fileformat::Certificate::getSha256Digest ( ) const

Get SHA256 digest of the certificate

Returns
SHA256 digest

◆ getSignatureAlgorithm()

const std::string & retdec::fileformat::Certificate::getSignatureAlgorithm ( ) const

Get signature algorithm of the certificate

Returns
Signature algorithm

◆ getSubject()

const Certificate::Attributes & retdec::fileformat::Certificate::getSubject ( ) const

Get subject of certificate in form of attributes

Returns
Subject of certificate

◆ getValidSince()

const std::string & retdec::fileformat::Certificate::getValidSince ( ) const

Get date since when is certificate valid

Returns
Date since when is certificate valid

◆ getValidUntil()

const std::string & retdec::fileformat::Certificate::getValidUntil ( ) const

Get date until when is certificate valid

Returns
Date until when is certificate valid

Member Data Documentation

◆ issuer

Attributes retdec::fileformat::Certificate::issuer

◆ issuerRaw

std::string retdec::fileformat::Certificate::issuerRaw

◆ publicKey

std::string retdec::fileformat::Certificate::publicKey

◆ publicKeyAlgo

std::string retdec::fileformat::Certificate::publicKeyAlgo

◆ serialNumber

std::string retdec::fileformat::Certificate::serialNumber

◆ sha1Digest

std::string retdec::fileformat::Certificate::sha1Digest

◆ sha256Digest

std::string retdec::fileformat::Certificate::sha256Digest

◆ signatureAlgo

std::string retdec::fileformat::Certificate::signatureAlgo

◆ subject

Attributes retdec::fileformat::Certificate::subject

◆ subjectRaw

std::string retdec::fileformat::Certificate::subjectRaw

◆ validSince

std::string retdec::fileformat::Certificate::validSince

◆ validUntil

std::string retdec::fileformat::Certificate::validUntil

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