Options to KeyChain::makeCertificate() . More...
#include <key-chain.hpp>

Public Attributes | |
| name::Component | issuerId = Certificate::DEFAULT_ISSUER_ID |
| Certificate name IssuerId component. More... | |
| optional< uint64_t > | version |
| Certificate name version component. More... | |
| time::milliseconds | freshnessPeriod = 1_h |
| Certificate packet FreshnessPeriod. More... | |
| optional< ValidityPeriod > | validity |
| Certificate ValidityPeriod. More... | |
Options to KeyChain::makeCertificate() .
Definition at line 39 of file key-chain.hpp.
| name::Component ndn::security::MakeCertificateOptions::issuerId = Certificate::DEFAULT_ISSUER_ID |
Certificate name IssuerId component.
Default is "NA".
Definition at line 46 of file key-chain.hpp.
Referenced by ndn::security::v2::parseLocatorUri().
| optional<uint64_t> ndn::security::MakeCertificateOptions::version |
Certificate name version component.
Default is deriving from current timestamp using the logic of Name::appendVersion() .
Definition at line 53 of file key-chain.hpp.
Referenced by ndn::security::v2::parseLocatorUri().
| time::milliseconds ndn::security::MakeCertificateOptions::freshnessPeriod = 1_h |
Certificate packet FreshnessPeriod.
As required by the certificate format, this must be positive. Setting this to zero or negative causes std::invalid_argument exception.
Default is 1 hour.
Definition at line 63 of file key-chain.hpp.
Referenced by ndn::security::v2::parseLocatorUri().
| optional<ValidityPeriod> ndn::security::MakeCertificateOptions::validity |
Certificate ValidityPeriod.
It isn't an error to specify a ValidityPeriod that does not include the current time or has zero duration, but the certificate won't be valid.
Default is a ValidityPeriod from now until 365 days later.
Definition at line 73 of file key-chain.hpp.
Referenced by ndn::security::v2::parseLocatorUri().