- GeneralSecurityException - Exception in java.security
-
The GeneralSecurityException
class is a generic
security exception class that provides type safety for all the
security-related exception classes that extend from it.
- GeneralSecurityException() - Constructor for exception java.security.GeneralSecurityException
-
Constructs a GeneralSecurityException with no detail message.
- GeneralSecurityException(String) - Constructor for exception java.security.GeneralSecurityException
-
Constructs a GeneralSecurityException with the specified detail
message.
- GeneralSecurityException(String, Throwable) - Constructor for exception java.security.GeneralSecurityException
-
Creates a GeneralSecurityException
with the specified
detail message and cause.
- GeneralSecurityException(Throwable) - Constructor for exception java.security.GeneralSecurityException
-
Creates a GeneralSecurityException
with the specified cause
and a detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
- generateCertificate(InputStream) - Method in class java.security.cert.CertificateFactory
-
Generates a certificate object and initializes it with
the data read from the input stream inStream
.
- getAlgorithm() - Method in class javax.net.ssl.KeyManagerFactory
-
Returns the algorithm name of this KeyManagerFactory
object.
- getAlgorithm() - Method in class javax.net.ssl.TrustManagerFactory
-
Returns the algorithm name of this TrustManagerFactory
object.
- getCertificate(String) - Method in class java.security.KeyStore
-
Returns the certificate associated with the given alias.
- getCertificateChain(String) - Method in class java.security.KeyStore
-
Returns the certificate chain associated with the given alias.
- getDefault() - Static method in class javax.net.SocketFactory
-
Returns a copy of the environment's default socket factory.
- getDefault() - Static method in class javax.net.ssl.SSLContext
-
Returns the default SSL context.
- getDefault() - Static method in class javax.net.ssl.SSLServerSocketFactory
-
Returns the default SSL server socket factory.
- getDefault() - Static method in class javax.net.ssl.SSLSocketFactory
-
Returns the default SSL socket factory.
- getDefaultAlgorithm() - Static method in class javax.net.ssl.KeyManagerFactory
-
Obtains the default KeyManagerFactory algorithm name.
- getDefaultAlgorithm() - Static method in class javax.net.ssl.TrustManagerFactory
-
Obtains the default TrustManagerFactory algorithm name.
- getDefaultType() - Static method in class java.security.KeyStore
-
Returns the default keystore type as specified by the
keystore.type
security property, or the string
"jks" (acronym for "Java keystore")
if no such property exists.
- getInstance(String) - Static method in class java.security.cert.CertificateFactory
-
Returns a certificate factory object that implements the
specified certificate type.
- getInstance(String) - Static method in class java.security.KeyStore
-
Returns a keystore object of the specified type.
- getInstance(String) - Static method in class javax.net.ssl.KeyManagerFactory
-
Returns a KeyManagerFactory
object that acts as a
factory for key managers.
- getInstance(String) - Static method in class javax.net.ssl.SSLContext
-
Returns a SSLContext
object that implements the
specified secure socket protocol.
- getInstance(String) - Static method in class javax.net.ssl.TrustManagerFactory
-
Returns a TrustManagerFactory
object that acts as a
factory for trust managers.
- getKey(String, char[]) - Method in class java.security.KeyStore
-
Returns the key associated with the given alias, using the given
password to recover it.
- getKeyManagers() - Method in class javax.net.ssl.KeyManagerFactory
-
Returns one key manager for each type of key material.
- getNeedClientAuth() - Method in class javax.net.ssl.SSLServerSocket
-
Returns true if client authentication will be required on newly
accept
ed server-mode SSLSocket
s.
- getNeedClientAuth() - Method in class javax.net.ssl.SSLSocket
-
Returns true if the socket will require client authentication.
- getProtocol() - Method in class javax.net.ssl.SSLContext
-
Returns the protocol name of this SSLContext
object.
- getServerSocketFactory() - Method in class javax.net.ssl.SSLContext
-
Returns a ServerSocketFactory
object for
this context.
- getSocketFactory() - Method in class javax.net.ssl.SSLContext
-
Returns a SocketFactory
object for this
context.
- getTrustManagers() - Method in class javax.net.ssl.TrustManagerFactory
-
Returns one trust manager for each type of trust material.
- getType() - Method in class java.security.cert.Certificate
-
Returns the type of this certificate.
- getType() - Method in class java.security.cert.CertificateFactory
-
Returns the name of the certificate type associated with this
certificate factory.
- getType() - Method in class java.security.KeyStore
-
Returns the type of this keystore.
- getUseClientMode() - Method in class javax.net.ssl.SSLServerSocket
-
Returns true if accepted connections will be in SSL client mode.
- getUseClientMode() - Method in class javax.net.ssl.SSLSocket
-
Returns true if the socket is set to use client mode when
handshaking.