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 classSessionParameters.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclear()SessionParameterscopy()intgetCipherSuite()shortgetCompressionAlgorithm()byte[]getMasterSecret()CertificategetPeerCertificate()byte[]getPskIdentity()Deprecated.UsegetPSKIdentity()byte[]getPSKIdentity()byte[]getSRPIdentity()booleanisExtendedMasterSecret()java.util.HashtablereadServerExtensions()
-
-
-
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()
-
isExtendedMasterSecret
public boolean isExtendedMasterSecret()
-
readServerExtensions
public java.util.Hashtable readServerExtensions() throws java.io.IOException- Throws:
java.io.IOException
-
-