Pkcs11Interop  4.0.0
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, LibraryInfo libraryInfo)
 Checks whether PKCS#11 library information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, SlotInfo slotInfo)
 Checks whether slot information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, TokenInfo tokenInfo)
 Checks whether token information matches PKCS#11 URI More...
 
static bool Matches (Pkcs11Uri pkcs11Uri, List< ObjectAttribute > objectAttributes)
 Checks whether object attributes match PKCS#11 URI More...
 
static List< SlotGetMatchingSlotList (Pkcs11Uri pkcs11Uri, Pkcs11 pkcs11, bool tokenPresent)
 Obtains a list of all PKCS#11 URI matching slots More...
 
static void GetObjectAttributes (Pkcs11Uri pkcs11Uri, out List< ObjectAttribute > objectAttributes)
 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

static List<Slot> Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.GetMatchingSlotList ( Pkcs11Uri  pkcs11Uri,
Pkcs11  pkcs11,
bool  tokenPresent 
)
static

Obtains a list of all PKCS#11 URI matching slots

Parameters
pkcs11UriPKCS#11 URI
pkcs11High level PKCS#11 wrapper
tokenPresentFlag indicating whether the list obtained includes only those slots with a token present (true), or all slots (false)
Returns
List of slots matching PKCS#11 URI
static void Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.GetObjectAttributes ( Pkcs11Uri  pkcs11Uri,
out List< ObjectAttribute objectAttributes 
)
static

Returns list of object attributes defined by PKCS#11 URI

Parameters
pkcs11UriPKCS#11 URI
objectAttributesList of object attributes defined by PKCS#11 URI
static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
LibraryInfo  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
static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
SlotInfo  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
static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
TokenInfo  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
static bool Net.Pkcs11Interop.HighLevelAPI.Pkcs11UriUtils.Matches ( Pkcs11Uri  pkcs11Uri,
List< ObjectAttribute 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: