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.
Writes a serialized version of the specified
Serializes the packet to a vector.
impl PartialOrd<KeyID> for KeyID[src]
fn partial_cmp(&self, other: &KeyID) -> Option<Ordering>[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from
source. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
Feeds a slice of this type into the given [
Hasher]. Read more
type Error = Infallible
The type returned in the event of a conversion error.