SecretKeyRing

com.jsuereth.pgp.SecretKeyRing
See theSecretKeyRing companion object
class SecretKeyRing(val nested: PGPSecretKeyRing) extends StreamingSaveable

A secret PGP key ring. Can be used to decrypt messages and to sign files/messages.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(id: Long): SecretKey

Gets the secret key with a given id from this key ring or throws.

Gets the secret key with a given id from this key ring or throws.

Attributes

def extraPublicKeys: Iterable[PublicKey]
def get(id: Long): Option[SecretKey]

Looks for a secret key with the given id on this key ring.

Looks for a secret key with the given id on this key ring.

Attributes

The default public key for this key ring.

The default public key for this key ring.

Attributes

def saveTo(output: OutputStream): Unit

Saves the current entity to an output stream.

Saves the current entity to an output stream.

Attributes

Returns the default secret key for this ring.

Returns the default secret key for this ring.

Attributes

def secretKeys: Iterable[SecretKey]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def saveToFile(file: File): Unit

Saves the current entity to a file.

Saves the current entity to a file.

Attributes

Inherited from:
StreamingSaveable
def saveToString: String

Saves the current entity into a string.

Saves the current entity into a string.

Attributes

Inherited from:
StreamingSaveable

Concrete fields

val nested: PGPSecretKeyRing