A User ID and any associated signatures.
Creates a new self-signature binding
key, certified by
signer. The signature
asserts that the bound key can sign and certify and expires in three years.
Returns the user id certified by this binding.
pub fn binding_signature(&self) -> Option<&Signature>[src]
Returns the most recent binding signature.
This will never return a revocation certificate.
Normally, we ignore user ids that don't have a binding signature. However, if there is a valid revocation certificate for the user id, we keep it. In such cases, this function will return None.
The self-signatures have been validated, and the newest self-signature is first.
pub fn certifications(&self) -> Iter<Signature>[src]
Any third-party certifications.
The signatures have not been validated.
pub fn self_revocations(&self) -> Iter<Signature>[src]
Revocations issued by the key itself.
The revocations have been validated, and the newest is first.
pub fn other_revocations(&self) -> Iter<Signature>[src]
Revocations issued by other keys.
The revocations have not been validated.
pub fn revoked(&self) -> RevocationStatus[src]
Returns the user id's revocation status.
Note: this only returns whether the user id is revoked. If you want to know whether the key, subkey, etc., is revoked, then you need to query them separately.
impl PartialEq<UserIDBinding> for UserIDBinding[src]
impl Clone for UserIDBinding[src]
fn clone(&self) -> UserIDBinding[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
impl Debug for UserIDBinding[src]
type Error = Infallible
The type returned in the event of a conversion error.