Package org.bouncycastle.tls
Class SessionParameters
- java.lang.Object
-
- org.bouncycastle.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()
Certificate
getLocalCertificate()
TlsSecret
getMasterSecret()
ProtocolVersion
getNegotiatedVersion()
Certificate
getPeerCertificate()
byte[]
getPskIdentity()
Deprecated.UsegetPSKIdentity()
byte[]
getPSKIdentity()
byte[]
getSRPIdentity()
boolean
isExtendedMasterSecret()
java.util.Hashtable
readServerExtensions()
-
-
-
Method Detail
-
clear
public void clear()
-
copy
public SessionParameters copy()
-
getCipherSuite
public int getCipherSuite()
-
getCompressionAlgorithm
public short getCompressionAlgorithm()
-
getLocalCertificate
public Certificate getLocalCertificate()
-
getMasterSecret
public TlsSecret getMasterSecret()
-
getNegotiatedVersion
public ProtocolVersion getNegotiatedVersion()
-
getPeerCertificate
public Certificate getPeerCertificate()
-
getPskIdentity
public byte[] getPskIdentity()
Deprecated.UsegetPSKIdentity()
-
getPSKIdentity
public byte[] getPSKIdentity()
-
getSRPIdentity
public byte[] getSRPIdentity()
-
isExtendedMasterSecret
public boolean isExtendedMasterSecret()
-
readServerExtensions
public java.util.Hashtable readServerExtensions() throws java.io.IOException
- Throws:
java.io.IOException
-
-