Package 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
public class DefaultTlsAgreementCredentials extends AbstractTlsAgreementCredentials
Deprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Field Summary
Fields Modifier and Type Field Description protected BasicAgreementbasicAgreementDeprecated.protected CertificatecertificateDeprecated.protected AsymmetricKeyParameterprivateKeyDeprecated.protected booleantruncateAgreementDeprecated.
-
Constructor Summary
Constructors Constructor Description DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]generateAgreement(AsymmetricKeyParameter peerPublicKey)Deprecated.CertificategetCertificate()Deprecated.
-
-
-
Field Detail
-
certificate
protected Certificate certificate
Deprecated.
-
privateKey
protected AsymmetricKeyParameter privateKey
Deprecated.
-
basicAgreement
protected BasicAgreement basicAgreement
Deprecated.
-
truncateAgreement
protected boolean truncateAgreement
Deprecated.
-
-
Constructor Detail
-
DefaultTlsAgreementCredentials
public DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey)
Deprecated.
-
-
Method Detail
-
getCertificate
public Certificate getCertificate()
Deprecated.
-
generateAgreement
public byte[] generateAgreement(AsymmetricKeyParameter peerPublicKey)
Deprecated.
-
-