C - static field in class org.metastatic.jessie.pki.
X500Name A list of known certificate authority certificates.
The base class for public-key certificates.
A callback for determining whether or not a certificate chain, the
trust of which could not be established, should be accepted by an
application.
Create a new callback with the given prompt and certificates.
Create a new callback with the given prompt, certificates, and default
index.
Signals a problem when encoding certificates.
Signals a generic problem with certificates.
Signals that a certificate has expired.
Signals that a certificate is not yet valid.
Signals a parsing error when decoding a certificate.
Checks if a certificate chain sent by the client is trusted.
Checks if a certificate chain sent by the server is trusted.
Check if this certificate is valid now.
Check if this certificate is valid for the given date.
Choose an alias for client-side authentication.
Choose an alias for server-side authentication.
clone() - method in class org.metastatic.jessie.pki.provider.
MD2 clone() - method in class org.metastatic.jessie.pki.provider.
MD5 clone() - method in class org.metastatic.jessie.pki.der.
OID Returns a copy of this OID.
clone() - method in class org.metastatic.jessie.pki.provider.
RSA clone() - method in class org.metastatic.jessie.pki.provider.
SHA1 CN - static field in class org.metastatic.jessie.pki.
X500Name Compares this OID to another.
An implementation of CallbackHandler
that reads and writes
information to and from System.in
and System.out
.
Tests if the configured password file contains the specified user name.
CONTEXT - static field in class org.metastatic.jessie.pki.der.
DER This is Jessie's implementation of a
SSLContext
engine, and is available under the algorithm names ``SSLv3'', ``SSL'',
``TLSv1'', and ``TLS''.
Create an unbound server socket.
Create a server socket bound to the given port.
Returns an unbound client socket.
Creates a socket connected to a given host on a given port.
Creates a socket connected to a given host on a given port,
connecting locally to the interface with the given address and port.
Creates a SSL socket wrapped around an existing socket.
Creates a socket connected to a given host on a given port.
Creates a socket connected to a given host on a given port,
connecting locally to the interface with the given address and port.
CSPRNG() - constructor for class org.metastatic.jessie.provider.
CSPRNG Base64 encode a byte array, returning the returning string.
A factory for keys encoded in either the X.509 format (for public
keys) or the PKCS#8 format (for private keys).
Returns the set of SSL sessions available for client connections.
Engine method for retrieving this factory's key managers.
Engine method for retrieving this factory's key managers.
Returns the set of SSL sessions available for server connections.
Returns the SSL server socket factory.
Returns the SSL client socket factory.
Engine method that returns the trust managers created by this factory.
Engine method that returns the trust managers created by this factory.
Initialize this context with key and trust managers, and a source
of randomness.
Engine method for initializing this factory with some
algorithm-specific parameters.
Engine method that initializes this factory with some algorithm-specific
parameters.
Engine method that initializes this factory with some algorithm-specific
parameters.
Engine method for initializing this factory with some
algorithm-specific parameters.
Engine method that initializes this factory with a key store.
Engine method that initializes this factory with a key store.
Engine method for initializing this factory with a key store and a
password for private keys.
Engine method for initializing this factory with a key store and a
password for private keys.
A generic interface for adding random bytes to an entropy pool.
ENUMERATED - static field in class org.metastatic.jessie.pki.der.
DER Tests if this certificate equals another.
Tests whether or not this OID equals another.
Returns the list of trusted issuer certificates currently in use.
Returns the name of this key manager factory algorithm.
Returns the name of this trust manager algorithm.
Gets the X.509 certificate chain associated with the given alias.
Returns the certificate chain as an array of certificates.
Returns the name of the cipher that was negotiated in this
connection.
Returns the cipher name negotiated for this connection.
Returns this session's cihper suite.
Returns all client aliases that support the given key type.
Returns the set of SSL contexts available for client connections.
Returns the time in milliseconds since midnight GMT, 1 January 1970, that
this session was created.
Returns the default server socket factory.
Returns the default socket factory.
Returns a default implementation of a SSL server socket factory.
Returns a default implementation of a SSL socket factory.
Get the default algorithm name.
Returns the default algorithm for trust manager factories.
Returns the list of cipher suites that will be enabled in server sockets
created by this factory.
Returns the list of cipher suites that will be enabled in sockets
created by this factory.
Returns the default hostname verifier used in all new
connections.
Returns the default index.
Returns the default SSL socket factory used in all new
connections.
getDER() - method in class org.metastatic.jessie.pki.der.
OID Get the DER encoding of this OID, minus the tag and length fields.
Returns the list of cihper suites that are currently enabled in this
server socket.
Returns the list of currently enabled cipher suites.
Returns the list of enabled protocols, such as "SSLv3" and "TLSv1".
Returns the list of enabled SSL protocols.
Returns whether or not sessions will be created, i.e., whether or not
this server socket will allow SSL session resumption.
Returns whether or not sessions will be created by this socket, and thus
allow sessions to be continued later.
Return the encoded form of this certificate.
The encoded form of DSA public keys is:
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING }
Returns the extension object for the given object identifier.
Returns the current hostname verifier for this instance.
Returns this session's unique identifier, a arbitrary byte array of up
to 32 bytes.
getIDs() - method in class org.metastatic.jessie.pki.der.
OID Return the numeric IDs of this OID.
Returns an enumeration of all saved session IDs.
Returns the number of ignored bits.
Get an instance of X509Certificate for the given encoded bytes.
Get an instance of X509Certificate for the given encoded stream.
Get an instance of the named key manager factory, from the first
provider that implements it.
Get an instance of a context for the specified protocol from the
first provider that implements it.
Returns an instance of a trust manager factory for the given algorithm
from the first provider that implements it.
Get an instance of the named key manager factory, from the given
provider.
Get an instance of a context for the specified protocol from the
specified provider.
Returns an instance of a trust manager factory for the given algorithm
from the specified provider.
Get an instance of the named key manager factory, from the named
provider.
Get an instance of a context for the specified protocol from the
named provider.
Returns an instance of a trust manager factory for the given algorithm
from the named provider.
Returns the distinguished name of this certificate's issuer.
Get an array of key managers appropriate for this algorithm, with
the most preferred manager first.
Create and return a session SRP key pair for the given user name.
Returns the last time this session was accessed.
Returns the local certificates being used in this connection.
Returns the certificates used on the local side in this
connection.
Returns the chain of certificates that the local side used in the
handshake, or null if none were used.
Returns the name the object was bound under.
Returns whether or not this server socket will require clients to
authenticate themselves, such as through a certificate.
Returns whether or not this socket will require connecting clients to
authenticate themselves.
Returns the not after portion of this certificate's validity
period.
Returns the not before portion of this certificate's validity
period.
Get the parent OID of this OID.
Returns a reference to the SRP
PasswordFile
used by this
TrustManager
.
Returns the chain of certificates that the remote side used in
the handshake, or null if none were used.
Returns the peer's certificates being used in this connection.
Returns the chain of certificates that the remote side used in
the handshake, or null if none were used.
Returns the remote host's name.
Gets the private key associated with the given alias.
Returns the protocol name of this context.
Returns the protocol this session uses.
Returns the provider of this implementation.
Returns the provider of this implementation.
Returns the provider of the underlying implementation.
Returns this certificate's public key.
getRoot() - method in class org.metastatic.jessie.pki.der.
OID Get the root OID of this OID.
Returns the salt value for the given user.
Returns the selected index, or -1 if this value has not been set.
Returns this certificate's serial number.
Returns all server aliases that support the given key type.
Returns the certificates sent by the other party.
Returns the set of SSL contexts available for server connections.
Returns the factory for server SSL sockets.
Returns the SSL session object associated with this connection.
Returns the session that the object was bound to.
Returns this socket's session object.
Gets the session specified by its ID, or null
if there
is no session, or if it has expired.
Returns the maximum number of sessions that may be cached by this
session context.
Returns this session's session context object.
Returns the period of time (in seconds) that a session may be cached
for before becoming invalid.
Returns this bit string as a byte array, with the ignored bits
present.
Returns the name of this certificate's signature algorithm.
Returns the object identifier (OID) of this certificate's signature
algorithm.
Returns the signature parameters.
Returns the socket over which this connection is being
negotiated.
Returns the factory for client SSL sockets.
Returns the current SSL socket factory for this instance.
Returns the distinguished name of this certificate's subject.
Returns a list of cipher suites that this server socket supports.
Returns the list of all cipher suites supported by this factory.
Returns the list of cipher suites supported by this socket.
Returns the list of all cipher suites supported by this factory.
Returns a list of SSL protocols supported by this server socket.
Returns the list of protocols supported by this socket.
Create and initialize a CSPRNG instance with the "system" parameters;
the files, URLs, programs, and
EntropySource
sources used by
the instance are derived from properties set in the system
Properties
.
Returns the trust managers created by this factory.
Returns whether or not sockets accepted by this server socket will do
their handshake as the client-side.
Returns whether or not this socket will connect in client mode.
Returns the object bound to the given name.
Returns the names of all values bound to this session.
Returns the password verifier for the given user.
Returns the X.509 version number.
Returns whether or not this socket will ask for, but not require, that
connecting clients authenticate themselves.
Returns whether or not this socket will request that connecting clients
authenticate themselves.
SEQUENCE - static field in class org.metastatic.jessie.pki.der.
DER A factory for server sockets.
Default 0-argument constructor.
SET - static field in class org.metastatic.jessie.pki.der.
DER Sets the default hostname verifier to be used in all new
connections.
Sets the default SSL socket factory to be used in all new
connections.
Sets the list enabled cipher suites.
Sets the list of enabled cipher suites.
Sets the list of enabled protocols.
Sets the list of enabled SSL protocols.
Sets whether or not sessions will be created.
Sets whether or not sessions will be created by this socket.
Sets the hostname verifier for this instance.
Enabled or disables the requirement that clients authenticate themselves.
Sets whether or not this socket will require connecting clients to
authenticate themselves.
Sets the maximum number of sessions that may be cached by this
session context.
Sets the period of time (in seconds) that a session may be cached
for before becoming invalid.
Sets the SSL socket factory for this instance.
Sets whether or not sockets accepted by this server socket will be
created in client mode.
Sets whether or not this socket will connect in client mode.
Sets whether or not this server socket will want client authentication.
Sets whether or not this socket will request that connecting clients
authenticate themselves.
SHA1 - class org.metastatic.jessie.pki.provider.
SHA1 SHA1() - constructor for class org.metastatic.jessie.pki.provider.
SHA1 signerKey - field in class org.metastatic.jessie.pki.provider.
RSA A simple way to create immutable n-tuples.
Create an n-tuple of arbitrary size.
Create an ordered pair (2-tuple).
Returns the size, in bits, of this bit string.
A factory for client sockets.
Default 0-arguments constructor.
Instances of this class are used to initialize
TrustManagerFactory
instances for the ``SRP'' algorithm.
Initializes these parameters with the specified SRP password file.
A trust manager for secure remote password (SRP) key exchange cipher
suites.
A "meta-factory" for protocol-specific socket and server socket
factories.
Create a new SSL context.
The Service Provider Interface (SPI) for SSLContext
objects.
Create a new SSLContextSpi.
The superclass of all possible SSL exceptions.
An exception that signals an error in the SSL handshake phase.
An exception signaling a problem using a public or private key in
an SSL communication.
An exception thrown when the remote peer could not be verified.
A permission used for accessing SSL classes.
An exception thrown when a fatal protocol error is encountered.
A server socket that allows clients to connect via the SSL protocol.
A server socket factory for Secure Socket Layer (SSL)
server sockets.
Default 0-argument constructor.
An SSL session is a mechanism through which connections can be established
by re-using previously negotiated handshakes.
An event raised by
SSLSession
objects when objects are bound to
them.
Creates a new binding event.
An event listener interface that should be notified when it is bound or
unbound to a
SSLSession
.
A collection of saved SSL sessions, with thier corresponding session
IDs.
A socket that communicates over the secure socket layer protocol.
A socket factory for creating Secure Socket Layer (SSL)
sockets.
ST - static field in class org.metastatic.jessie.pki.
X500Name Explicitly begins the handshake, or, if the handshake has already
completed, requests that the handshake be repeated.
This class implements a simple set of trust anchors suitable for
initializing a TrustManagerFactory for the "JessieX509" algorithm.