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

Represents certificate accessible via PKCS#11 interface More...

Public Member Functions

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

Properties

string Id [get]
 Hex encoded string with identifier (value of CKA_ID attribute) of the certificate More...
 
string Label [get]
 Label (value of CKA_LABEL attribute) of the certificate More...
 
byte[] Data [get]
 DER encoded certificate data More...
 
AsymmetricKeyParameter PublicKey [get]
 Certified public key More...
 

Detailed Description

Represents certificate accessible via PKCS#11 interface

Member Function Documentation

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

Checks whether specified private key matches this certificate

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

Checks whether specified certificate matches this certificate

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

Checks whether specified certificate matches this certificate

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

Property Documentation

byte [] Net.Pkcs11Interop.PDF.Certificate.Data
get

DER encoded certificate data

string Net.Pkcs11Interop.PDF.Certificate.Id
get

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

string Net.Pkcs11Interop.PDF.Certificate.Label
get

Label (value of CKA_LABEL attribute) of the certificate

AsymmetricKeyParameter Net.Pkcs11Interop.PDF.Certificate.PublicKey
get

Certified public key


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