org.bouncycastle.crypto.tls
Class DefaultTlsAgreementCredentials
java.lang.Object
|
+--org.bouncycastle.crypto.tls.AbstractTlsCredentials
|
+--org.bouncycastle.crypto.tls.AbstractTlsAgreementCredentials
|
+--org.bouncycastle.crypto.tls.DefaultTlsAgreementCredentials
- All Implemented Interfaces:
- TlsAgreementCredentials, TlsCredentials
Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
- public class DefaultTlsAgreementCredentials
- extends AbstractTlsAgreementCredentials
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
certificate
protected Certificate certificate
- Deprecated.
privateKey
protected AsymmetricKeyParameter privateKey
- Deprecated.
basicAgreement
protected BasicAgreement basicAgreement
- Deprecated.
truncateAgreement
protected boolean truncateAgreement
- Deprecated.
DefaultTlsAgreementCredentials
public DefaultTlsAgreementCredentials(Certificate certificate,
AsymmetricKeyParameter privateKey)
- Deprecated.
getCertificate
public Certificate getCertificate()
- Deprecated.
generateAgreement
public byte[] generateAgreement(AsymmetricKeyParameter peerPublicKey)
- Deprecated.