Package

com.twitter.util

security

Permalink

package security

Visibility
  1. Public
  2. All

Type Members

  1. class InvalidPemFormatException extends IOException

    Permalink

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

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

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

  4. class Pkcs8KeyManagerFactory extends AnyRef

    Permalink

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

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

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

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

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

  9. class X509TrustManagerFactory extends AnyRef

    Permalink

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

Ungrouped