Struct pgp::composed::signed_key::secret::SignedSecretSubKey [−][src]
pub struct SignedSecretSubKey {
pub key: SecretSubkey,
pub signatures: Vec<Signature>,
}
Expand description
Represents a composed secret PGP SubKey.
Fields
key: SecretSubkey
signatures: Vec<Signature>
Implementations
Trait Implementations
Returns the fingerprint of the key.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Verify a signed message.
Data will be hashed using hash
, before verifying. Read more
Encrypt the given plain
for this key.
This is the data used for hashing in a signature. Only uses the public portion of the key.
Auto Trait Implementations
impl RefUnwindSafe for SignedSecretSubKey
impl Send for SignedSecretSubKey
impl Sync for SignedSecretSubKey
impl Unpin for SignedSecretSubKey
impl UnwindSafe for SignedSecretSubKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self