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 TlsContext context
certificate
protected Certificate certificate
privateKey
protected AsymmetricKeyParameter privateKey
signer
protected TlsSigner signer
DefaultTlsSignerCredentials
public DefaultTlsSignerCredentials(TlsContext context,
Certificate certificate,
AsymmetricKeyParameter privateKey)
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