Type Definition sequoia_openpgp::cert::amalgamation::key::SubordinateKeyAmalgamation [−][src]
type SubordinateKeyAmalgamation<'a, P> = KeyAmalgamation<'a, P, SubordinateRole, ()>;
A subordinate key amalgamation.
A specialized version of KeyAmalgamation
.
Implementations
impl<'a, P> SubordinateKeyAmalgamation<'a, P> where
P: KeyParts,
[src]
impl<'a, P> SubordinateKeyAmalgamation<'a, P> where
P: KeyParts,
[src]pub fn parts_into_public(self) -> SubordinateKeyAmalgamation<'a, PublicParts>
[src]
pub fn parts_into_public(self) -> SubordinateKeyAmalgamation<'a, PublicParts>
[src]Changes the key’s parts tag to PublicParts
.
pub fn parts_as_public(
&'a self
) -> &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]
pub fn parts_as_public(
&'a self
) -> &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]Changes the key’s parts tag to PublicParts
.
pub fn parts_into_secret(
self
) -> Result<SubordinateKeyAmalgamation<'a, SecretParts>>
[src]
pub fn parts_into_secret(
self
) -> Result<SubordinateKeyAmalgamation<'a, SecretParts>>
[src]Changes the key’s parts tag to SecretParts
.
pub fn parts_as_secret(
&'a self
) -> Result<&'a SubordinateKeyAmalgamation<'a, SecretParts>>
[src]
pub fn parts_as_secret(
&'a self
) -> Result<&'a SubordinateKeyAmalgamation<'a, SecretParts>>
[src]Changes the key’s parts tag to SecretParts
.
pub fn parts_into_unspecified(
self
) -> SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
pub fn parts_into_unspecified(
self
) -> SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]Changes the key’s parts tag to UnspecifiedParts
.
pub fn parts_as_unspecified(
&'a self
) -> &SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
pub fn parts_as_unspecified(
&'a self
) -> &SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]Changes the key’s parts tag to UnspecifiedParts
.
Trait Implementations
impl<'a> From<&'a KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
impl<'a> From<&'a KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]fn from(p: &'a SubordinateKeyAmalgamation<'a, PublicParts>) -> Self
[src]
fn from(p: &'a SubordinateKeyAmalgamation<'a, PublicParts>) -> Self
[src]Performs the conversion.
impl<'a> From<&'a KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]
impl<'a> From<&'a KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]fn from(p: &'a SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]
fn from(p: &'a SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]Performs the conversion.
impl<'a> From<&'a KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
impl<'a> From<&'a KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]fn from(p: &'a SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]
fn from(p: &'a SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]Performs the conversion.
impl<'a> From<&'a KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]
impl<'a> From<&'a KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, PublicParts>
[src]fn from(p: &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Self
[src]
fn from(p: &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Self
[src]Performs the conversion.
impl<'a> From<KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
impl<'a> From<KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]fn from(p: SubordinateKeyAmalgamation<'a, PublicParts>) -> Self
[src]
fn from(p: SubordinateKeyAmalgamation<'a, PublicParts>) -> Self
[src]Performs the conversion.
impl<'a> From<KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, PublicParts>
[src]
impl<'a> From<KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, PublicParts>
[src]fn from(p: SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]
fn from(p: SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]Performs the conversion.
impl<'a> From<KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]
impl<'a> From<KeyAmalgamation<'a, SecretParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, UnspecifiedParts>
[src]fn from(p: SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]
fn from(p: SubordinateKeyAmalgamation<'a, SecretParts>) -> Self
[src]Performs the conversion.
impl<'a> From<KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, PublicParts>
[src]
impl<'a> From<KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, PublicParts>
[src]fn from(p: SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Self
[src]
fn from(p: SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Self
[src]Performs the conversion.
impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for SubordinateKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
impl<'a, P> PrimaryKey<'a, P, SubordinateRole> for SubordinateKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]impl<'a> TryFrom<&'a KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, SecretParts>
[src]
impl<'a> TryFrom<&'a KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, SecretParts>
[src]fn try_from(p: &'a SubordinateKeyAmalgamation<'a, PublicParts>) -> Result<Self>
[src]
fn try_from(p: &'a SubordinateKeyAmalgamation<'a, PublicParts>) -> Result<Self>
[src]Performs the conversion.
impl<'a> TryFrom<&'a KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, SecretParts>
[src]
impl<'a> TryFrom<&'a KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for &'a SubordinateKeyAmalgamation<'a, SecretParts>
[src]fn try_from(
p: &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
) -> Result<Self>
[src]
fn try_from(
p: &'a SubordinateKeyAmalgamation<'a, UnspecifiedParts>
) -> Result<Self>
[src]Performs the conversion.
impl<'a, P, P2> TryFrom<KeyAmalgamation<'a, P, UnspecifiedRole, bool>> for SubordinateKeyAmalgamation<'a, P2> where
P: 'a + KeyParts,
P2: 'a + KeyParts,
[src]
impl<'a, P, P2> TryFrom<KeyAmalgamation<'a, P, UnspecifiedRole, bool>> for SubordinateKeyAmalgamation<'a, P2> where
P: 'a + KeyParts,
P2: 'a + KeyParts,
[src]impl<'a> TryFrom<KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, SecretParts>
[src]
impl<'a> TryFrom<KeyAmalgamation<'a, PublicParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, SecretParts>
[src]fn try_from(p: SubordinateKeyAmalgamation<'a, PublicParts>) -> Result<Self>
[src]
fn try_from(p: SubordinateKeyAmalgamation<'a, PublicParts>) -> Result<Self>
[src]Performs the conversion.
impl<'a> TryFrom<KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, SecretParts>
[src]
impl<'a> TryFrom<KeyAmalgamation<'a, UnspecifiedParts, SubordinateRole, ()>> for SubordinateKeyAmalgamation<'a, SecretParts>
[src]fn try_from(p: SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Result<Self>
[src]
fn try_from(p: SubordinateKeyAmalgamation<'a, UnspecifiedParts>) -> Result<Self>
[src]Performs the conversion.
impl<'a, P> ValidateAmalgamation<'a, Key<P, SubordinateRole>> for SubordinateKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]
impl<'a, P> ValidateAmalgamation<'a, Key<P, SubordinateRole>> for SubordinateKeyAmalgamation<'a, P> where
P: 'a + KeyParts,
[src]type V = ValidSubordinateKeyAmalgamation<'a, P>
type V = ValidSubordinateKeyAmalgamation<'a, P>
The type returned by with_policy
. Read more
fn with_policy<T>(self, policy: &'a dyn Policy, time: T) -> Result<Self::V> where
T: Into<Option<SystemTime>>,
[src]
fn with_policy<T>(self, policy: &'a dyn Policy, time: T) -> Result<Self::V> where
T: Into<Option<SystemTime>>,
[src]Uses the specified Policy
and reference time with the amalgamation. Read more