struct

Beryl::Certificates::ChainVerification::Limits

Inherits Struct < Value < Object

The bounds on one verification, for chains from untrusted peers.

Constructors

new(*, largest_path_depth : Int32 = 8, largest_signature_check_count : Int32 = 100, largest_elapsed_time : Time::Span = 50.milliseconds, largest_presented_certificate_count : Int32 = 64, largest_presented_bytesize : Int32 = 65536, largest_name_constraint_comparison_count : Int64 = 250000_i64)
Source

Instance methods

largest_elapsed_time

Elapsed time for one verification.

Source
largest_name_constraint_comparison_count

Name constraint comparisons over the whole verification.

Source
largest_path_depth

Intermediates on one path (the plan's depth bound).

Source
largest_presented_bytesize

Bytes presented: the leaf and the intermediates.

Source
largest_presented_certificate_count

Certificates presented: the leaf and the intermediates.

Source
largest_signature_check_count

Signatures checked while building paths, the bound on candidates tried.

Source