public interface TlsServer extends TlsPeer
getCipher, getCompression, notifyAlertRaised, notifyAlertReceived, notifyHandshakeComplete, notifySecureRenegotiation, requiresExtendedMasterSecret, shouldUseGMTUnixTimevoid init(TlsServerContext context)
void notifyClientVersion(ProtocolVersion clientVersion) throws IOException
IOExceptionvoid notifyFallback(boolean isFallback)
throws IOException
IOExceptionvoid notifyOfferedCipherSuites(int[] offeredCipherSuites)
throws IOException
IOExceptionvoid notifyOfferedCompressionMethods(short[] offeredCompressionMethods)
throws IOException
IOExceptionvoid processClientExtensions(Hashtable clientExtensions) throws IOException
IOExceptionProtocolVersion getServerVersion() throws IOException
IOExceptionint getSelectedCipherSuite()
throws IOException
IOExceptionshort getSelectedCompressionMethod()
throws IOException
IOExceptionHashtable getServerExtensions() throws IOException
IOExceptionVector getServerSupplementalData() throws IOException
IOExceptionTlsCredentials getCredentials() throws IOException
IOExceptionCertificateStatus getCertificateStatus() throws IOException
CertificateStatus is returned, it
is sent to the client as a handshake message of type "certificate_status".CertificateStatus to be sent to the client (or null for none).IOExceptionTlsKeyExchange getKeyExchange() throws IOException
IOExceptionCertificateRequest getCertificateRequest() throws IOException
IOExceptionvoid processClientSupplementalData(Vector clientSupplementalData) throws IOException
IOExceptionvoid notifyClientCertificate(Certificate clientCertificate) throws IOException
getCertificateRequest() returned non-null.
Note: this method is responsible for certificate verification and validation.clientCertificate - the effective client certificate (may be an empty chain).IOExceptionNewSessionTicket getNewSessionTicket() throws IOException
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.
IOExceptionCopyright © 2015–2021 The veraPDF Consortium. All rights reserved.