A C E F G I J M N O P R S T U V 

A

allAccumulatedCerts - Variable in class usn.net.ssl.util.InstallCert.SavingTrustManager
 
ask(String) - Static method in class usn.net.ssl.util.InstallCert
 

C

checkClientTrusted(X509Certificate[], String) - Method in class usn.net.ssl.util.InstallCert.SavingTrustManager
 
checkServerTrusted(X509Certificate[], String) - Method in class usn.net.ssl.util.InstallCert.SavingTrustManager
 
consider(String, int) - Static method in class usn.net.ssl.util.Starttls
Make an effort to guess the right application protocol for STARTTLS extension, either by standard port or by interrogating the user; then obtain the appropriate protocol handler and run it.
context - Static variable in class usn.net.ssl.util.InstallCert
 
createSocket(Socket, String, int, boolean) - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
createSocket(InetAddress, int) - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
createSocket(String, int) - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
createSocket() - Method in class usn.net.ssl.util.SavingSSLSocketFactory
Bypass the default javax.net.SocketFactory implementation that throws java.net.SocketException with nested java.lang.UnsupportedOperationException with "Unconnected sockets not implemented" message.

E

EXTRA_CERTS_FILE_NAME - Static variable in class usn.net.ssl.util.InstallCert
 

F

factory - Variable in class usn.net.ssl.util.SavingSSLSocketFactory
 

G

getAcceptedIssuers() - Method in class usn.net.ssl.util.InstallCert.SavingTrustManager
 
getByPort(int) - Static method in enum usn.net.ssl.util.Starttls.Protocol
Guess a protocol with given port number
getCommonName(X509Certificate) - Static method in class usn.net.ssl.util.InstallCert
 
getDefaultCipherSuites() - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 
getSupportedCipherSuites() - Method in class usn.net.ssl.util.SavingSSLSocketFactory
 

I

InstallCert - Class in usn.net.ssl.util
A program to obtain SSL certificate(s) from a host and save them to a keystore and optionally install them in local JSSE storage; the program collects SSL/TLS certificates from plain SSL/TLS hosts, and also from hosts that operate with STARTTLS extension for LDAP, SMTP, POP3 and IMAP.
InstallCert.SavingTrustManager - Class in usn.net.ssl.util
An X509TrustManager subclass that accumulates unknown certificates in order to allow saving them afterwards.
InstallCert.SavingTrustManager(X509TrustManager, KeyStore) - Constructor for class usn.net.ssl.util.InstallCert.SavingTrustManager
The constructor.

J

joinStringArray(String[], String) - Static method in class usn.net.ssl.util.InstallCert
 

M

main(String[]) - Static method in class usn.net.ssl.util.InstallCert
Run the program from command line.

N

newCerts - Variable in class usn.net.ssl.util.InstallCert.SavingTrustManager
 

O

obtainProtocolHandlerAndRun(String, String, int) - Static method in class usn.net.ssl.util.Starttls
Load a given application specific protocol STARTTLS handler and run it.

P

parentTm - Variable in class usn.net.ssl.util.InstallCert.SavingTrustManager
 
port - Variable in enum usn.net.ssl.util.Starttls.Protocol
The standard port for a protocol
PROGRAM_TERMINATED - Static variable in class usn.net.ssl.util.InstallCert
 

R

run(String, int) - Method in interface usn.net.ssl.util.StarttlsHandler
Do the application protocol specific actions to initiate a protocol specific STARTTLS session, starting from a new connection.
run(String, int) - Method in class usn.net.ssl.util.StarttlsHandlerIMAP
 
run(String, int) - Method in class usn.net.ssl.util.StarttlsHandlerLDAP
 
run(String, int) - Method in class usn.net.ssl.util.StarttlsHandlerPOP3
 
run(String, int) - Method in class usn.net.ssl.util.StarttlsHandlerSMTP
 

S

savedArgs - Static variable in class usn.net.ssl.util.InstallCert
 
SavingSSLSocketFactory - Class in usn.net.ssl.util
An SSLSocketFactory subclass that takes care of using InstallCert.SavingTrustManager as X509TrustManager subclass to collect server certificates and allows creating unconnected sockets, as required by JavaMail protocol handlers.
SavingSSLSocketFactory() - Constructor for class usn.net.ssl.util.SavingSSLSocketFactory
 
Starttls - Class in usn.net.ssl.util
A STARTTLS protocol extension wrapper class that makes an effort to decide on the application protocol to try and runs an appropriate protocol handler.
Starttls() - Constructor for class usn.net.ssl.util.Starttls
 
Starttls.Protocol - Enum in usn.net.ssl.util
Enumeration of known application-level TCP-based protocols that support STARTTLS extension, with their standard port numbers.
StarttlsHandler - Interface in usn.net.ssl.util
An interface to be implemented by application protocol specific STARTTLS handlers, to be used by Starttls class.
StarttlsHandlerIMAP - Class in usn.net.ssl.util
A StarttlsHandler implementation for IMAP protocol.
StarttlsHandlerIMAP() - Constructor for class usn.net.ssl.util.StarttlsHandlerIMAP
 
StarttlsHandlerLDAP - Class in usn.net.ssl.util
A StarttlsHandler implementation for LDAP protocol.
StarttlsHandlerLDAP() - Constructor for class usn.net.ssl.util.StarttlsHandlerLDAP
 
StarttlsHandlerPOP3 - Class in usn.net.ssl.util
A StarttlsHandler implementation for POP3 protocol.
StarttlsHandlerPOP3() - Constructor for class usn.net.ssl.util.StarttlsHandlerPOP3
 
StarttlsHandlerSMTP - Class in usn.net.ssl.util
A StarttlsHandler implementation for SMTP protocol.
StarttlsHandlerSMTP() - Constructor for class usn.net.ssl.util.StarttlsHandlerSMTP
 

T

terminateWithErrorMessage(Throwable, String) - Static method in class usn.net.ssl.util.InstallCert
 
terminateWithUsageMessage() - Static method in class usn.net.ssl.util.InstallCert
 
toHexString(byte[]) - Static method in class usn.net.ssl.util.InstallCert
 

U

usn.net.ssl.util - package usn.net.ssl.util
 

V

valueOf(String) - Static method in enum usn.net.ssl.util.Starttls.Protocol
Returns the enum constant of this type with the specified name.
values() - Static method in enum usn.net.ssl.util.Starttls.Protocol
Returns an array containing the constants of this enum type, in the order they are declared.
A C E F G I J M N O P R S T U V