C# Class Opc.Ua.Security.CertificateIdentifier

An identifier for a certificate.
ファイルを表示 Open project: OPCFoundation/Misc-Tools Class Usage Examples

Public Methods

Method Description
Find ( ) : System.Security.Cryptography.X509Certificates.X509Certificate2

Gets the certificate associated with the identifier.

Find ( bool needPrivateKey ) : System.Security.Cryptography.X509Certificates.X509Certificate2

Gets the certificate associated with the identifier.

GetPrivateKeyFilePath ( ) : string

Gets the private key file path.

OpenStore ( ) : ICertificateStore

Opens the certificate store.

Method Details

Find() public method

Gets the certificate associated with the identifier.
public Find ( ) : System.Security.Cryptography.X509Certificates.X509Certificate2
return System.Security.Cryptography.X509Certificates.X509Certificate2

Find() public method

Gets the certificate associated with the identifier.
public Find ( bool needPrivateKey ) : System.Security.Cryptography.X509Certificates.X509Certificate2
needPrivateKey bool
return System.Security.Cryptography.X509Certificates.X509Certificate2

GetPrivateKeyFilePath() public method

Gets the private key file path.
public GetPrivateKeyFilePath ( ) : string
return string

OpenStore() public method

Opens the certificate store.
public OpenStore ( ) : ICertificateStore
return ICertificateStore