Pkcs11Interop  4.0.0
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

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

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

Certificate belongs to a certificate authority

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

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

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

Certificate belongs to owner of the token

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

No certificate category specified

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

Specifies no practical limit

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

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

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

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

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

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

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

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

Alphanumeric (UTF8-encoded) format of OTP value

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

Binary format of OTP value

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

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

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

Hexadecimal (UTF8-encoded) format of OTP value

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

Returned OTP format

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

Desired output length (overrides any default value)

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

OTP parameter, if supplied, will be ignored

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

OTP parameter must be supplied

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

OTP parameter may be supplied but need not be

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

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

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

An actual OTP value

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

Manufacturer protection JAVA MIDP security domain

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

Operator protection JAVA MIDP security domain

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

Third party protection JAVA MIDP security domain

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

No JAVA MIDP security domain specified

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

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

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: