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

Builder for Ed25519Cert.

Implementations

Available on crate feature encode only.

Set the approximate expiration time for this certificate.

(The time will be rounded forward to the nearest hour after the epoch.)

Available on crate feature encode only.

Set the signing key to be included with this certificate.

This is optional: you don’t need to include the signing key at all. If you do, it must match the key that you actually use to sign the certificate.

Available on crate feature encode only.

Remove any signing key previously set on this Ed25519CertConstructor.

Available on crate feature encode only.

Encode a certificate into a new vector, signing the result with keypair.

This function exists in lieu of a build() function, since we have a rule that we don’t produce an Ed25519Cert except if the certificate is known to be valid.

Type of the certificate; recognized values are in certtype::*

The key or object being certified.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. 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.

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