Struct rustls::WebPKIVerifier[][src]

pub struct WebPKIVerifier {
    pub time: fn() -> Result<Time, TLSError>,
}
Expand description

Default ServerCertVerifier, see the trait impl for more information.

Fields

time: fn() -> Result<Time, TLSError>

time provider

Implementations

Create a new WebPKIVerifier

Returns the signature verification methods supported by webpki.

Trait Implementations

Will verify the certificate is valid in the following ways:

  • Signed by a trusted RootCertStore CA
  • Not Expired
  • Valid for DNS entry
  • OCSP data is present

Verify a signature allegedly by the given server certificate. Read more

Verify a signature allegedly by the given server certificate. Read more

Return the list of SignatureSchemes that this verifier will handle, in verify_tls12_signature and verify_tls13_signature calls. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.