Expand description
Types for decoding RSA keys
Re-exportsΒ§
use crate::NetdocErrorKind as EK;πuse crate::Pos;πuse crate::Result;πuse std::ops::RangeBounds;πuse tor_llcrypto::pk::rsa::PublicKey;πuse tor_llcrypto::d::Sha1;πuse tor_llcrypto::pk::rsa::KeyPair;πuse super::*;π
StructsΒ§
- RsaPublic
Parse1 πHelper - RSA public key, partially processed by
crate::paarse. - RsaSha1
Signature - RSA signature using SHA-1 as per βSigning documentsβ in dir-spec
ConstantsΒ§
- RSA_
FIXED_ πEXPONENT - The fixed exponent which we require when parsing any RSA key in a netdoc
- RSA_
MIN_ πBITS - The fixed exponent which we require when parsing any RSA key in a netdoc