Pkcs11Interop  5.1.2
Static Public Member Functions | Public Attributes | List of all members
Net.Pkcs11Interop.Common.CK Class Reference

General constants More...

Static Public Member Functions

static bool IsCkInformationUnavailable (ulong value)
 Checks whether provided number has value of CK_UNAVAILABLE_INFORMATION constant More...
 

Public Attributes

const uint CK_INVALID_HANDLE = 0
 The following value is always invalid if used as a session handle or object handle More...
 
const uint CK_UNAVAILABLE_INFORMATION_4 = ~0U
 Token and/or library is unable or unwilling to provide information More...
 
const ulong CK_UNAVAILABLE_INFORMATION_8 = ~0UL
 Token and/or library is unable or unwilling to provide information More...
 
const uint CK_EFFECTIVELY_INFINITE = 0
 Specifies no practical limit More...
 
const uint CK_CERTIFICATE_CATEGORY_UNSPECIFIED = 0
 No certificate category specified More...
 
const uint CK_CERTIFICATE_CATEGORY_TOKEN_USER = 1
 Certificate belongs to owner of the token More...
 
const uint CK_CERTIFICATE_CATEGORY_AUTHORITY = 2
 Certificate belongs to a certificate authority More...
 
const uint CK_CERTIFICATE_CATEGORY_OTHER_ENTITY = 3
 Certificate belongs to an end entity (i.e. not a CA) More...
 
const uint CK_SECURITY_DOMAIN_UNSPECIFIED = 0
 No JAVA MIDP security domain specified More...
 
const uint CK_SECURITY_DOMAIN_MANUFACTURER = 1
 Manufacturer protection JAVA MIDP security domain More...
 
const uint CK_SECURITY_DOMAIN_OPERATOR = 2
 Operator protection JAVA MIDP security domain More...
 
const uint CK_SECURITY_DOMAIN_THIRD_PARTY = 3
 Third party protection JAVA MIDP security domain More...
 
const uint CK_OTP_FORMAT_DECIMAL = 0
 Decimal (default) (UTF8-encoded) format of OTP value More...
 
const uint CK_OTP_FORMAT_HEXADECIMAL = 1
 Hexadecimal (UTF8-encoded) format of OTP value More...
 
const uint CK_OTP_FORMAT_ALPHANUMERIC = 2
 Alphanumeric (UTF8-encoded) format of OTP value More...
 
const uint CK_OTP_FORMAT_BINARY = 3
 Binary format of OTP value More...
 
const uint CK_OTP_PARAM_IGNORED = 0
 OTP parameter, if supplied, will be ignored More...
 
const uint CK_OTP_PARAM_OPTIONAL = 1
 OTP parameter may be supplied but need not be More...
 
const uint CK_OTP_PARAM_MANDATORY = 2
 OTP parameter must be supplied More...
 
const uint CK_OTP_VALUE = 0
 An actual OTP value More...
 
const uint CK_OTP_PIN = 1
 A UTF8 string containing a PIN for use when computing or verifying PIN-based OTP values More...
 
const uint CK_OTP_CHALLENGE = 2
 Challenge to use when computing or verifying challenge-based OTP values More...
 
const uint CK_OTP_TIME = 3
 UTC time value in the form YYYYMMDDhhmmss to use when computing or verifying time-based OTP values More...
 
const uint CK_OTP_COUNTER = 4
 Counter value to use when computing or verifying counter-based OTP values More...
 
const uint CK_OTP_FLAGS = 5
 Bit flags indicating the characteristics of the sought OTP as defined below More...
 
const uint CK_OTP_OUTPUT_LENGTH = 6
 Desired output length (overrides any default value) More...
 
const uint CK_OTP_OUTPUT_FORMAT = 7
 Returned OTP format More...
 

Detailed Description

General constants

Member Function Documentation

◆ IsCkInformationUnavailable()

static bool Net.Pkcs11Interop.Common.CK.IsCkInformationUnavailable ( ulong  value)
static

Checks whether provided number has value of CK_UNAVAILABLE_INFORMATION constant

Parameters
valueNumber to be checked
Returns
True if number has value of CK_UNAVAILABLE_INFORMATION constant false otherwise

Member Data Documentation

◆ CK_CERTIFICATE_CATEGORY_AUTHORITY

const uint Net.Pkcs11Interop.Common.CK.CK_CERTIFICATE_CATEGORY_AUTHORITY = 2

Certificate belongs to a certificate authority

◆ CK_CERTIFICATE_CATEGORY_OTHER_ENTITY

const uint Net.Pkcs11Interop.Common.CK.CK_CERTIFICATE_CATEGORY_OTHER_ENTITY = 3

