Struct sequoia_openpgp::cert::bundle::ComponentBundle [−][src]
pub struct ComponentBundle<C> { /* fields omitted */ }
Expand description
A certificate component and its associated signatures.
See the module level documentation for a detailed description.
Implementations
Changes the key’s parts tag to PublicParts
.
Changes the key’s parts tag to PublicParts
.
Changes the key’s parts tag to SecretParts
.
Changes the key’s parts tag to SecretParts
.
Changes the key’s parts tag to UnspecifiedParts
.
Changes the key’s parts tag to UnspecifiedParts
.
Changes the key’s role tag to PrimaryRole
.
Changes the key’s role tag to PrimaryRole
.
Changes the key’s role tag to SubordinateRole
.
Changes the key’s role tag to SubordinateRole
.
Changes the key’s role tag to UnspecifiedRole
.
Changes the key’s role tag to UnspecifiedRole
.
Returns a reference to the bundle’s component.
Examples
// Display some information about any unknown components. for u in cert.unknowns() { eprintln!(" - {:?}", u.component()); }
pub fn binding_signature<T>(
&self,
policy: &dyn Policy,
t: T
) -> Result<&Signature> where
T: Into<Option<SystemTime>>,
[src]
pub fn binding_signature<T>(
&self,
policy: &dyn Policy,
t: T
) -> Result<&Signature> where
T: Into<Option<SystemTime>>,
[src]Returns the active binding signature at time t
.
The active binding signature is the most recent, non-revoked
self-signature that is valid according to the policy
and
alive at time t
(creation time <= t
, t < expiry
). If
there are multiple such signatures then the signatures are
ordered by their MPIs interpreted as byte strings.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); // Display information about each User ID's current active // binding signature (the `time` parameter is `None`), if any. for ua in cert.userids() { eprintln!("{:?}", ua.binding_signature(p, None)); }
Returns the component’s self-signatures.
The signatures are validated, and they are sorted by their creation time, most recent first.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for (i, ka) in cert.keys().enumerate() { eprintln!("Key #{} ({}) has {:?} self signatures", i, ka.fingerprint(), ka.bundle().self_signatures().len()); }
Returns the component’s third-party certifications.
The signatures are not validated. They are sorted by their creation time, most recent first.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for ua in cert.userids() { eprintln!("User ID {} has {:?} unverified, third-party certifications", String::from_utf8_lossy(ua.userid().value()), ua.bundle().certifications().len()); }
Returns the component’s revocations that were issued by the certificate holder.
The revocations are validated, and they are sorted by their creation time, most recent first.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for u in cert.userids() { eprintln!("User ID {} has {:?} revocation certificates.", String::from_utf8_lossy(u.userid().value()), u.bundle().self_revocations().len()); }
Returns the component’s revocations that were issued by other certificates.
The revocations are not validated. They are sorted by their creation time, most recent first.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for u in cert.userids() { eprintln!("User ID {} has {:?} unverified, third-party revocation certificates.", String::from_utf8_lossy(u.userid().value()), u.bundle().other_revocations().len()); }
Returns all of the component’s Attestation Key Signatures.
This feature is experimental.
The signatures are validated, and they are sorted by their creation time, most recent first.
A certificate owner can use Attestation Key Signatures to attest to third party certifications. Currently, only userid and user attribute certifications can be attested. See Section 5.2.3.30 of RFC 4880bis for details.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for (i, uid) in cert.userids().enumerate() { eprintln!("UserID #{} ({:?}) has {:?} attestation key signatures", i, uid.email(), uid.attestations().count()); }
Returns all of the component’s signatures.
Only the self-signatures are validated. The signatures are sorted first by type, then by creation time. The self revocations come first, then the self signatures, then any key attestation signatures, certifications, and third-party revocations coming last. This function may return additional types of signatures that could be associated to this component.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); for (i, ka) in cert.keys().enumerate() { eprintln!("Key #{} ({}) has {:?} signatures", i, ka.fingerprint(), ka.signatures().count()); }
Returns a reference to the key.
This is just a type-specific alias for
ComponentBundle::component
.
Examples
// Display some information about the keys. for ka in cert.keys() { eprintln!(" - {:?}", ka.key()); }
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]Returns the subkey’s revocation status at time t
.
A subkey is revoked at time t
if:
-
There is a live revocation at time
t
that is newer than all live self signatures at timet
, or -
There is a hard revocation (even if it is not live at time
t
, and even if there is a newer self-signature).
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this subkey is revoked; it does not imply anything about the Cert or other components.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); // Display the subkeys' revocation status. for ka in cert.keys().subkeys() { eprintln!(" Revocation status of {}: {:?}", ka.fingerprint(), ka.revocation_status(p, None)); }
Returns a reference to the User ID.
This is just a type-specific alias for
ComponentBundle::component
.
Examples
// Display some information about the User IDs. for ua in cert.userids() { eprintln!(" - {:?}", ua.userid()); }
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]Returns the User ID’s revocation status at time t
.
A User ID is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User ID is revoked; it does not imply anything about the Cert or other components.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); // Display the User IDs' revocation status. for ua in cert.userids() { eprintln!(" Revocation status of {}: {:?}", String::from_utf8_lossy(ua.userid().value()), ua.revocation_status(p, None)); }
Returns a reference to the User Attribute.
This is just a type-specific alias for
ComponentBundle::component
.
Examples
// Display some information about the User Attributes for ua in cert.user_attributes() { eprintln!(" - {:?}", ua.user_attribute()); }
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]
pub fn revocation_status<T>(
&self,
policy: &dyn Policy,
t: T
) -> RevocationStatus<'_> where
T: Into<Option<SystemTime>>,
[src]Returns the User Attribute’s revocation status at time t
.
A User Attribute is revoked at time t
if:
- There is a live revocation at time
t
that is newer than all live self signatures at timet
.
Note: Certs and subkeys have different criteria from User IDs and User Attributes.
Note: this only returns whether this User Attribute is revoked; it does not imply anything about the Cert or other components.
Examples
use openpgp::policy::StandardPolicy; let p = &StandardPolicy::new(); // Display the User Attributes' revocation status. for (i, ua) in cert.user_attributes().enumerate() { eprintln!(" Revocation status of User Attribute #{}: {:?}", i, ua.revocation_status(p, None)); }
Returns a reference to the unknown component.
This is just a type-specific alias for
ComponentBundle::component
.
Examples
// Display some information about the User Attributes for u in cert.unknowns() { eprintln!(" - {:?}", u.unknown()); }
Trait Implementations
impl<P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, PrimaryRole>>> for &KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, SubordinateRole>>> for &KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
impl<P> From<&'_ ComponentBundle<Key<P, UnspecifiedRole>>> for &KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]Performs the conversion.
impl<R> From<&'_ ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
impl<R> From<&'_ ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, PrimaryRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]Performs the conversion.
impl<R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
impl<R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<PublicParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl<R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
impl<R> From<&'_ ComponentBundle<Key<SecretParts, R>>> for &KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, SubordinateRole>>> for &KeyBundle<UnspecifiedParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for &KeyBundle<UnspecifiedParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, PrimaryRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
impl<R> From<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
impl<R> From<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<PublicParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, SubordinateRole>>> for &KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<&'_ ComponentBundle<Key<UnspecifiedParts, UnspecifiedRole>>> for &KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, PrimaryRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, SubordinateRole>>> for KeyBundle<P, UnspecifiedRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, PrimaryRole> where
P: KeyParts,
[src]Performs the conversion.
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]
impl<P> From<ComponentBundle<Key<P, UnspecifiedRole>>> for KeyBundle<P, SubordinateRole> where
P: KeyParts,
[src]Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<ComponentBundle<Key<PublicParts, PrimaryRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
impl<R> From<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
impl<R> From<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]
impl From<ComponentBundle<Key<PublicParts, SubordinateRole>>> for KeyBundle<SecretParts, UnspecifiedRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, PrimaryRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]
impl From<ComponentBundle<Key<PublicParts, UnspecifiedRole>>> for KeyBundle<SecretParts, SubordinateRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<ComponentBundle<Key<SecretParts, PrimaryRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]
impl<R> From<ComponentBundle<Key<SecretParts, R>>> for KeyBundle<UnspecifiedParts, R> where
R: KeyRole,
[src]Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]
impl From<ComponentBundle<Key<SecretParts, SubordinateRole>>> for KeyBundle<PublicParts, UnspecifiedRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, PrimaryRole>
[src]Performs the conversion.
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]
impl From<ComponentBundle<Key<SecretParts, UnspecifiedRole>>> for KeyBundle<PublicParts, SubordinateRole>
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
impl<R> From<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]
impl<R> From<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<PublicParts, R> where
R: KeyRole,
[src]Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<R> TryFrom<&'_ ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
impl<R> TryFrom<&'_ ComponentBundle<Key<PublicParts, R>>> for &KeyBundle<SecretParts, R> where
R: KeyRole,
[src]impl<R> TryFrom<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
impl<R> TryFrom<&'_ ComponentBundle<Key<UnspecifiedParts, R>>> for &KeyBundle<SecretParts, R> where
R: KeyRole,
[src]impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
impl<R> TryFrom<ComponentBundle<Key<PublicParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]
impl<R> TryFrom<ComponentBundle<Key<UnspecifiedParts, R>>> for KeyBundle<SecretParts, R> where
R: KeyRole,
[src]Auto Trait Implementations
impl<C> RefUnwindSafe for ComponentBundle<C> where
C: RefUnwindSafe,
impl<C> Send for ComponentBundle<C> where
C: Send,
impl<C> Sync for ComponentBundle<C> where
C: Sync,
impl<C> Unpin for ComponentBundle<C> where
C: Unpin,
impl<C> UnwindSafe for ComponentBundle<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self