Servers have the ability to manage the sessions associated with their authentication context(s). They can do this by enumerating the IDs of the sessions which are cached, examining those sessions, and then perhaps invalidating a given session so that it can't be used again. If servers do not explicitly manage the cache, sessions will linger until memory is low enough that the runtime environment purges cache entries automatically to reclaim space.
The only reason this class is not package-private is that there's no other public way to get at the server session context which is associated with any given authentication context.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | acceptLargeFragments
Use large packet sizes now or follow RFC 2246 packet sizes (2^14) until changed. |
| private final ConcurrentHashMap | |
| private final Queue | |
| private CipherSuite | |
| private RandomCookie | |
| private SSLSessionContextImpl | |
| private final long | |
| private static final ArrayList | |
| private static final boolean | |
| private SecretKey | |
| private final String | |
| private final String | |
| private boolean | |
| private boolean | |
| private long | |
| private X509Certificate[] | |
| private PrivateKey | |
| private final Collection | |
| private SecretKey | |
| private int | |
| private int | |
| private X509Certificate[] | |
| private Collection | |
| private final int | |
| private SecretKey | |
| private final ProtocolVersion | |
| private byte[] | |
| private final List | |
| private SecretKey | |
| pack-priv final SNIServerName | |
| private RandomCookie | |
| private final SessionId | |
| private final ReentrantLock | |
| private List | |
| private int | |
| private final long | |
| private byte | |
| pack-priv boolean | |
| private boolean | |
| pack-priv final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv SecretKey | |
| pack-priv byte[] | |
| public boolean | equals(Object obj)
Overrides java. Returns true if sessions have same ids, false otherwise. |
| pack-priv void | |
| public Object | |
| public byte[] | exportKeyingMaterialData(String label, byte[] context, int length)
Overrides javax. Generate Exported Key Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446. |
| public SecretKey | exportKeyingMaterialKey(String keyAlg, String label, byte[] context, int length)
Overrides javax. Generate Exported Key Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446. |
| pack-priv SSLSessionImpl | |
| public int | getApplicationBufferSize()
Implements javax. Gets the current size of the largest application data that is expected when using this session. |
| public X509Certificate[] | Returns: array of peer X.509 certs, with the peer's own cert first in the chain, and with the "root" CA last.Return the cert chain presented by the peer. |
| private static int | |
| public String | getCipherSuite()
Implements javax. Returns the name of the cipher suite in use on this session |
| public long | getCreationTime()
Implements javax. Returns the time this session was created. |
| public byte[] | |
| pack-priv String | |
| public long | getLastAccessedTime()
Implements javax. Returns the last time this session was used to initialize a connection. |
| public Certificate[] | Returns: array of peer X.509 certs, with the peer's own cert first in the chain, and with the "root" CA last.Implements javax. Return the cert chain presented to the peer in the java.security.cert format. |
| public Principal | Returns: the principal sent to the peer. Returns an X500Principal of the end-entity certificate for X509-based cipher suites. If no principal was sent, then null is returned.Implements javax. Returns the principal that was sent to the peer during handshaking. |
| public String[] | getLocalSupportedSignatureAlgorithms()
Implements abstract javax. Gets an array of supported signature algorithm names that the local side is willing to verify. |
| pack-priv Collection | getLocalSupportedSignatureSchemes()
Gets a collection of supported signature schemes that the local side is willing to verify. |
| pack-priv SecretKey | |
| pack-priv int | |
| pack-priv int | Returns: the negotiated maximum fragment length, or-1 if
no such length has been negotiated.Get the negotiated maximum fragment length, as specified by the max_fragment_length ClientHello extension in RFC 6066. |
| public int | getPacketBufferSize()
Implements javax. Gets the current size of the largest SSL/TLS packet that is expected when using this session. |
| public InetAddress | |
| public Certificate[] | Returns: array of peer X.509 certs, with the peer's own cert first in the chain, and with the "root" CA last.Implements javax. Return the cert chain presented by the peer in the java.security.cert format. |
| public String | getPeerHost()
Implements javax. Returns the host name of the peer in this session. |
| public int | getPeerPort()
Implements javax. Need to provide the port info for caching sessions based on host and port. |
| public Principal | Returns: the peer's principal. Returns an X500Principal of the end-entity certificate for X509-based cipher suites.Implements javax. Returns the identity of the peer which was established as part of defining the session. |
| public String[] | getPeerSupportedSignatureAlgorithms()
Implements abstract javax. Gets an array of supported signature algorithms that the peer is able to verify. |
| pack-priv Collection | getPeerSupportedSignatureSchemes()
Gets a collection of supported signature schemes that the peer is willing to verify. |
| pack-priv SecretKey | |
| public String | getProtocol()
Implements javax. Returns the standard name of the protocol in use on this session |
| pack-priv ProtocolVersion | |
| pack-priv byte[] | |
| public List | getRequestedServerNames()
Overrides javax. Obtains a |
| pack-priv SecretKey | |
| public SSLSessionContext | getSessionContext()
Implements javax. For server sessions, this returns the set of sessions which are currently valid in this process. |
| pack-priv SessionId | |
| public List | Returns: an unmodifiableList of byte arrays, each consisting
of a DER-encoded OCSP response (see RFC 6960). If no responses have
been presented by the server or non-certificate based server
authentication is used then an empty List is returned.Overrides javax. Return a List of status responses presented by the peer. |
| pack-priv CipherSuite | |
| pack-priv int | |
| public long | |
| public Object | getValue(String key)
Implements javax. Returns the specified session value. |
| public String[] | getValueNames()
Implements javax. Lists the names of the session values. |
| public int | Returns: the hashcode for this sessionOverrides java. Returns the hashcode for this session. |
| pack-priv byte[] | |
| public void | |
| private boolean | isLocalAuthenticationValid()
Check if the authentication used when establishing this session is still valid. |
| public boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | isSessionResumption()
Return true if the session is currently re-established with a session-resumption abbreviated initial handshake. |
| pack-priv boolean | |
| public boolean | isValid()
Implements javax. Returns whether this session is valid and available for resuming or joining. |
| public void | putValue(String key, Object value)
Implements javax. Assigns a session value. |
| public void | removeValue(String key)
Implements javax. Removes the specified session value, delivering a session changed event as appropriate. |
| pack-priv void | setAsSessionResumption(boolean flag)
Resets whether the session is re-established with a session-resumption abbreviated initial handshake. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | setNegotiatedMaxFragSize(int
the negotiated maximum fragment length, or negotiatedMaxFragLen)-1 if
no such length has been negotiated.Sets the negotiated maximum fragment length, as specified by the max_fragment_length ClientHello extension in RFC 6066. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | setStatusResponses(List<byte[]>
a responses)List of responses in binary form.Provide status response data obtained during the SSL handshake. |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String | |
| pack-priv byte[] |
| acceptLargeFragments | back to summary |
|---|---|
| private boolean acceptLargeFragments Use large packet sizes now or follow RFC 2246 packet sizes (2^14) until changed. In the TLS specification (section 6.2.1, RFC2246), it is not recommended that the plaintext has more than 2^14 bytes. However, some TLS implementations violate the specification. This is a workaround for interoperability with these stacks. Application could accept large fragments up to 2^15 bytes by setting the system property jsse.SSLEngine.acceptLargeFragments to "true". | |
| boundValues | back to summary |
|---|---|
| private final ConcurrentHashMap<String, Object> boundValues | |
| childSessions | back to summary |
|---|---|
| private final Queue<SSLSessionImpl> childSessions | |
| cipherSuite | back to summary |
|---|---|
| private CipherSuite cipherSuite | |
| clientRandom | back to summary |
|---|---|
| private RandomCookie clientRandom | |
| context | back to summary |
|---|---|
| private SSLSessionContextImpl context | |
| creationTime | back to summary |
|---|---|
| private final long creationTime | |
| defaultPeerSupportedSignAlgs | back to summary |
|---|---|
| private static final ArrayList<SignatureScheme> defaultPeerSupportedSignAlgs | |
| defaultRejoinable | back to summary |
|---|---|
| private static final boolean defaultRejoinable | |
| exporterMasterSecret | back to summary |
|---|---|
| private SecretKey exporterMasterSecret | |
| host | back to summary |
|---|---|
| private final String host | |
| identificationProtocol | back to summary |
|---|---|
| private final String identificationProtocol | |
| invalidated | back to summary |
|---|---|
| private boolean invalidated | |
| isSessionResumption | back to summary |
|---|---|
| private boolean isSessionResumption | |
| lastUsedTime | back to summary |
|---|---|
| private long lastUsedTime | |
| localCerts | back to summary |
|---|---|
| private X509Certificate[] localCerts | |
| localPrivateKey | back to summary |
|---|---|
| private PrivateKey localPrivateKey | |
| localSupportedSignAlgs | back to summary |
|---|---|
| private final Collection<SignatureScheme> localSupportedSignAlgs | |
| masterSecret | back to summary |
|---|---|
| private SecretKey masterSecret | |
| maximumPacketSize | back to summary |
|---|---|
| private int maximumPacketSize | |
| negotiatedMaxFragLen | back to summary |
|---|---|
| private int negotiatedMaxFragLen | |
| peerCerts | back to summary |
|---|---|
| private X509Certificate[] peerCerts | |
| peerSupportedSignAlgs | back to summary |
|---|---|
| private Collection<SignatureScheme> peerSupportedSignAlgs | |
| port | back to summary |
|---|---|
| private final int port | |
| preSharedKey | back to summary |
|---|---|
| private SecretKey preSharedKey | |
| protocolVersion | back to summary |
|---|---|
| private final ProtocolVersion protocolVersion | |
| pskIdentity | back to summary |
|---|---|
| private byte[] pskIdentity | |
| requestedServerNames | back to summary |
|---|---|
| private final List<SNIServerName> requestedServerNames | |
| resumptionMasterSecret | back to summary |
|---|---|
| private SecretKey resumptionMasterSecret | |
| serverNameIndication | back to summary |
|---|---|
| pack-priv final SNIServerName serverNameIndication | |
| serverRandom | back to summary |
|---|---|
| private RandomCookie serverRandom | |
| sessionId | back to summary |
|---|---|
| private final SessionId sessionId | |
| sessionLock | back to summary |
|---|---|
| private final ReentrantLock sessionLock | |
| statusResponses | back to summary |
|---|---|
| private List<byte[]> statusResponses | |
| ticketAgeAdd | back to summary |
|---|---|
| private int ticketAgeAdd | |
| ticketCreationTime | back to summary |
|---|---|
| private final long ticketCreationTime | |
| ticketNonceCounter | back to summary |
|---|---|
| private byte ticketNonceCounter | |
| updateNST | back to summary |
|---|---|
| pack-priv boolean updateNST | |
| useDefaultPeerSignAlgs | back to summary |
|---|---|
| private boolean useDefaultPeerSignAlgs | |
| useExtendedMasterSecret | back to summary |
|---|---|
| pack-priv final boolean useExtendedMasterSecret | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl() | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl(HandshakeContext hc, CipherSuite cipherSuite) | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl(HandshakeContext hc, CipherSuite cipherSuite, SessionId id) | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl(HandshakeContext hc, CipherSuite cipherSuite, SessionId id, long creationTime) | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl(SSLSessionImpl baseSession, SessionId newId) | |
| SSLSessionImpl | back to summary |
|---|---|
| pack-priv SSLSessionImpl(HandshakeContext hc, ByteBuffer buf) throws IOException Reassemble new session ticket. < 2 bytes > protocolVersion < 2 bytes > cipherSuite < 1 byte > localSupportedSignAlgs entries < 2 bytes per entries > localSupportedSignAlgs select (protocolVersion) case TLS13Plus: < 2 bytes > preSharedKey length < length in bytes > preSharedKey case non-TLS13Plus: < 2 bytes > masterSecretKey length < length in bytes> masterSecretKey < 1 byte > useExtendedMasterSecret < 1 byte > identificationProtocol length < length in bytes > identificationProtocol < 1 byte > serverNameIndication length < length in bytes > serverNameIndication < 1 byte > Number of requestedServerNames entries For each entry { < 1 byte > ServerName length < length in bytes > ServerName } < 4 bytes > maximumPacketSize < 4 bytes > negotiatedMaxFragSize < 4 bytes > creationTime < 1 byte > Length of peer host < length in bytes > peer host < 2 bytes> peer port < 1 byte > Number of Peer Certificate entries For each entry { < 4 bytes > Peer certificate length < length in bytes> Peer certificate } < 1 byte > Number of Local Certificate entries For each entry { < 1 byte > Local Certificate algorithm length < length in bytes> Local Certificate algorithm < 4 bytes > Certificate checksum } | |
| addChild | back to summary |
|---|---|
| pack-priv void addChild(SSLSessionImpl session) | |
| consumePreSharedKey | back to summary |
|---|---|
| pack-priv SecretKey consumePreSharedKey() | |
| consumePskIdentity | back to summary |
|---|---|
| pack-priv byte[] consumePskIdentity() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Returns true if sessions have same ids, false otherwise.
| |
| expandBufferSizes | back to summary |
|---|---|
| pack-priv void expandBufferSizes() Expand the buffer size of both SSL/TLS network packet and application data. | |
| exportKeyingMaterial | back to summary |
|---|---|
| public Object exportKeyingMaterial(String keyAlg, String label, byte[] context, int length) throws SSLKeyException | |
| exportKeyingMaterialData | back to summary |
|---|---|
| public byte[] exportKeyingMaterialData(String label, byte[] context, int length) throws SSLKeyException Overrides javax. Generate Exported Key Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446.
| |
| exportKeyingMaterialKey | back to summary |
|---|---|
| public SecretKey exportKeyingMaterialKey(String keyAlg, String label, byte[] context, int length) throws SSLKeyException Overrides javax. Generate Exported Key Material (EKM) calculated according to the algorithms defined in RFCs 5705/8446.
| |
| finish | back to summary |
|---|---|
| pack-priv SSLSessionImpl finish() | |
| getApplicationBufferSize | back to summary |
|---|---|
| public int getApplicationBufferSize() Implements javax. Gets the current size of the largest application data that is expected when using this session.
| |
| getCertificateChain | back to summary |
|---|---|
| public X509Certificate[] getCertificateChain() throws SSLPeerUnverifiedException Return the cert chain presented by the peer. Note This method can be used only when using certificate-based cipher suites; using it with non-certificate-based cipher suites will throw an SSLPeerUnverifiedException.
| |
| getChecksum | back to summary |
|---|---|
| private static int getChecksum(byte[] input) | |
| getCipherSuite | back to summary |
|---|---|
| public String getCipherSuite() Implements javax. Returns the name of the cipher suite in use on this session
| |
| getCreationTime | back to summary |
|---|---|
| public long getCreationTime() Implements javax. Returns the time this session was created.
| |
| getId | back to summary |
|---|---|
| public byte[] getId() Implements javax. Returns the ID for this session. The ID is fixed for the duration of the session; neither it, nor its value, changes.
| |
| getIdentificationProtocol | back to summary |
|---|---|
| pack-priv String getIdentificationProtocol() | |
| getLastAccessedTime | back to summary |
|---|---|
| public long getLastAccessedTime() Implements javax. Returns the last time this session was used to initialize a connection.
| |
| getLocalCertificates | back to summary |
|---|---|
| public Certificate[] getLocalCertificates() Implements javax. Return the cert chain presented to the peer in the java.security.cert format. Note This method is useful only when using certificate-based cipher suites.
| |
| getLocalPrincipal | back to summary |
|---|---|
| public Principal getLocalPrincipal() Implements javax. Returns the principal that was sent to the peer during handshaking. | |
| getLocalSupportedSignatureAlgorithms | back to summary |
|---|---|
| public String[] getLocalSupportedSignatureAlgorithms() Implements abstract javax. Gets an array of supported signature algorithm names that the local side is willing to verify.
| |
| getLocalSupportedSignatureSchemes | back to summary |
|---|---|
| pack-priv Collection Gets a collection of supported signature schemes that the local side is willing to verify. | |
| getMasterSecret | back to summary |
|---|---|
| pack-priv SecretKey getMasterSecret() Returns the master secret ... treat with extreme caution! | |
| getMaximumPacketSize | back to summary |
|---|---|
| pack-priv int getMaximumPacketSize() | |
| getNegotiatedMaxFragSize | back to summary |
|---|---|
| pack-priv int getNegotiatedMaxFragSize() Get the negotiated maximum fragment length, as specified by the max_fragment_length ClientHello extension in RFC 6066.
| |
| getPacketBufferSize | back to summary |
|---|---|
| public int getPacketBufferSize() Implements javax. Gets the current size of the largest SSL/TLS packet that is expected when using this session.
| |
| getPeerAddress | back to summary |
|---|---|
| public InetAddress getPeerAddress() Returns the network address of the session's peer. This implementation does not insist that connections between different ports on the same host must necessarily belong to different sessions, though that is of course allowed. | |
| getPeerCertificates | back to summary |
|---|---|
| public Certificate[] getPeerCertificates() throws SSLPeerUnverifiedException Implements javax. Return the cert chain presented by the peer in the java.security.cert format. Note This method can be used only when using certificate-based cipher suites; using it with non-certificate-based cipher suites will throw an SSLPeerUnverifiedException.
| |
| getPeerHost | back to summary |
|---|---|
| public String getPeerHost() Implements javax. Doc from javax. Returns the host name of the peer in this session. For the server, this is the client's host; and for the client, it is the server's host. The name may not be a fully qualified host name or even a host name at all as it may represent a string encoding of the peer's network address. If such a name is desired, it might be resolved through a name service based on the value returned by this method.
This value is not authenticated and should not be relied upon.
It is mainly used as a hint for
| |
| getPeerPort | back to summary |
|---|---|
| public int getPeerPort() Implements javax. Need to provide the port info for caching sessions based on host and port. Accessed by SSLSessionContextImpl
| |
| getPeerPrincipal | back to summary |
|---|---|
| public Principal getPeerPrincipal() throws SSLPeerUnverifiedException Implements javax. Returns the identity of the peer which was established as part of defining the session.
| |
| getPeerSupportedSignatureAlgorithms | back to summary |
|---|---|
| public String[] getPeerSupportedSignatureAlgorithms() Implements abstract javax. Gets an array of supported signature algorithms that the peer is able to verify.
| |
| getPeerSupportedSignatureSchemes | back to summary |
|---|---|
| pack-priv Collection Gets a collection of supported signature schemes that the peer is willing to verify. Those are sent with the "signature_algorithms_cert" TLS extension. | |
| getPreSharedKey | back to summary |
|---|---|
| pack-priv SecretKey getPreSharedKey() | |
| getProtocol | back to summary |
|---|---|
| public String getProtocol() Implements javax. Returns the standard name of the protocol in use on this session
| |
| getProtocolVersion | back to summary |
|---|---|
| pack-priv ProtocolVersion getProtocolVersion() | |
| getPskIdentity | back to summary |
|---|---|
| pack-priv byte[] getPskIdentity() | |
| getRequestedServerNames | back to summary |
|---|---|
| public List Overrides javax. Obtains a
| |
| getResumptionMasterSecret | back to summary |
|---|---|
| pack-priv SecretKey getResumptionMasterSecret() | |
| getSessionContext | back to summary |
|---|---|
| public SSLSessionContext getSessionContext() Implements javax. For server sessions, this returns the set of sessions which are currently valid in this process. For client sessions, this returns null.
| |
| getSessionId | back to summary |
|---|---|
| pack-priv SessionId getSessionId() | |
| getStatusResponses | back to summary |
|---|---|
| public List Overrides javax. Return a List of status responses presented by the peer. Note This method can be used only when using certificate-based
server authentication; otherwise an empty | |
| getSuite | back to summary |
|---|---|
| pack-priv CipherSuite getSuite() Returns the cipher spec in use on this session | |
| getTicketAgeAdd | back to summary |
|---|---|
| pack-priv int getTicketAgeAdd() | |
| getTicketCreationTime | back to summary |
|---|---|
| public long getTicketCreationTime() | |
| getValue | back to summary |
|---|---|
| public Object getValue(String key) Implements javax. Returns the specified session value.
| |
| getValueNames | back to summary |
|---|---|
| public String[] getValueNames() Implements javax. Lists the names of the session values.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns the hashcode for this session.
| |
| incrTicketNonceCounter | back to summary |
|---|---|
| pack-priv byte[] incrTicketNonceCounter() | |
| invalidate | back to summary |
|---|---|
| public void invalidate() Implements javax. Invalidate a session. Active connections may still exist, but no connections will be able to rejoin this session.
| |
| isLocalAuthenticationValid | back to summary |
|---|---|
| private boolean isLocalAuthenticationValid() Check if the authentication used when establishing this session is still valid. Returns true if no authentication was used | |
| isPSK | back to summary |
|---|---|
| public boolean isPSK() | |
| isPSKable | back to summary |
|---|---|
| pack-priv boolean isPSKable() | |
| isRejoinable | back to summary |
|---|---|
| pack-priv boolean isRejoinable() Returns true iff this session may be resumed ... sessions are usually resumable. Security policies may suggest otherwise, for example sessions that haven't been used for a while (say, a working day) won't be resumable, and sessions might have a maximum lifetime in any case. | |
| isSessionResumption | back to summary |
|---|---|
| pack-priv boolean isSessionResumption() Return true if the session is currently re-established with a session-resumption abbreviated initial handshake. | |
| isStatelessable | back to summary |
|---|---|
| pack-priv boolean isStatelessable() | |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements javax. Doc from javax. Returns whether this session is valid and available for resuming or joining.
| |
| putValue | back to summary |
|---|---|
| public void putValue(String key, Object value) Implements javax. Assigns a session value. Session change events are given if appropriate, to any original value as well as the new value.
| |
| removeValue | back to summary |
|---|---|
| public void removeValue(String key) Implements javax. Removes the specified session value, delivering a session changed event as appropriate.
| |
| setAsSessionResumption | back to summary |
|---|---|
| pack-priv void setAsSessionResumption(boolean flag) Resets whether the session is re-established with a session-resumption abbreviated initial handshake. | |
| setContext | back to summary |
|---|---|
| pack-priv void setContext(SSLSessionContextImpl ctx) | |
| setExporterMasterSecret | back to summary |
|---|---|
| pack-priv void setExporterMasterSecret(SecretKey secret) | |
| setLastAccessedTime | back to summary |
|---|---|
| pack-priv void setLastAccessedTime(long time) | |
| setLocalCertificates | back to summary |
|---|---|
| pack-priv void setLocalCertificates(X509Certificate[] local) | |
| setLocalPrivateKey | back to summary |
|---|---|
| pack-priv void setLocalPrivateKey(PrivateKey privateKey) | |
| setMasterSecret | back to summary |
|---|---|
| pack-priv void setMasterSecret(SecretKey secret) | |
| setMaximumPacketSize | back to summary |
|---|---|
| pack-priv void setMaximumPacketSize(int maximumPacketSize) | |
| setNegotiatedMaxFragSize | back to summary |
|---|---|
| pack-priv void setNegotiatedMaxFragSize(int negotiatedMaxFragLen) Sets the negotiated maximum fragment length, as specified by the max_fragment_length ClientHello extension in RFC 6066.
| |
| setPeerCertificates | back to summary |
|---|---|
| pack-priv void setPeerCertificates(X509Certificate[] peer) | |
| setPeerSupportedSignatureAlgorithms | back to summary |
|---|---|
| pack-priv void setPeerSupportedSignatureAlgorithms(Collection<SignatureScheme> signatureSchemes) | |
| setPreSharedKey | back to summary |
|---|---|
| pack-priv void setPreSharedKey(SecretKey key) | |
| setPskIdentity | back to summary |
|---|---|
| pack-priv void setPskIdentity(byte[] pskIdentity) | |
| setRandoms | back to summary |
|---|---|
| pack-priv void setRandoms(RandomCookie client, RandomCookie server) | |
| setResumptionMasterSecret | back to summary |
|---|---|
| pack-priv void setResumptionMasterSecret(SecretKey secret) | |
| setStatusResponses | back to summary |
|---|---|
| pack-priv void setStatusResponses(List<byte[]> responses) Provide status response data obtained during the SSL handshake. | |
| setSuite | back to summary |
|---|---|
| pack-priv void setSuite(CipherSuite suite) Resets the cipher spec in use on this session | |
| setTicketAgeAdd | back to summary |
|---|---|
| pack-priv void setTicketAgeAdd(int ticketAgeAdd) | |
| setUseDefaultPeerSignAlgs | back to summary |
|---|---|
| pack-priv void setUseDefaultPeerSignAlgs() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a string representation of this SSL session
| |
| write | back to summary |
|---|---|
| pack-priv byte[] write() throws Exception Write out a SSLSessionImpl in a byte array for a stateless session ticket | |