| Modifier and Type | Method and Description |
|---|---|
| public CertificateRequest | |
| public CertificateStatus | Returns: ACertificateStatus to be sent to the client (or null for none).This method will be called (only) if the server included an extension of type "status_request" with empty "extension_data" in the extended server hello. |
| public TlsCredentials | Returns: a TlsCredentials object or null for anonymous key exchangesReturn server credentials to use. |
| public TlsDHConfig | |
| public TlsECConfig | |
| public TlsPSKExternal | Returns: theTlsPSKExternal corresponding to the selected identity, or null to not select any.a identities)Vector of PskIdentity instances.Warning EXPERIMENTAL FEATURE, UNSTABLE API
Return the |
| public byte[] | |
| public NewSessionTicket | |
| public TlsPSKIdentityManager | |
| public int | |
| public Hashtable | |
| public void | |
| public Vector | |
| public ProtocolVersion | |
| public TlsSession | Returns: ATlsSession with the specified session ID, or null.the ID of the session to resume. sessionID)Return the specified session, if available. |
| public TlsSRPLoginParameters | |
| public int[] | |
| public void | |
| public void | notifyClientCertificate(Certificate
the effective client certificate (may be an empty chain). clientCertificate)Called by the protocol handler to report the client certificate, only if
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| getCertificateRequest | back to summary |
|---|---|
| public CertificateRequest getCertificateRequest() throws IOException | |
| getCertificateStatus | back to summary |
|---|---|
| public CertificateStatus getCertificateStatus() throws IOException This method will be called (only) if the server included an extension of type
"status_request" with empty "extension_data" in the extended server hello. See RFC 3546
3.6. Certificate Status Request. If a non-null
| |
| getCredentials | back to summary |
|---|---|
| public TlsCredentials getCredentials() throws IOException Return server credentials to use. The returned value may be null, or else it MUST implement
exactly one of
| |
| getDHConfig | back to summary |
|---|---|
| public TlsDHConfig getDHConfig() throws IOException | |
| getECDHConfig | back to summary |
|---|---|
| public TlsECConfig getECDHConfig() throws IOException | |
| getExternalPSK | back to summary |
|---|---|
| public TlsPSKExternal getExternalPSK(Vector<E> identities) Warning EXPERIMENTAL FEATURE, UNSTABLE API
Return the
| |
| getNewSessionID | back to summary |
|---|---|
| public byte[] getNewSessionID() | |
| getNewSessionTicket | back to summary |
|---|---|
| public NewSessionTicket getNewSessionTicket() throws IOException RFC 5077 3.3. NewSessionTicket Handshake Message. This method will be called (only) if a NewSessionTicket extension was sent by the server. See RFC 5077 4. Recommended Ticket Construction for recommended format and protection.
| |
| getPSKIdentityManager | back to summary |
|---|---|
| public TlsPSKIdentityManager getPSKIdentityManager() throws IOException | |
| getSelectedCipherSuite | back to summary |
|---|---|
| public int getSelectedCipherSuite() throws IOException | |
| getServerExtensions | back to summary |
|---|---|
| public Hashtable | |
| getServerExtensionsForConnection | back to summary |
|---|---|
| public void getServerExtensionsForConnection(Hashtable<K, V> serverExtensions) throws IOException | |
| getServerSupplementalData | back to summary |
|---|---|
| public Vector | |
| getServerVersion | back to summary |
|---|---|
| public ProtocolVersion getServerVersion() throws IOException | |
| getSessionToResume | back to summary |
|---|---|
| public TlsSession getSessionToResume(byte[] sessionID) Return the specified session, if available. Note that the peer's certificate chain for the session (if any) may need to be periodically revalidated.
| |
| getSRPLoginParameters | back to summary |
|---|---|
| public TlsSRPLoginParameters getSRPLoginParameters() throws IOException | |
| getSupportedGroups | back to summary |
|---|---|
| public int[] getSupportedGroups() throws IOException | |
| init | back to summary |
|---|---|
| public void init(TlsServerContext context) | |
| notifyClientCertificate | back to summary |
|---|---|
| public void notifyClientCertificate(Certificate clientCertificate) throws IOException Called by the protocol handler to report the client certificate, only if
Note this method is responsible for certificate verification and validation.
| |
| notifyClientVersion | back to summary |
|---|---|
| public void notifyClientVersion(ProtocolVersion clientVersion) throws IOException | |
| notifyFallback | back to summary |
|---|---|
| public void notifyFallback(boolean isFallback) throws IOException | |
| notifyOfferedCipherSuites | back to summary |
|---|---|
| public void notifyOfferedCipherSuites(int[] offeredCipherSuites) throws IOException | |
| notifySession | back to summary |
|---|---|
| public void notifySession(TlsSession session) | |
| processClientExtensions | back to summary |
|---|---|
| public void processClientExtensions(Hashtable<K, V> clientExtensions) throws IOException | |
| processClientSupplementalData | back to summary |
|---|---|
| public void processClientSupplementalData(Vector<E> clientSupplementalData) throws IOException | |