Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class DefaultTlsAgreementCredentials

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.AbstractTlsCredentials
      extended byorg.bouncycastle.crypto.tls.AbstractTlsAgreementCredentials
          extended byorg.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


Field Summary
protected  BasicAgreement basicAgreement
          Deprecated.  
protected  Certificate certificate
          Deprecated.  
protected  AsymmetricKeyParameter privateKey
          Deprecated.  
protected  boolean truncateAgreement
          Deprecated.  
 
Constructor Summary
DefaultTlsAgreementCredentials(Certificate certificate, AsymmetricKeyParameter privateKey)
          Deprecated.  
 
Method Summary
 byte[] generateAgreement(AsymmetricKeyParameter peerPublicKey)
          Deprecated.  
 Certificate getCertificate()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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. 

Bouncy Castle Cryptography Library 1.64