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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SecretKey(nested: PGPSecretKey)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. 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.

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

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

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

    Decrypts a given string message using this secret key.

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def isMasterKey: Boolean

    returns

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

  16. def isSigningKey: Boolean

    returns

    True if this key can make signatures.

  17. def keyID: Long
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. val nested: PGPSecretKey
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def publicKey: PublicKey

    Returns the public key associated with this key.

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

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

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

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

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

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

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

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

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

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

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

    Creates a signature for the input string.

  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. lazy val toString: String
  32. def userIDs: Traversable[String]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped