Enumeration
PKCS11Error.`Type`
public enum `Type`: UInt
The enum of possible errors
Relationships
Member Of
PKCS11Error
RutokenKeysProcessor errors
Conforms To
UInt
Enumeration Cases
cancel
case cancel = 0x00000001
hostMemory
case hostMemory = 0x00000002
slotIdInvalid
case slotIdInvalid = 0x00000003
generalError
case generalError = 0x00000005
functionFailed
case functionFailed = 0x00000006
argumentsBad
case argumentsBad = 0x00000007
needToCreateThreads
case needToCreateThreads = 0x00000009
cantLock
case cantLock = 0x0000000A
attributeReadOnly
case attributeReadOnly = 0x00000010
attributeSensitive
case attributeSensitive = 0x00000011
attributeTypeInvalid
case attributeTypeInvalid = 0x00000012
attributeValueInvalid
case attributeValueInvalid = 0x00000013
dataInvalid
case dataInvalid = 0x00000020
dataLenRange
case dataLenRange = 0x00000021
deviceError
case deviceError = 0x00000030
deviceMemory
case deviceMemory = 0x00000031
deviceRemoved
case deviceRemoved = 0x00000032
functionCanceled
case functionCanceled = 0x00000050
keyHandleInvalid
case keyHandleInvalid = 0x00000060
keySizeRange
case keySizeRange = 0x00000062
keyTypeInconsistent
case keyTypeInconsistent = 0x00000063
keyFunctionNotPermitted
case keyFunctionNotPermitted = 0x00000068
mechanismInvalid
case mechanismInvalid = 0x00000070
mechanismParamInvalid
case mechanismParamInvalid = 0x00000071
objectHandleInvalid
case objectHandleInvalid = 0x00000082
operationActive
case operationActive = 0x00000090
operationNotInitialized
case operationNotInitialized = 0x00000091
pinIncorrect
case pinIncorrect = 0x000000A0
pinInvalid
case pinInvalid = 0x000000A1
pinLenRange
case pinLenRange = 0x000000A2
pinExpired
case pinExpired = 0x000000A3
pinLocked
case pinLocked = 0x000000A4
sessionClosed
case sessionClosed = 0x000000B0
sessionHandleInvalid
case sessionHandleInvalid = 0x000000B3
sessionReadOnly
case sessionReadOnly = 0x000000B5
sessionExists
case sessionExists = 0x000000B6
sessionReadOnlyExists
case sessionReadOnlyExists = 0x000000B7
sessionReadWriteSoExists
case sessionReadWriteSoExists = 0x000000B8
templateIncomplete
case templateIncomplete = 0x000000D0
templateInconsistent
case templateInconsistent = 0x000000D1
tokenNotPresent
case tokenNotPresent = 0x000000E0
tokenWriteProtected
case tokenWriteProtected = 0x000000E2
userAlreadyLoggedIn
case userAlreadyLoggedIn = 0x00000100
userNotLoggedIn
case userNotLoggedIn = 0x00000101
userPinNotInitialized
case userPinNotInitialized = 0x00000102
userTypeInvalid
case userTypeInvalid = 0x00000103
userAnotherAlreadyLoggedIn
case userAnotherAlreadyLoggedIn = 0x00000104
userTooManyTypes
case userTooManyTypes = 0x00000105
domainParamsInvalid
case domainParamsInvalid = 0x00000130
bufferTooSmall
case bufferTooSmall = 0x00000150
cryptokiNotInitialized
case cryptokiNotInitialized = 0x00000190
cryptokiAlreadyInitialized
case cryptokiAlreadyInitialized = 0x00000191
functionRejected
case functionRejected = 0x00000200
notDetermined
case notDetermined = 0x80000000