Enum ic_identity_hsm::HardwareIdentityError [−][src]
pub enum HardwareIdentityError { PKCS11(Error), ASN1Decode(ASN1DecodeErr), ASN1Encode(ASN1EncodeErr), KeyIdDecode(FromHexError), KeyNotFound, UnexpectedKeyType(CK_KEY_TYPE), ExpectedEcPointOctetString, EcPointEmpty, AttributeNotFound(CK_ATTRIBUTE_TYPE), InvalidEcParams { expected: Vec<u8>, actual: Vec<u8>, }, UserPinRequired(String), NoSuchSlotIndex(usize), }
Expand description
An error happened related to a HardwareIdentity.
Variants
Tuple Fields of PKCS11
0: Error
Tuple Fields of ASN1Decode
Tuple Fields of ASN1Encode
Tuple Fields of KeyIdDecode
0: FromHexError
Tuple Fields of UnexpectedKeyType
0: CK_KEY_TYPE
Tuple Fields of AttributeNotFound
Tuple Fields of UserPinRequired
0: String
Tuple Fields of NoSuchSlotIndex
0: usize
Trait Implementations
Performs the conversion.
Performs the conversion.