Pkcs11Interop  4.1.1
Public Member Functions | Properties | List of all members
Net.Pkcs11Interop.Common.Pkcs11Uri Class Reference

PKCS#11 URI parser More...

Public Member Functions

 Pkcs11Uri (string uri)
 Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI and checks max lengths of path attribute values More...
 
 Pkcs11Uri (string uri, bool checkLengths)
 Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI More...
 

Properties

bool ChecksLengths [get]
 Flag indicating whether max lengths of path attribute values were checked More...
 
bool DefinesLibrary [get]
 Flag indicating whether PKCS#11 URI path attributes define specific PKCS#11 library More...
 
bool DefinesSlot [get]
 Flag indicating whether PKCS#11 URI path attributes define specific slot More...
 
bool DefinesToken [get]
 Flag indicating whether PKCS#11 URI path attributes define specific token More...
 
bool DefinesObject [get]
 Flag indicating whether PKCS#11 URI path attributes define specific object More...
 
string Token [get]
 Value of path attribute "token" that corresponds to the "label" member of the CK_TOKEN_INFO structure More...
 
string Manufacturer [get]
 Value of path attribute "manufacturer" that corresponds to the "manufacturerID" member of CK_TOKEN_INFO structure More...
 
string Serial [get]
 Value of path attribute "serial" that corresponds to the "serialNumber" member of CK_TOKEN_INFO structure More...
 
string Model [get]
 Value of path attribute "model" that corresponds to the "model" member of CK_TOKEN_INFO structure More...
 
string LibraryManufacturer [get]
 Value of path attribute "library-manufacturer" that corresponds to the "manufacturerID" member of CK_INFO structure More...
 
string LibraryDescription [get]
 Value of path attribute "library-description" that corresponds to the "libraryDescription" member of CK_INFO structure More...
 
string LibraryVersion [get]
 Value of path attribute "library-version" that corresponds to the "libraryVersion" member of CK_INFO structure More...
 
string Object [get]
 Value of path attribute "object" that corresponds to the "CKA_LABEL" object attribute More...
 
CKO Type [get]
 Value of path attribute "type" that corresponds to the "CKA_CLASS" object attribute More...
 
byte [] Id [get]
 Value of path attribute "id" that corresponds to the "CKA_ID" object attribute More...
 
string SlotManufacturer [get]
 Value of path attribute "slot-manufacturer" that corresponds to the "manufacturerID" member of CK_SLOT_INFO structure More...
 
string SlotDescription [get]
 Value of path attribute "slot-description" that corresponds to the "slotDescription" member of CK_SLOT_INFO structure More...
 
ulong SlotId [get]
 Value of path attribute "slot-id" that corresponds to the decimal number of "CK_SLOT_ID" type More...
 
Dictionary< string, string > UnknownPathAttributes [get]
 Collection of unknown vendor specific path attributes More...
 
string PinSource [get]
 Value of query attribute "pin-source" that specifies where token PIN can be obtained More...
 
string PinValue [get]
 Value of query attribute "pin-value" that contains token PIN More...
 
string ModuleName [get]
 Value of query attribute "module-name" that specifies name of the PKCS#11 library More...
 
string ModulePath [get]
 Value of query attribute "module-path" that specifies path to the PKCS#11 library More...
 
Dictionary< string, List< string > > UnknownQueryAttributes [get]
 Collection of unknown vendor specific query attributes More...
 

Detailed Description

PKCS#11 URI parser

Constructor & Destructor Documentation

◆ Pkcs11Uri() [1/2]

Net.Pkcs11Interop.Common.Pkcs11Uri.Pkcs11Uri ( string  uri)

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI and checks max lengths of path attribute values

Parameters
uriPKCS#11 URI to be parsed

◆ Pkcs11Uri() [2/2]

Net.Pkcs11Interop.Common.Pkcs11Uri.Pkcs11Uri ( string  uri,
bool  checkLengths 
)

Intializes new instance of Pkcs11Uri class that parses provided PKCS#11 URI

Parameters
uriPKCS#11 URI to be parsed
checkLengthsFlag indicating whether max lengths of path attribute values should be checked

Property Documentation

◆ ChecksLengths