Certificate belongs to an end entity (i.e. not a CA)

◆ CK_CERTIFICATE_CATEGORY_TOKEN_USER

const uint Net.Pkcs11Interop.Common.CK.CK_CERTIFICATE_CATEGORY_TOKEN_USER = 1

Certificate belongs to owner of the token

◆ CK_CERTIFICATE_CATEGORY_UNSPECIFIED

const uint Net.Pkcs11Interop.Common.CK.CK_CERTIFICATE_CATEGORY_UNSPECIFIED = 0

No certificate category specified

◆ CK_EFFECTIVELY_INFINITE

const uint Net.Pkcs11Interop.Common.CK.CK_EFFECTIVELY_INFINITE = 0

Specifies no practical limit

◆ CK_INVALID_HANDLE

const uint Net.Pkcs11Interop.Common.CK.CK_INVALID_HANDLE = 0

The following value is always invalid if used as a session handle or object handle

◆ CK_OTP_CHALLENGE

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_CHALLENGE = 2

Challenge to use when computing or verifying challenge-based OTP values

◆ CK_OTP_COUNTER

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_COUNTER = 4

Counter value to use when computing or verifying counter-based OTP values

◆ CK_OTP_FLAGS

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_FLAGS = 5

Bit flags indicating the characteristics of the sought OTP as defined below

◆ CK_OTP_FORMAT_ALPHANUMERIC

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_FORMAT_ALPHANUMERIC = 2

Alphanumeric (UTF8-encoded) format of OTP value

◆ CK_OTP_FORMAT_BINARY

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_FORMAT_BINARY = 3

Binary format of OTP value

◆ CK_OTP_FORMAT_DECIMAL

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_FORMAT_DECIMAL = 0

Decimal (default) (UTF8-encoded) format of OTP value

◆ CK_OTP_FORMAT_HEXADECIMAL

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_FORMAT_HEXADECIMAL = 1

Hexadecimal (UTF8-encoded) format of OTP value

◆ CK_OTP_OUTPUT_FORMAT

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_OUTPUT_FORMAT = 7

Returned OTP format

◆ CK_OTP_OUTPUT_LENGTH

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_OUTPUT_LENGTH = 6

Desired output length (overrides any default value)

◆ CK_OTP_PARAM_IGNORED

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_PARAM_IGNORED = 0

OTP parameter, if supplied, will be ignored

◆ CK_OTP_PARAM_MANDATORY

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_PARAM_MANDATORY = 2

OTP parameter must be supplied

◆ CK_OTP_PARAM_OPTIONAL

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_PARAM_OPTIONAL = 1

OTP parameter may be supplied but need not be

◆ CK_OTP_PIN

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_PIN = 1

A UTF8 string containing a PIN for use when computing or verifying PIN-based OTP values

◆ CK_OTP_TIME

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_TIME = 3

UTC time value in the form YYYYMMDDhhmmss to use when computing or verifying time-based OTP values

◆ CK_OTP_VALUE

const uint Net.Pkcs11Interop.Common.CK.CK_OTP_VALUE = 0

An actual OTP value

◆ CK_SECURITY_DOMAIN_MANUFACTURER

const uint Net.Pkcs11Interop.Common.CK.CK_SECURITY_DOMAIN_MANUFACTURER = 1

Manufacturer protection JAVA MIDP security domain

◆ CK_SECURITY_DOMAIN_OPERATOR

const uint Net.Pkcs11Interop.Common.CK.CK_SECURITY_DOMAIN_OPERATOR = 2

Operator protection JAVA MIDP security domain

◆ CK_SECURITY_DOMAIN_THIRD_PARTY

const uint Net.Pkcs11Interop.Common.CK.CK_SECURITY_DOMAIN_THIRD_PARTY = 3

Third party protection JAVA MIDP security domain

◆ CK_SECURITY_DOMAIN_UNSPECIFIED

const uint Net.Pkcs11Interop.Common.CK.CK_SECURITY_DOMAIN_UNSPECIFIED = 0

No JAVA MIDP security domain specified

◆ CK_UNAVAILABLE_INFORMATION_4

const uint Net.Pkcs11Interop.Common.CK.CK_UNAVAILABLE_INFORMATION_4 = ~0U

Token and/or library is unable or unwilling to provide information

◆ CK_UNAVAILABLE_INFORMATION_8

const ulong Net.Pkcs11Interop.Common.CK.CK_UNAVAILABLE_INFORMATION_8 = ~0UL

Token and/or library is unable or unwilling to provide information


The documentation for this class was generated from the following file: