C# Класс Net.Pkcs11Interop.HighLevelAPI41.Pkcs11UriUtils

Utility class connecting PKCS#11 URI and Pkcs11Interop types
Показать файл Открыть проект

Открытые методы

Метод Описание
GetMatchingSlotList ( Pkcs11Uri pkcs11Uri, Pkcs11 pkcs11, bool tokenPresent ) : List

Obtains a list of all PKCS#11 URI matching slots

GetObjectAttributes ( Pkcs11Uri pkcs11Uri, List &objectAttributes ) : void

Returns list of object attributes defined by PKCS#11 URI

Matches ( Pkcs11Uri pkcs11Uri, LibraryInfo libraryInfo ) : bool

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

Matches ( Pkcs11Uri pkcs11Uri, List objectAttributes ) : bool

Checks whether object attributes match PKCS#11 URI

Matches ( Pkcs11Uri pkcs11Uri, SlotInfo slotInfo ) : bool

Checks whether slot information matches PKCS#11 URI

Matches ( Pkcs11Uri pkcs11Uri, TokenInfo tokenInfo ) : bool

Checks whether token information matches PKCS#11 URI

Описание методов

GetMatchingSlotList() публичный статический Метод

Obtains a list of all PKCS#11 URI matching slots
public static GetMatchingSlotList ( Pkcs11Uri pkcs11Uri, Pkcs11 pkcs11, bool tokenPresent ) : List
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
pkcs11 Pkcs11 High level PKCS#11 wrapper
tokenPresent bool Flag indicating whether the list obtained includes only those slots with a token present (true), or all slots (false)
Результат List

GetObjectAttributes() публичный статический Метод

Returns list of object attributes defined by PKCS#11 URI
public static GetObjectAttributes ( Pkcs11Uri pkcs11Uri, List &objectAttributes ) : void
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
objectAttributes List List of object attributes defined by PKCS#11 URI
Результат void

Matches() публичный статический Метод

Checks whether PKCS#11 library information matches PKCS#11 URI
public static Matches ( Pkcs11Uri pkcs11Uri, LibraryInfo libraryInfo ) : bool
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
libraryInfo LibraryInfo PKCS#11 library information
Результат bool

Matches() публичный статический Метод

Checks whether object attributes match PKCS#11 URI
public static Matches ( Pkcs11Uri pkcs11Uri, List objectAttributes ) : bool
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
objectAttributes List Object attributes
Результат bool

Matches() публичный статический Метод

Checks whether slot information matches PKCS#11 URI
public static Matches ( Pkcs11Uri pkcs11Uri, SlotInfo slotInfo ) : bool
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
slotInfo SlotInfo Slot information
Результат bool

Matches() публичный статический Метод

Checks whether token information matches PKCS#11 URI
public static Matches ( Pkcs11Uri pkcs11Uri, TokenInfo tokenInfo ) : bool
pkcs11Uri Net.Pkcs11Interop.Common.Pkcs11Uri PKCS#11 URI
tokenInfo TokenInfo Token information
Результат bool