Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.tls
Class SessionParameters

java.lang.Object
  extended byorg.bouncycastle.crypto.tls.SessionParameters

Deprecated. Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).

public final class SessionParameters
extends java.lang.Object


Nested Class Summary
static class SessionParameters.Builder
          Deprecated.  
 
Method Summary
 void clear()
          Deprecated.  
 SessionParameters copy()
          Deprecated.  
 int getCipherSuite()
          Deprecated.  
 short getCompressionAlgorithm()
          Deprecated.  
 byte[] getMasterSecret()
          Deprecated.  
 Certificate getPeerCertificate()
          Deprecated.  
 byte[] getPskIdentity()
          Deprecated. Use getPSKIdentity()
 byte[] getPSKIdentity()
          Deprecated.  
 byte[] getSRPIdentity()
          Deprecated.  
 boolean isExtendedMasterSecret()
          Deprecated.  
 java.util.Hashtable readServerExtensions()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()
Deprecated. 

copy

public SessionParameters copy()
Deprecated. 

getCipherSuite

public int getCipherSuite()
Deprecated. 

getCompressionAlgorithm

public short getCompressionAlgorithm()
Deprecated. 

getMasterSecret

public byte[] getMasterSecret()
Deprecated. 

getPeerCertificate

public Certificate getPeerCertificate()
Deprecated. 

getPskIdentity

public byte[] getPskIdentity()
Deprecated. Use getPSKIdentity()


getPSKIdentity

public byte[] getPSKIdentity()
Deprecated. 

getSRPIdentity

public byte[] getSRPIdentity()
Deprecated. 

isExtendedMasterSecret

public boolean isExtendedMasterSecret()
Deprecated. 

readServerExtensions

public java.util.Hashtable readServerExtensions()
                                         throws java.io.IOException
Deprecated. 
Throws:
java.io.IOException

Bouncy Castle Cryptography Library 1.64