Package org.bouncycastle.tls
Class SessionParameters.Builder
java.lang.Object
org.bouncycastle.tls.SessionParameters.Builder
- Enclosing class:
SessionParameters
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
setCipherSuite
(int cipherSuite) setExtendedMasterSecret
(boolean extendedMasterSecret) setLocalCertificate
(Certificate localCertificate) setMasterSecret
(TlsSecret masterSecret) setNegotiatedVersion
(ProtocolVersion negotiatedVersion) setPeerCertificate
(Certificate peerCertificate) setPSKIdentity
(byte[] pskIdentity) setServerExtensions
(Hashtable serverExtensions) setSRPIdentity
(byte[] srpIdentity)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
setCipherSuite
-
setExtendedMasterSecret
-
setLocalCertificate
-
setMasterSecret
-
setNegotiatedVersion
-
setPeerCertificate
-
setPSKIdentity
-
setSRPIdentity
-
setServerExtensions
- Throws:
IOException
-