package security
- Alphabetic
- Public
- All
Type Members
-
class
Credentials extends AnyRef
Java interface to Credentials.
-
class
InvalidPemFormatException extends IOException
Signals that the PEM file failed to parse properly due to a missing boundary header or footer.
-
class
PemBytes extends AnyRef
An abstract representation of a PEM formatted file.
An abstract representation of a PEM formatted file.
The PEM file format, originally from Privacy Enhanced Mail, is distinctive in that it contains a boundary header and footer and the data within the boundary is Base 64 encoded.
-----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----
Example: -
class
Pkcs8EncodedKeySpecFile extends AnyRef
A representation of a PKCS#8 private key which is PEM-encoded and stored in a file.
A representation of a PKCS#8 private key which is PEM-encoded and stored in a file.
-----BEGIN PRIVATE KEY----- base64encodedbytes -----END PRIVATE KEY-----
Example: -
class
Pkcs8KeyManagerFactory extends AnyRef
A factory which can create a
javax.net.ssl.KeyManagerwhich contains an X.509 Certificate (or Certificate chain) and a PKCS#8 private key. -
class
PrivateKeyFile extends AnyRef
A representation of a PrivateKey that is stored in a file in Pkcs8 PEM format.
A representation of a PrivateKey that is stored in a file in Pkcs8 PEM format.
-----BEGIN PRIVATE KEY----- base64encodedbytes -----END PRIVATE KEY-----
Example: -
class
X500PrincipalInfo extends AnyRef
Parses an
javax.security.auth.x500.X500Principalinto its individual pieces for easily extracting widely used items like an X.509 certificate's Common Name. -
class
X509CertificateFile extends AnyRef
A representation of an X.509 Certificate PEM-encoded and stored in a file.
A representation of an X.509 Certificate PEM-encoded and stored in a file.
-----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----
Example: -
class
X509CrlFile extends AnyRef
A representation of an X.509 Certificate Revocation List (CRL) PEM-encoded and stored in a file.
A representation of an X.509 Certificate Revocation List (CRL) PEM-encoded and stored in a file.
-----BEGIN X509 CRL----- base64encodedbytes -----END X509 CRL-----
Example: -
class
X509TrustManagerFactory extends AnyRef
A factory which can create a
javax.net.ssl.TrustManagerwhich contains a collection of X.509 certificates.
Value Members
-
object
Credentials
Simple helper to read authentication credentials from a text file.
Simple helper to read authentication credentials from a text file.
The file's format is assumed to be trivialized yaml, containing lines of the form
. Keys can be any word character or '-' and values can be any character except new lines.key: value -
object
NullPrincipal extends Principal
Represents a non-existent entity.
-
object
NullSslSession extends SSLSession
Represents a non-existent secure relationship between two entities, i.e.
Represents a non-existent secure relationship between two entities, i.e. a non-existent
SSLSession. -
object
NullSslSessionContext extends SSLSessionContext
Represents a non-existent set of
SSLSessions associated with a non-existent entity. - object PemBytes
- object Pkcs8EncodedKeySpecFile
- object Pkcs8KeyManagerFactory
- object PrivateKeyFile
-
object
X509CertificateDeserializer
A helper object to deserialize PEM-encoded X.509 Certificates.
A helper object to deserialize PEM-encoded X.509 Certificates.
-----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----
Example: - object X509TrustManagerFactory