PathValidationRestrictions.this

  1. this(bool require_rev, size_t key_strength, bool ocsp_all, int max_cert_chain_length)
    struct PathValidationRestrictions
    public
    this
    (,
    size_t key_strength = 80
    ,
    bool ocsp_all = false
    ,)
  2. this(bool require_rev, size_t minimum_key_strength, bool ocsp_all_intermediates, RBTreeRef!string trusted_hashes, int max_cert_chain_length)

Parameters

require_rev bool

if true, revocation information is required

key_strength size_t

is the minimum strength (in terms of operations, eg 80 means 2^80) of a signature. Signatures weaker than this are rejected. If more than 80, SHA-1 signatures are also rejected.

ocsp_all bool

where to use all intermediates

Meta