Packages

p

com.twitter.util

security

package security

Type Members

  1. class InvalidPemFormatException extends IOException

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

  2. class PemFile 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-----

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

  4. class Pkcs8KeyManagerFactory extends AnyRef

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

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

  6. class X500PrincipalInfo extends AnyRef

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

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

  8. class X509TrustManagerFactory extends AnyRef

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

Ungrouped