Pkcs11Interop.PDF  1.3.0
Public Member Functions | Protected Member Functions | List of all members
Net.Pkcs11Interop.PDF.Pkcs11Explorer Class Reference

Explores devices accessible via PKCS#11 interface More...

Inherits IDisposable.

Public Member Functions

 Pkcs11Explorer (string libraryPath)
 Initializes a new instance of the Pkcs11Explorer class More...
 
List< TokenGetTokens ()
 Gets list of tokens (smartcards) accessible via PKCS#11 interface More...
 
void GetTokenObjects (Token token, bool login, string pin, out List< PrivateKey > privateKeys, out List< Certificate > certificates)
 Gets private keys and certificates stored in token (smartcard) accessible via PKCS#11 interface More...
 
void Dispose ()
 Disposes object More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Disposes object More...
 

Detailed Description

Explores devices accessible via PKCS#11 interface

Constructor & Destructor Documentation

Net.Pkcs11Interop.PDF.Pkcs11Explorer.Pkcs11Explorer ( string  libraryPath)

Initializes a new instance of the Pkcs11Explorer class

Parameters
libraryPathPath to the unmanaged PCKS#11 library

Member Function Documentation

void Net.Pkcs11Interop.PDF.Pkcs11Explorer.Dispose ( )

Disposes object

virtual void Net.Pkcs11Interop.PDF.Pkcs11Explorer.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed
void Net.Pkcs11Interop.PDF.Pkcs11Explorer.GetTokenObjects ( Token  token,
bool  login,
string  pin,
out List< PrivateKey privateKeys,
out List< Certificate certificates 
)

Gets private keys and certificates stored in token (smartcard) accessible via PKCS#11 interface

Parameters
tokenPKCS#11 token (smartcard) that should be explored
loginFlag indicating whether token login with provided PIN should be performed
pinPIN for the token (smartcard)
privateKeysList of private keys stored in token (smartcard)
certificatesList of certificates stored in token (smartcard)
List<Token> Net.Pkcs11Interop.PDF.Pkcs11Explorer.GetTokens ( )

Gets list of tokens (smartcards) accessible via PKCS#11 interface

Returns

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