C# Class VaultSharp.Backends.Authentication.Models.Certificate.CertificateAuthenticationInfo

Represents the login information for the Certificate Authentication backend.
Inheritance: IAuthenticationInfo
Exibir arquivo Open project: rajanadar/VaultSharp Class Usage Examples

Public Methods

Method Description
CertificateAuthenticationInfo ( X509Certificate2 clientCertificate ) : System.Security.Cryptography.X509Certificates

Initializes a new instance of the CertificateAuthenticationInfo class.

CertificateAuthenticationInfo ( string mountPoint, X509Certificate2 clientCertificate ) : System.Security.Cryptography.X509Certificates

Initializes a new instance of the CertificateAuthenticationInfo class.

Method Details

CertificateAuthenticationInfo() public method

Initializes a new instance of the CertificateAuthenticationInfo class.
public CertificateAuthenticationInfo ( X509Certificate2 clientCertificate ) : System.Security.Cryptography.X509Certificates
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 The client certificate.
return System.Security.Cryptography.X509Certificates

CertificateAuthenticationInfo() public method

Initializes a new instance of the CertificateAuthenticationInfo class.
public CertificateAuthenticationInfo ( string mountPoint, X509Certificate2 clientCertificate ) : System.Security.Cryptography.X509Certificates
mountPoint string The mount point.
clientCertificate System.Security.Cryptography.X509Certificates.X509Certificate2 The client certificate.
return System.Security.Cryptography.X509Certificates