public class DefaultTlsSignerCredentials extends java.lang.Object implements TlsSignerCredentials
Modifier and Type | Field and Description |
---|---|
protected Certificate |
clientCert |
protected AsymmetricKeyParameter |
clientPrivateKey |
protected TlsSigner |
clientSigner |
protected TlsClientContext |
context |
Constructor and Description |
---|
DefaultTlsSignerCredentials(TlsClientContext context,
Certificate clientCertificate,
AsymmetricKeyParameter clientPrivateKey) |
Modifier and Type | Method and Description |
---|---|
byte[] |
generateCertificateSignature(byte[] md5andsha1) |
Certificate |
getCertificate() |
protected TlsClientContext context
protected Certificate clientCert
protected AsymmetricKeyParameter clientPrivateKey
protected TlsSigner clientSigner
public DefaultTlsSignerCredentials(TlsClientContext context, Certificate clientCertificate, AsymmetricKeyParameter clientPrivateKey)
public Certificate getCertificate()
getCertificate
in interface TlsCredentials
public byte[] generateCertificateSignature(byte[] md5andsha1) throws java.io.IOException
generateCertificateSignature
in interface TlsSignerCredentials
java.io.IOException