Pkcs11Interop.PDF  1.3.0
Public Member Functions | Properties | List of all members
Net.Pkcs11Interop.PDF.PrivateKey Class Reference

Represents private key accessible via PKCS#11 interface More...

Public Member Functions

bool Matches (Certificate certificate)
 Checks whether specified certificate matches this private key More...
 
bool Matches (BCX509.X509Certificate certificate)
 Checks whether specified certificate matches this private key More...
 
bool Matches (X509Certificate2 certificate)
 Checks whether specified certificate matches this private key More...
 

Properties

string Id [get]
 Hex encoded string with identifier (value of CKA_ID attribute) of the private key More...
 
string Label [get]
 Label (value of CKA_LABEL attribute) of the private key More...
 
AsymmetricKeyParameter PublicKey [get]
 Public part of the key. May be null for unsupported key types. More...
 

Detailed Description

Represents private key accessible via PKCS#11 interface

Member Function Documentation

bool Net.Pkcs11Interop.PDF.PrivateKey.Matches ( Certificate  certificate)

Checks whether specified certificate matches this private key

Parameters
certificateCertificate to be checked
Returns
Null if match cannot be performed, true if certificate matches, false otherwise
bool Net.Pkcs11Interop.PDF.PrivateKey.Matches ( BCX509.X509Certificate  certificate)

Checks whether specified certificate matches this private key

Parameters
certificateCertificate to be checked
Returns
Null if match cannot be performed, true if certificate matches, false otherwise
bool Net.Pkcs11Interop.PDF.PrivateKey.Matches ( X509Certificate2  certificate)

Checks whether specified certificate matches this private key

Parameters
certificateCertificate to be checked
Returns
Null if match cannot be performed, true if certificate matches, false otherwise

Property Documentation

string Net.Pkcs11Interop.PDF.PrivateKey.Id
get

Hex encoded string with identifier (value of CKA_ID attribute) of the private key

string Net.Pkcs11Interop.PDF.PrivateKey.Label
get

Label (value of CKA_LABEL attribute) of the private key

AsymmetricKeyParameter Net.Pkcs11Interop.PDF.PrivateKey.PublicKey
get

Public part of the key. May be null for unsupported key types.


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