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
PKCS11(Error)
ASN1Decode(ASN1DecodeErr)
ASN1Encode(ASN1EncodeErr)
KeyIdDecode(FromHexError)
UnexpectedKeyType(CK_KEY_TYPE)
AttributeNotFound(CK_ATTRIBUTE_TYPE)
UserPinRequired(String)
NoSuchSlotIndex(usize)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for HardwareIdentityError
impl Send for HardwareIdentityError
impl Sync for HardwareIdentityError
impl Unpin for HardwareIdentityError
impl !UnwindSafe for HardwareIdentityError