Class DefaultTlsSignerCredentials
- Namespace
- Enterprises.Org.BouncyCastle.Crypto.Tls
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class DefaultTlsSignerCredentials : AbstractTlsSignerCredentials, TlsSignerCredentials, TlsCredentials
- Inheritance
-
DefaultTlsSignerCredentials
- Implements
-
- Inherited Members
-
Constructors
DefaultTlsSignerCredentials(TlsContext, Certificate, AsymmetricKeyParameter)
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey)
Parameters
context
TlsContext
certificate
Certificate
privateKey
AsymmetricKeyParameter
DefaultTlsSignerCredentials(TlsContext, Certificate, AsymmetricKeyParameter, SignatureAndHashAlgorithm)
public DefaultTlsSignerCredentials(TlsContext context, Certificate certificate, AsymmetricKeyParameter privateKey, SignatureAndHashAlgorithm signatureAndHashAlgorithm)
Parameters
context
TlsContext
certificate
Certificate
privateKey
AsymmetricKeyParameter
signatureAndHashAlgorithm
SignatureAndHashAlgorithm
Fields
mCertificate
protected readonly Certificate mCertificate
Field Value
- Certificate
mContext
protected readonly TlsContext mContext
Field Value
- TlsContext
mPrivateKey
protected readonly AsymmetricKeyParameter mPrivateKey
Field Value
- AsymmetricKeyParameter
mSignatureAndHashAlgorithm
protected readonly SignatureAndHashAlgorithm mSignatureAndHashAlgorithm
Field Value
- SignatureAndHashAlgorithm
mSigner
protected readonly TlsSigner mSigner
Field Value
- TlsSigner
Properties
Certificate
public override Certificate Certificate { get; }
Property Value
- Certificate
SignatureAndHashAlgorithm
public override SignatureAndHashAlgorithm SignatureAndHashAlgorithm { get; }
Property Value
- SignatureAndHashAlgorithm
Methods
GenerateCertificateSignature(byte[])
public override byte[] GenerateCertificateSignature(byte[] hash)
Parameters
hash
byte[]
Returns
- byte[]