Packages

package security

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. class Credentials extends AnyRef

    Java interface to Credentials.

  2. class InvalidPemFormatException extends IOException

    Signals that the PEM file failed to parse properly due to a missing boundary header or footer.

  3. 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.

    Example:
    1. -----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----

  4. 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.

    Example:
    1. -----BEGIN PRIVATE KEY----- base64encodedbytes -----END PRIVATE KEY-----

  5. class Pkcs8KeyManagerFactory extends AnyRef

    A factory which can create a javax.net.ssl.KeyManager which contains an X.509 Certificate (or Certificate chain) and a PKCS#8 private key.

  6. 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.

    Example:
    1. -----BEGIN PRIVATE KEY----- base64encodedbytes -----END PRIVATE KEY-----

  7. class X500PrincipalInfo extends AnyRef

    Parses an javax.security.auth.x500.X500Principal into its individual pieces for easily extracting widely used items like an X.509 certificate's Common Name.

  8. 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.

    Example:
    1. -----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----

  9. 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.

    Example:
    1. -----BEGIN X509 CRL----- base64encodedbytes -----END X509 CRL-----

  10. class X509TrustManagerFactory extends AnyRef

    A factory which can create a javax.net.ssl.TrustManager which contains a collection of X.509 certificates.

Value Members

  1. 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 yaml, containing string keys and values.

  2. object NullPrincipal extends Principal

    Represents a non-existent entity.

  3. 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.

  4. object NullSslSessionContext extends SSLSessionContext

    Represents a non-existent set of SSLSessions associated with a non-existent entity.

  5. object PemBytes
  6. object Pkcs8EncodedKeySpecFile
  7. object Pkcs8KeyManagerFactory
  8. object PrivateKeyFile
  9. object X509CertificateDeserializer

    A helper object to deserialize PEM-encoded X.509 Certificates.

    A helper object to deserialize PEM-encoded X.509 Certificates.

    Example:
    1. -----BEGIN CERTIFICATE----- base64encodedbytes -----END CERTIFICATE-----

  10. object X509TrustManagerFactory

Ungrouped