Package org.bouncycastle.crypto.tls
Class SessionParameters
- java.lang.Object
-
- org.bouncycastle.crypto.tls.SessionParameters
-
public final class SessionParameters extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SessionParameters.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
clear()
SessionParameters
copy()
int
getCipherSuite()
short
getCompressionAlgorithm()
byte[]
getMasterSecret()
Certificate
getPeerCertificate()
byte[]
getPskIdentity()
Deprecated.UsegetPSKIdentity()
byte[]
getPSKIdentity()
byte[]
getSRPIdentity()
java.util.Hashtable
readServerExtensions()
-
-
-
Method Detail
-
clear
public void clear()
-
copy
public SessionParameters copy()
-
getCipherSuite
public int getCipherSuite()
-
getCompressionAlgorithm
public short getCompressionAlgorithm()
-
getMasterSecret
public byte[] getMasterSecret()
-
getPeerCertificate
public Certificate getPeerCertificate()
-
getPskIdentity
public byte[] getPskIdentity()
Deprecated.UsegetPSKIdentity()
-
getPSKIdentity
public byte[] getPSKIdentity()
-
getSRPIdentity
public byte[] getSRPIdentity()
-
readServerExtensions
public java.util.Hashtable readServerExtensions() throws java.io.IOException
- Throws:
java.io.IOException
-
-