bool Net.Pkcs11Interop.Common.Pkcs11Uri.ChecksLengths
get

Flag indicating whether max lengths of path attribute values were checked

◆ DefinesLibrary

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesLibrary
get

Flag indicating whether PKCS#11 URI path attributes define specific PKCS#11 library

◆ DefinesObject

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesObject
get

Flag indicating whether PKCS#11 URI path attributes define specific object

◆ DefinesSlot

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesSlot
get

Flag indicating whether PKCS#11 URI path attributes define specific slot

◆ DefinesToken

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesToken
get

Flag indicating whether PKCS#11 URI path attributes define specific token

◆ Id

byte [] Net.Pkcs11Interop.Common.Pkcs11Uri.Id
get

Value of path attribute "id" that corresponds to the "CKA_ID" object attribute

◆ LibraryDescription

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryDescription
get

Value of path attribute "library-description" that corresponds to the "libraryDescription" member of CK_INFO structure

◆ LibraryManufacturer

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryManufacturer
get

Value of path attribute "library-manufacturer" that corresponds to the "manufacturerID" member of CK_INFO structure

◆ LibraryVersion

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryVersion
get

Value of path attribute "library-version" that corresponds to the "libraryVersion" member of CK_INFO structure

◆ Manufacturer

string Net.Pkcs11Interop.Common.Pkcs11Uri.Manufacturer
get

Value of path attribute "manufacturer" that corresponds to the "manufacturerID" member of CK_TOKEN_INFO structure

◆ Model

string Net.Pkcs11Interop.Common.Pkcs11Uri.Model
get

Value of path attribute "model" that corresponds to the "model" member of CK_TOKEN_INFO structure

◆ ModuleName

string Net.Pkcs11Interop.Common.Pkcs11Uri.ModuleName
get

Value of query attribute "module-name" that specifies name of the PKCS#11 library

◆ ModulePath

string Net.Pkcs11Interop.Common.Pkcs11Uri.ModulePath
get

Value of query attribute "module-path" that specifies path to the PKCS#11 library

◆ Object

string Net.Pkcs11Interop.Common.Pkcs11Uri.Object
get

Value of path attribute "object" that corresponds to the "CKA_LABEL" object attribute

◆ PinSource

string Net.Pkcs11Interop.Common.Pkcs11Uri.PinSource
get

Value of query attribute "pin-source" that specifies where token PIN can be obtained

◆ PinValue

string Net.Pkcs11Interop.Common.Pkcs11Uri.PinValue
get

Value of query attribute "pin-value" that contains token PIN

◆ Serial

string Net.Pkcs11Interop.Common.Pkcs11Uri.Serial
get

Value of path attribute "serial" that corresponds to the "serialNumber" member of CK_TOKEN_INFO structure

◆ SlotDescription

string Net.Pkcs11Interop.Common.Pkcs11Uri.SlotDescription
get

Value of path attribute "slot-description" that corresponds to the "slotDescription" member of CK_SLOT_INFO structure

◆ SlotId

ulong Net.Pkcs11Interop.Common.Pkcs11Uri.SlotId
get

Value of path attribute "slot-id" that corresponds to the decimal number of "CK_SLOT_ID" type

◆ SlotManufacturer

string Net.Pkcs11Interop.Common.Pkcs11Uri.SlotManufacturer
get

Value of path attribute "slot-manufacturer" that corresponds to the "manufacturerID" member of CK_SLOT_INFO structure

◆ Token

string Net.Pkcs11Interop.Common.Pkcs11Uri.Token
get

Value of path attribute "token" that corresponds to the "label" member of the CK_TOKEN_INFO structure

◆ Type

CKO Net.Pkcs11Interop.Common.Pkcs11Uri.Type
get

Value of path attribute "type" that corresponds to the "CKA_CLASS" object attribute

◆ UnknownPathAttributes

Dictionary<string, string> Net.Pkcs11Interop.Common.Pkcs11Uri.UnknownPathAttributes
get

Collection of unknown vendor specific path attributes

◆ UnknownQueryAttributes

Dictionary<string, List<string> > Net.Pkcs11Interop.Common.Pkcs11Uri.UnknownQueryAttributes
get

Collection of unknown vendor specific query attributes


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