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

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

bool Net.Pkcs11Interop.Common.Pkcs11Uri.ChecksLengths
get

Flag indicating whether max lengths of path attribute values were checked

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesLibrary
get

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

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesObject
get

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

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesSlot
get

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

bool Net.Pkcs11Interop.Common.Pkcs11Uri.DefinesToken
get

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

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

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryDescription
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryManufacturer
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.LibraryVersion
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.Manufacturer
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.Model
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.ModuleName
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.ModulePath
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.Object
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.PinSource
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.PinValue
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.Serial
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.SlotDescription
get

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

ulong Net.Pkcs11Interop.Common.Pkcs11Uri.SlotId
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.SlotManufacturer
get

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

string Net.Pkcs11Interop.Common.Pkcs11Uri.Token
get

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

CKO Net.Pkcs11Interop.Common.Pkcs11Uri.Type
get

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

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

Collection of unknown vendor specific path attributes

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: