SecretKeyRingCollection

com.jsuereth.pgp.SecretKeyRingCollection
See theSecretKeyRingCollection companion object
class SecretKeyRingCollection(val nested: PGPSecretKeyRingCollection) 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

Type members

Classlikes

object keyRings extends Iterable[SecretKeyRing]

A collection of all the nested secret key rings.

A collection of all the nested secret key rings.

Attributes

Supertypes
trait Iterable[SecretKeyRing]
trait IterableFactoryDefaults[SecretKeyRing, Iterable]
trait IterableOps[SecretKeyRing, Iterable, Iterable[SecretKeyRing]]
trait IterableOnceOps[SecretKeyRing, Iterable, Iterable[SecretKeyRing]]
trait IterableOnce[SecretKeyRing]
class Object
trait Matchable
class Any
Show all
Self type
keyRings.type

Value members

Concrete methods

The default secret key ring to use.

The default secret key ring to use.

Attributes

def findSecretKey(value: String): Option[SecretKey]

Finds the first secret key that has:

Finds the first secret key that has:

  • A keyID containing the given hex code
  • A userID containing the given string

Attributes

def findSecretKeyRing(value: String): Option[SecretKeyRing]

Finds the first secret key ring that has a public key that:

Finds the first secret key ring that has a public key that:

  • A keyID containing the given hex code
  • A userID containing the given string

Attributes

def saveTo(output: OutputStream): Unit

Saves the current entity to an output stream.

Saves the current entity to an output stream.

Attributes

def secretKeys: Iterable[SecretKey]

A collection of all the secret keys from all the key rings.

A collection of all the secret keys from all the key rings.

Attributes

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: PGPSecretKeyRingCollection