botan v1.13.4 (2023-03-01T00:35:38Z)
Dub
Repo
PathValidationRestrictions
botan
cert
x509
x509path
Specifies restrictions on the PKIX path validation
static if
(
BOTAN_HAS_X509_CERTIFICATES
)
struct
PathValidationRestrictions {
this
(bool require_rev, size_t key_strength, bool ocsp_all, int max_cert_chain_length);
this
(bool require_rev, size_t minimum_key_strength, bool ocsp_all_intermediates, RBTreeRef!string trusted_hashes, int max_cert_chain_length);
int
maxCertChainLength
[@property getter];
int
maxCertChainLength
[@property setter];
bool
requireRevocationInformation
();
bool
ocspAllIntermediates
();
const
(
RBTree
!
string
)
trustedHashes
();
size_t
minimumKeyStrength
();
}
Constructors
this
this
(bool require_rev, size_t key_strength, bool ocsp_all, int max_cert_chain_length)
this
this
(bool require_rev, size_t minimum_key_strength, bool ocsp_all_intermediates, RBTreeRef!string trusted_hashes, int max_cert_chain_length)
Members
Functions
minimumKeyStrength
size_t
minimumKeyStrength
()
Undocumented in source. Be warned that the author may not have intended to support it.
ocspAllIntermediates
bool
ocspAllIntermediates
()
Undocumented in source. Be warned that the author may not have intended to support it.
requireRevocationInformation
bool
requireRevocationInformation
()
Undocumented in source. Be warned that the author may not have intended to support it.
trustedHashes
const
(
RBTree
!
string
)
trustedHashes
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
maxCertChainLength
int
maxCertChainLength
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
maxCertChainLength
int
maxCertChainLength
[@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
botan
cert
x509
x509path
functions
checkChain
findCrlsFor
findIssuingCert
x509PathValidate
structs
PathValidationRestrictions
PathValidationResult
Specifies restrictions on the PKIX path validation