org.bouncycastle.crypto.tls
Class DefaultTlsSignerCredentials
java.lang.Object
org.bouncycastle.crypto.tls.DefaultTlsSignerCredentials
- All Implemented Interfaces:
- TlsCredentials, TlsSignerCredentials
public class DefaultTlsSignerCredentials
- extends java.lang.Object
- implements TlsSignerCredentials
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected TlsClientContext context
clientCert
protected Certificate clientCert
clientPrivateKey
protected AsymmetricKeyParameter clientPrivateKey
clientSigner
protected org.bouncycastle.crypto.tls.TlsSigner clientSigner
DefaultTlsSignerCredentials
public DefaultTlsSignerCredentials(TlsClientContext context,
Certificate clientCertificate,
AsymmetricKeyParameter clientPrivateKey)
getCertificate
public Certificate getCertificate()
- Specified by:
getCertificate
in interface TlsCredentials
generateCertificateSignature
public byte[] generateCertificateSignature(byte[] md5andsha1)
throws java.io.IOException
- Specified by:
generateCertificateSignature
in interface TlsSignerCredentials
- Throws:
java.io.IOException