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 Modifier and Type Method Description void
clear()
SessionParameters
copy()
int
getCipherSuite()
Certificate
getLocalCertificate()
TlsSecret
getMasterSecret()
ProtocolVersion
getNegotiatedVersion()
Certificate
getPeerCertificate()
byte[]
getPSKIdentity()
byte[]
getSRPIdentity()
boolean
isExtendedMasterSecret()
java.util.Hashtable
readServerExtensions()
-
-
-
Method Detail
-
clear
public void clear()
-
copy
public SessionParameters copy()
-
getCipherSuite
public int getCipherSuite()
-
getLocalCertificate
public Certificate getLocalCertificate()
-
getMasterSecret
public TlsSecret getMasterSecret()
-
getNegotiatedVersion
public ProtocolVersion getNegotiatedVersion()
-
getPeerCertificate
public Certificate getPeerCertificate()
-
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
-
-