A User Attribute and any associated signatures.
pub fn user_attribute(&self) -> &UserAttribute[src]
The User attribute.
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 attributes that don't have a binding signature. However, if there is a valid revocation certificate for the user attribute, 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]
UserAttribute's revocation status.
Note: this only returns whether the user attribute is revoked. If you want to know whether the key, subkey, etc., is revoked, then you need to query them separately.
impl Clone for UserAttributeBinding[src]
impl Debug for UserAttributeBinding[src]
fn eq(&self, other: &UserAttributeBinding) -> bool[src]
fn ne(&self, other: &UserAttributeBinding) -> bool[src]
impl !RefUnwindSafe for UserAttributeBinding
impl Send for UserAttributeBinding
impl !Sync for UserAttributeBinding
impl Unpin for UserAttributeBinding
impl UnwindSafe for UserAttributeBinding
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.