3#include <vanetza/common/runtime.hpp>
4#include <vanetza/security/v2/basic_elements.hpp>
5#include <vanetza/security/backend_cryptopp.hpp>
6#include <vanetza/security/v3/certificate.hpp>
7#include <vanetza/security/v3/certificate_provider.hpp>
17
18
19
20
21
22
23
27 NaiveCertificateProvider(
const Runtime&);
30
31
32
36
37
38
42
43
44
48
49
50
54
55
56
60
61
62
67
68
69
73
74
75
79
80
81
82
86
87
88
89
94 const ecdsa256::
KeyPair m_own_key_pair;
boost::optional< HashedId8 > calculate_digest() const
A very simplistic certificate provider.
void sign_authorization_ticket(Certificate &certificate)
sign an authorization ticket
const ecdsa256::KeyPair & aa_key_pair()
get root key (same for all instances)
Certificate generate_root_certificate(const std::string &subject_name)
generate a root certificate
Certificate generate_aa_certificate(const std::string &subject_name)
generate a authorization authority certificate
const Certificate & own_certificate() override
get own certificate for signing
Certificate generate_authorization_ticket()
generate an authorization ticket
const Certificate & root_certificate()
get root certificate (same for all instances)
const PrivateKey & own_private_key() override
get own private key
const ecdsa256::KeyPair & root_key_pair()
get root key (same for all instances)
const Certificate & aa_certificate()
get ticket signer certificate (same for all instances)
Compressed_Lsb_Y_0 specified in TS 103 097 v1.2.1 in section 4.2.5.
Compressed_Lsb_Y_1 specified in TS 103 097 v1.2.1 in section 4.2.5.
Uncompressed specified in TS 103 097 v1.2.1 in section 4.2.5.