pub struct IdentityPluginV1<C: Callbacks> { /* private fields */ }
Available on crate feature plugin only.
Expand description

An age plugin with an associated set of identities.

This struct implements Identity, enabling the plugin to decrypt a file with any identity in the set of identities.

Implementations

Creates an age plugin from a plugin name and a list of identities.

The list of identities will be filtered by the plugin name; identities that don’t match will be ignored.

Returns an error if the plugin’s binary cannot be found in $PATH.

Trait Implementations

Attempts to unwrap the given stanza with this identity. Read more

Attempts to unwrap any of the given stanzas, which are assumed to come from the same age file header, and therefore contain the same file key. 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 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.