retdec
include
retdec
fileformat
types
certificate_table
certificate.h
Go to the documentation of this file.
1
7
#ifndef RETDEC_FILEFORMAT_TYPES_CERTIFICATE_TABLE_CERTIFICATE_H
8
#define RETDEC_FILEFORMAT_TYPES_CERTIFICATE_TABLE_CERTIFICATE_H
9
10
#include <string>
11
12
namespace
retdec
{
13
namespace
fileformat
{
14
18
class
Certificate
19
{
20
public
:
21
struct
Attributes
22
{
23
std::string
country
;
24
std::string
organization
;
25
std::string
organizationalUnit
;
26
std::string
nameQualifier
;
27
std::string
state
;
28
std::string
commonName
;
29
std::string
serialNumber
;
30
std::string
locality
;
31
std::string
title
;
32
std::string
surname
;
33
std::string
givenName
;
34
std::string
initials
;
35
std::string
pseudonym
;
36
std::string
generationQualifier
;
37
std::string
emailAddress
;
38
};
39
public
:
40
std::string
validSince
;
41
std::string
validUntil
;
42
std::string
publicKey
;
43
std::string
publicKeyAlgo
;
44
std::string
signatureAlgo
;
45
std::string
serialNumber
;
46
std::string
sha1Digest
;
47
std::string
sha256Digest
;
48
std::string
subjectRaw
;
49
std::string
issuerRaw
;
50
Attributes
subject
;
51
Attributes
issuer
;
52
53
public
:
56
const
std::string&
getValidSince
()
const
;
57
const
std::string&
getValidUntil
()
const
;
58
const
std::string&
getPublicKey
()
const
;
59
const
std::string&
getPublicKeyAlgorithm
()
const
;
60
const
std::string&
getSignatureAlgorithm
()
const
;
61
const
std::string&
getSerialNumber
()
const
;
62
const
std::string&
getSha1Digest
()
const
;
63
const
std::string&
getSha256Digest
()
const
;
64
const
std::string&
getRawSubject
()
const
;
65
const
std::string&
getRawIssuer
()
const
;
66
const
Certificate::Attributes
&
getSubject
()
const
;
67
const
Certificate::Attributes
&
getIssuer
()
const
;
69
};
70
71
}
// namespace fileformat
72
}
// namespace retdec
73
74
#endif
retdec::fileformat::Certificate
Definition:
certificate.h:19
retdec::fileformat::Certificate::getValidUntil
const std::string & getValidUntil() const
Definition:
certificate.cpp:33
retdec::fileformat::Certificate::issuer
Attributes issuer
Definition:
certificate.h:51
retdec::fileformat::Certificate::sha1Digest
std::string sha1Digest
Definition:
certificate.h:46
retdec::fileformat::Certificate::getPublicKey
const std::string & getPublicKey() const
Definition:
certificate.cpp:42
retdec::fileformat::Certificate::getSignatureAlgorithm
const std::string & getSignatureAlgorithm() const
Definition:
certificate.cpp:60
retdec::fileformat::Certificate::issuerRaw
std::string issuerRaw
Definition:
certificate.h:49
retdec::fileformat::Certificate::subjectRaw
std::string subjectRaw
Definition:
certificate.h:48
retdec::fileformat::Certificate::serialNumber
std::string serialNumber
Definition:
certificate.h:45
retdec::fileformat::Certificate::getSubject
const Certificate::Attributes & getSubject() const
Definition:
certificate.cpp:114
retdec::fileformat::Certificate::publicKeyAlgo
std::string publicKeyAlgo
Definition:
certificate.h:43
retdec::fileformat::Certificate::getRawSubject
const std::string & getRawSubject() const
Definition:
certificate.cpp:96
retdec::fileformat::Certificate::validUntil
std::string validUntil
Definition:
certificate.h:41
retdec::fileformat::Certificate::getIssuer
const Certificate::Attributes & getIssuer() const
Definition:
certificate.cpp:123
retdec::fileformat::Certificate::getSha256Digest
const std::string & getSha256Digest() const
Definition:
certificate.cpp:87
retdec::fileformat::Certificate::getSerialNumber
const std::string & getSerialNumber() const
Definition:
certificate.cpp:69
retdec::fileformat::Certificate::getSha1Digest
const std::string & getSha1Digest() const
Definition:
certificate.cpp:78
retdec::fileformat::Certificate::sha256Digest
std::string sha256Digest
Definition:
certificate.h:47
retdec::fileformat::Certificate::validSince
std::string validSince
Definition:
certificate.h:40
retdec::fileformat::Certificate::getRawIssuer
const std::string & getRawIssuer() const
Definition:
certificate.cpp:105
retdec::fileformat::Certificate::subject
Attributes subject
Definition:
certificate.h:50
retdec::fileformat::Certificate::getValidSince
const std::string & getValidSince() const
Definition:
certificate.cpp:24
retdec::fileformat::Certificate::publicKey
std::string publicKey
Definition:
certificate.h:42
retdec::fileformat::Certificate::getPublicKeyAlgorithm
const std::string & getPublicKeyAlgorithm() const
Definition:
certificate.cpp:51
retdec::fileformat::Certificate::signatureAlgo
std::string signatureAlgo
Definition:
certificate.h:44
fileformat
retdec
Definition:
archive_wrapper.h:19
retdec::fileformat::Certificate::Attributes
Definition:
certificate.h:22
retdec::fileformat::Certificate::Attributes::state
std::string state
Definition:
certificate.h:27
retdec::fileformat::Certificate::Attributes::locality
std::string locality
Definition:
certificate.h:30
retdec::fileformat::Certificate::Attributes::pseudonym
std::string pseudonym
Definition:
certificate.h:35
retdec::fileformat::Certificate::Attributes::organization
std::string organization
Definition:
certificate.h:24
retdec::fileformat::Certificate::Attributes::commonName
std::string commonName
Definition:
certificate.h:28
retdec::fileformat::Certificate::Attributes::emailAddress
std::string emailAddress
Definition:
certificate.h:37
retdec::fileformat::Certificate::Attributes::organizationalUnit
std::string organizationalUnit
Definition:
certificate.h:25
retdec::fileformat::Certificate::Attributes::surname
std::string surname
Definition:
certificate.h:32
retdec::fileformat::Certificate::Attributes::givenName
std::string givenName
Definition:
certificate.h:33
retdec::fileformat::Certificate::Attributes::initials
std::string initials
Definition:
certificate.h:34
retdec::fileformat::Certificate::Attributes::generationQualifier
std::string generationQualifier
Definition:
certificate.h:36
retdec::fileformat::Certificate::Attributes::title
std::string title
Definition:
certificate.h:31
retdec::fileformat::Certificate::Attributes::serialNumber
std::string serialNumber
Definition:
certificate.h:29
retdec::fileformat::Certificate::Attributes::nameQualifier
std::string nameQualifier
Definition:
certificate.h:26
retdec::fileformat::Certificate::Attributes::country
std::string country
Definition:
certificate.h:23
Generated on Tue Aug 8 2023 10:45:48 for retdec by
1.9.1