Struct rccheck::Psk

source · []
pub struct Psk { /* private fields */ }
Expand description

The self-referencing struct.

Implementations

Provides limited immutable access to key_bytes. This method was generated because the contents of key_bytes are immutably borrowed by other fields.

Provides limited immutable access to key_bytes. This method was generated because the contents of key_bytes are immutably borrowed by other fields.

Provides an immutable reference to spki. This method was generated because spki is a tail field.

Provides an immutable reference to spki. This method was generated because spki is a tail field.

Provides a mutable reference to spki. This method was generated because spki is a tail field. No borrow_spki_mut function was generated because Rust’s borrow checker is currently unable to guarantee that such a method would be used safely.

Trait Implementations

end Ser/de A ClientCertVerifier that will ensure that every client provides a valid, expected certificate, without any name checking.

Returns true to enable the server to request a client certificate and false to skip requesting a client certificate. Defaults to true. Read more

Return Some(true) to require a client certificate and Some(false) to make client authentication optional. Return None to abort the connection. Defaults to Some(self.offer_client_auth()). Read more

Returns the subject names of the client authentication trust anchors to share with the client when requesting client authentication. Read more

Verify the end-entity certificate end_entity is valid for the and chains to at least one of the trust anchors in roots. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Ser/de

Serialize this value into the given Serde serializer. Read more

Verify the end-entity certificate end_entity is valid for the hostname dns_name and chains to at least one trust anchor. Read more

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

Returns true if Rustls should ask the server to send SCTs. 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

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more