public class DefaultTlsSignerCredentials extends Object implements TlsSignerCredentials
Modifier and Type | Field and Description |
---|---|
protected Certificate |
clientCert |
protected AsymmetricKeyParameter |
clientPrivateKey |
protected old.org.bouncycastle.crypto.tls.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 old.org.bouncycastle.crypto.tls.TlsSigner clientSigner
public DefaultTlsSignerCredentials(TlsClientContext context, Certificate clientCertificate, AsymmetricKeyParameter clientPrivateKey)
public Certificate getCertificate()
getCertificate
in interface TlsCredentials
public byte[] generateCertificateSignature(byte[] md5andsha1) throws IOException
generateCertificateSignature
in interface TlsSignerCredentials
IOException
Copyright © 2015. All rights reserved.