pub struct RsaCrosscert { /* private fields */ }
Expand description

A RSA->Ed25519 cross-certificate

This kind of certificate is used in the channel handshake to prove that the Ed25519 identity key speaks on behalf of the RSA identity key.

(There is no converse type for certifying Ed25519 identity keys with RSA identity keys, since the RSA identity keys are too weak to trust.)

Implementations

Return the time at which this certificate becomes expired

Return true if the subject key in this certificate matches other

Decode a slice of bytes into an RSA crosscert.

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.

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 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.