Pkcs11Interop  5.1.2
Static Public Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils Class Reference

Utility class connecting PKCS#11 URI and Pkcs11Interop types More...

Static Public Member Functions

static bool Matches (Pkcs11Uri pkcs11Uri, ILibraryInfo libraryInfo)
 Checks whether PKCS#11 library information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, ISlotInfo slotInfo)
 Checks whether slot information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, ITokenInfo tokenInfo)
 Checks whether token information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, List< IObjectAttribute > objectAttributes)
 Checks whether object attributes match PKCS#11 URI More...
 
static List< ISlotGetMatchingSlotList (Pkcs11Uri pkcs11Uri, IPkcs11Library pkcs11Library, SlotsType slotsType)
 Obtains a list of all PKCS#11 URI matching slots More...
 
static List< IObjectAttributeGetObjectAttributes (Pkcs11Uri pkcs11Uri, IObjectAttributeFactory objectAttributeFactory)
 Returns list of object attributes defined by PKCS#11 URI More...
 

Detailed Description

Utility class connecting PKCS#11 URI and Pkcs11Interop types

Member Function Documentation

◆ GetMatchingSlotList()

static List<ISlot> Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.GetMatchingSlotList ( Pkcs11Uri  pkcs11Uri,
IPkcs11Library  pkcs11Library,
SlotsType  slotsType 
)
static

Obtains a list of all PKCS#11 URI matching slots

Parameters
pkcs11UriPKCS#11 URI
pkcs11LibraryHigh level PKCS#11 wrapper
slotsTypeType of slots to be obtained
Returns
List of slots matching PKCS#11 URI

◆ GetObjectAttributes()

static List<IObjectAttribute> Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.GetObjectAttributes ( Pkcs11Uri  pkcs11Uri,
IObjectAttributeFactory  objectAttributeFactory 
)
static

Returns list of object attributes defined by PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
objectAttributeFactoryFactory for creation of IObjectAttribute instances
Returns
List of object attributes defined by PKCS#11 URI

◆ Matches() [1/4]

static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
ILibraryInfo  libraryInfo 
)
static

Checks whether PKCS#11 library information matches PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
libraryInfoPKCS#11 library information
Returns
True if PKCS#11 library information matches PKCS#11 URI

◆ Matches() [2/4]

static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
ISlotInfo  slotInfo 
)
static

Checks whether slot information matches PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
slotInfoSlot information
Returns
True if slot information matches PKCS#11 URI

◆ Matches() [3/4]

static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
ITokenInfo  tokenInfo 
)
static

Checks whether token information matches PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
tokenInfoToken information
Returns
True if token information matches PKCS#11 URI

◆ Matches() [4/4]

static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
List< IObjectAttribute objectAttributes 
)
static

Checks whether object attributes match PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
objectAttributesObject attributes
Returns
True if object attributes match PKCS#11 URI

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