Expand description
Types for decoding RSA fingerprints
Re-exportsΒ§
use crate::parse2::ArgumentError;πuse crate::parse2::ArgumentStream;πuse crate::parse2::ItemArgumentParseable;πuse crate::Error;πuse crate::NetdocErrorKind as EK;πuse crate::Pos;πuse crate::Result;πuse base64ct::Base64Unpadded;πuse base64ct::Encoding as _;πuse itertools::Itertools;πuse tor_llcrypto::pk::rsa::RsaIdentity;πuse super::*;π
StructsΒ§
- Base64
Fingerprint - A base64-encoded fingerprint (unpadded)
- Fingerprint
- A hex-encoded fingerprint with no spaces.
- Long
Ident π - A βlong identityβ in the format used for Family members.
- SpFingerprint
- A hex-encoded RSA key identity (fingerprint) with spaces in it.
FunctionsΒ§
- parse_
hex_ πident - Helper: parse an identity from a hexadecimal string