Holds a KeyID.
A KeyID is a fingerprint fragment. It identifies a public key, but is easy to forge. For more details about how a KeyID is generated, see Section 12.2 of RFC 4880.
Lower 8 byte SHA-1 hash.
Used for holding fingerprints that we don't understand. For instance, we don't grok v3 fingerprints. And, it is possible that the Issuer subpacket contains the wrong number of bytes.
Converts a u64 to a KeyID.
Converts the KeyID to a u64 if possible.
Reads a binary key ID.
Reads a hex-encoded Key ID.
Returns a reference to the raw KeyID.
Returns the wildcard KeyID.
pub fn is_wildcard(&self) -> bool[src]
Returns true if this is a wild card ID.
Converts the key ID to its standard representation.
Returns the fingerprint suitable for human consumption.
Converts the key ID to a hexadecimal number.
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl PartialOrd<KeyID> for KeyID[src]
fn partial_cmp(&self, other: &KeyID) -> Option<Ordering>[src]
Writes a serialized version of the specified
Serializes the packet to a vector.
impl StructuralEq for KeyID[src]
impl StructuralPartialEq for KeyID[src]
impl RefUnwindSafe for KeyID
impl UnwindSafe for KeyID
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.