com.jsuereth.pgp

SecretKey

class SecretKey extends AnyRef

A SecretKey that can be used to sign things and decrypt messages.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SecretKey
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SecretKey(nested: PGPSecretKey)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decrypt(input: InputStream, output: OutputStream, passPhrase: Array[Char]): Unit

    Decrypts a given input stream into the output stream.

    Decrypts a given input stream into the output stream. Note: This ignores fileNames if they are part of the decrypted message.

  9. def decryptFile(file: File, passPhrase: Array[Char]): Unit

    Decrypts a file, attempting to write to the filename specified in the message.

  10. def decryptString(input: String, passPhrase: Array[Char]): String

    Decrypts a given string message using this secret key.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. def isMasterKey: Boolean

    returns

    True if this key is the master of a key ring.

  18. def isSigningKey: Boolean

    returns

    True if this key can make signatures.

  19. def keyID: Long

  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. val nested: PGPSecretKey

  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def publicKey: PublicKey

    Returns the public key associated with this key.

  25. def sign(file: File, signatureFile: File, pass: Array[Char]): File

    Creates a signature for a file and writes it to the signatureFile.

  26. def signMessageFile(file: File, out: OutputStream, pass: Array[Char]): Unit

    Signs an input stream of bytes and writes it to the output stream.

  27. def signMessageStream(input: InputStream, name: String, length: Long, output: OutputStream, pass: Array[Char], lastMod: Date = new Date): Unit

    Encodes and signs a message into a PGP message.

  28. def signMessageString(input: String, name: String, pass: Array[Char]): String

    Returns a PGP compressed and signed copy of the input string.

  29. def signPublicKey(key: PublicKey, notation: (String, String), pass: Array[Char]): PublicKey

    Takes a public key and signs it, returning the new public key.

  30. def signStream(in: InputStream, signature: OutputStream, pass: Array[Char]): Unit

    Creates a signature for the data in the input stream on the output stream.

    Creates a signature for the data in the input stream on the output stream. Note: This will close all streams.

  31. def signString(msg: String, pass: Array[Char]): String

    Creates a signature for the input string.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. lazy val toString: String

    Definition Classes
    SecretKey → AnyRef → Any
  34. def userIDs: Traversable[String]

  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped