Enum ursa::CryptoError [−][src]
pub enum CryptoError {
NoSuchAlgorithm(String),
ParseError(String),
SigningError(String),
KeyGenError(String),
DigestGenError(String),
GeneralError(String),
}
Variants
NoSuchAlgorithm(String)
Returned when trying to create an algorithm which does not exist.
Tuple Fields of NoSuchAlgorithm
0: String
ParseError(String)
Returned when an error occurs during deserialization of a Private or Public key from various formats.
Tuple Fields of ParseError
0: String
SigningError(String)
Returned when an error occurs during the signing process.
Tuple Fields of SigningError
0: String
KeyGenError(String)
Returned when an error occurs during key generation
Tuple Fields of KeyGenError
0: String
DigestGenError(String)
Returned when an error occurs during digest generation
Tuple Fields of DigestGenError
0: String
GeneralError(String)
A General purpose error message that doesn’t fit in any category
Tuple Fields of GeneralError
0: String
Trait Implementations
Performs the conversion.
Performs the conversion.