Package

com.twitter.util

security

Permalink

package security

Visibility
  1. Public
  2. All

Type Members

  1. class Credentials extends AnyRef

    Permalink

    Java interface to Credentials.

  2. class InvalidPemFormatException extends IOException

    Permalink

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

  3. class PemFile extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

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

  6. class PrivateKeyFile extends AnyRef

    Permalink

    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

    Permalink

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

  8. class X509CertificateFile extends AnyRef

    Permalink

    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

    Permalink

    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

    Permalink

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

Value Members

  1. object Credentials

    Permalink

    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 key: value. Keys can be any word character or '-' and values can be any character except new lines.

  2. object NullPrincipal extends Principal

    Permalink

    Represents a non-existent entity.

  3. object NullSslSession extends SSLSession

    Permalink

    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

    Permalink

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

Ungrouped