C# Class Net.Pkcs11Interop.Common.Pkcs11UriSharedUtils

Utility class connecting PKCS#11 URI and Pkcs11Interop types
显示文件 Open project: Pkcs11Interop/Pkcs11Interop

Private Methods

Method Description
ByteArraysMatch ( byte uriArray, byte inputArray ) : bool

Checks whether byte array matches the value of "id" path attribute

Matches ( Pkcs11Uri pkcs11Uri, CKO ckaClass, string ckaLabel, byte ckaId ) : bool

Checks whether object attributes match PKCS#11 URI

Matches ( Pkcs11Uri pkcs11Uri, string libraryManufacturer, string libraryDescription, string libraryVersion ) : bool

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

Matches ( Pkcs11Uri pkcs11Uri, string tokenLabel, string tokenManufacturer, string tokenSerial, string tokenModel ) : bool

Checks whether token information matches PKCS#11 URI

Matches ( Pkcs11Uri pkcs11Uri, string slotManufacturer, string slotDescription, ulong slotId ) : bool

Checks whether slot information matches PKCS#11 URI

ObjectTypesMatch ( CKO uriType, CKO inputType ) : bool

Checks whether type matches the value of "type" path attribute

SimpleStringsMatch ( string uriString, string inputString ) : bool

Checks whether string matches the value of string attribute

SlotIdsMatch ( ulong uriId, ulong inputId ) : bool

Checks whether id matches the value of "slot-id" path attribute