Package org.bouncycastle.crypto.tls
Class SessionParameters
- java.lang.Object
-
- org.bouncycastle.crypto.tls.SessionParameters
-
public final class SessionParameters extends java.lang.ObjectDeprecated.Migrate to the (D)TLS API in org.bouncycastle.tls (bctls jar).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSessionParameters.BuilderDeprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()Deprecated.SessionParameterscopy()Deprecated.intgetCipherSuite()Deprecated.shortgetCompressionAlgorithm()Deprecated.byte[]getMasterSecret()Deprecated.CertificategetPeerCertificate()Deprecated.byte[]getPskIdentity()Deprecated.UsegetPSKIdentity()byte[]getPSKIdentity()Deprecated.byte[]getSRPIdentity()Deprecated.booleanisExtendedMasterSecret()Deprecated.java.util.HashtablereadServerExtensions()Deprecated.
-
-
-
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.UsegetPSKIdentity()
-
getPSKIdentity
public byte[] getPSKIdentity()
Deprecated.
-
getSRPIdentity
public byte[] getSRPIdentity()
Deprecated.
-
isExtendedMasterSecret
public boolean isExtendedMasterSecret()
Deprecated.
-
readServerExtensions
public java.util.Hashtable readServerExtensions() throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
-