RutokenModule Documentation

Enumeration PKCS11Error.​`Type`

public enum `Type`: UInt  

The enum of possible errors

PKCS11Error.`Type` PKCS11Error.`Type` UInt UInt PKCS11Error.`Type`->UInt

Member Of

PKCS11Error

RutokenKeysProcessor errors

Conforms To

UInt

Enumeration Cases

cancel

case cancel                     = 0x00000001

host​Memory

case hostMemory                 = 0x00000002

slot​IdInvalid

case slotIdInvalid              = 0x00000003

general​Error

case generalError               = 0x00000005

function​Failed

case functionFailed             = 0x00000006

arguments​Bad

case argumentsBad               = 0x00000007

need​ToCreate​Threads

case needToCreateThreads        = 0x00000009

cant​Lock

case cantLock                   = 0x0000000A

attribute​Read​Only

case attributeReadOnly          = 0x00000010

attribute​Sensitive

case attributeSensitive         = 0x00000011

attribute​Type​Invalid

case attributeTypeInvalid       = 0x00000012

attribute​Value​Invalid

case attributeValueInvalid      = 0x00000013

data​Invalid

case dataInvalid                = 0x00000020

data​Len​Range

case dataLenRange               = 0x00000021

device​Error

case deviceError                = 0x00000030

device​Memory

case deviceMemory               = 0x00000031

device​Removed

case deviceRemoved              = 0x00000032

function​Canceled

case functionCanceled           = 0x00000050

key​Handle​Invalid

case keyHandleInvalid           = 0x00000060

key​Size​Range

case keySizeRange               = 0x00000062

key​Type​Inconsistent

case keyTypeInconsistent        = 0x00000063

key​Function​Not​Permitted

case keyFunctionNotPermitted    = 0x00000068

mechanism​Invalid

case mechanismInvalid           = 0x00000070

mechanism​Param​Invalid

case mechanismParamInvalid      = 0x00000071

object​Handle​Invalid

case objectHandleInvalid        = 0x00000082

operation​Active

case operationActive            = 0x00000090

operation​Not​Initialized

case operationNotInitialized    = 0x00000091

pin​Incorrect

case pinIncorrect               = 0x000000A0

pin​Invalid

case pinInvalid                 = 0x000000A1

pin​Len​Range

case pinLenRange                = 0x000000A2

pin​Expired

case pinExpired                 = 0x000000A3

pin​Locked

case pinLocked                  = 0x000000A4

session​Closed

case sessionClosed              = 0x000000B0

session​Handle​Invalid

case sessionHandleInvalid       = 0x000000B3

session​Read​Only

case sessionReadOnly            = 0x000000B5

session​Exists

case sessionExists              = 0x000000B6

session​Read​Only​Exists

case sessionReadOnlyExists      = 0x000000B7

session​Read​Write​SoExists

case sessionReadWriteSoExists   = 0x000000B8

template​Incomplete

case templateIncomplete         = 0x000000D0

template​Inconsistent

case templateInconsistent       = 0x000000D1

token​Not​Present

case tokenNotPresent            = 0x000000E0

token​Write​Protected

case tokenWriteProtected        = 0x000000E2

user​Already​Logged​In

case userAlreadyLoggedIn        = 0x00000100

user​Not​Logged​In

case userNotLoggedIn            = 0x00000101

user​Pin​Not​Initialized

case userPinNotInitialized      = 0x00000102

user​Type​Invalid

case userTypeInvalid            = 0x00000103

user​Another​Already​Logged​In

case userAnotherAlreadyLoggedIn = 0x00000104

user​Too​Many​Types

case userTooManyTypes           = 0x00000105

domain​Params​Invalid

case domainParamsInvalid        = 0x00000130

buffer​Too​Small

case bufferTooSmall             = 0x00000150

cryptoki​Not​Initialized

case cryptokiNotInitialized     = 0x00000190

cryptoki​Already​Initialized

case cryptokiAlreadyInitialized = 0x00000191

function​Rejected

case functionRejected           = 0x00000200

not​Determined

case notDetermined              = 0x80000000