pub enum Error {
Show 13 variants
InvalidPaddingScheme,
Decryption,
Verification,
MessageTooLong,
InputNotHashed,
NprimesTooSmall,
TooFewPrimes,
InvalidPrime,
InvalidModulus,
InvalidExponent,
PublicExponentTooSmall,
PublicExponentTooLarge,
Internal,
}
Expand description
Error types
Variants§
InvalidPaddingScheme
Decryption
Verification
MessageTooLong
InputNotHashed
NprimesTooSmall
TooFewPrimes
InvalidPrime
InvalidModulus
InvalidExponent
PublicExponentTooSmall
PublicExponentTooLarge
Internal
Trait Implementations§
source§impl Fail for Error
impl Fail for Error
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more