PublicKeyLike
This trait defines things that can act like a public key. That is they can verify signed files and messages and encrypt data for an individual.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Members list
Value members
Abstract methods
Verifies a signed message and extracts the contents.
Verifies a signed message and extracts the contents.
Value parameters
- input
-
The incoming PGP message.
- output
-
The decoded and verified message.
Attributes
Verifies a signature stream against an input stream.
Verifies a signature stream against an input stream.
Value parameters
- msg
-
The input stream containing the raw message to verify.
- msgName
-
the name tied in the signature for this object. For a file, this is the filename.
- signature
-
The input stream containing the PGP signature.
Attributes
Concrete methods
Reads in a PGP message from a file, verifies the signature and writes to the output file.
Reads in a PGP message from a file, verifies the signature and writes to the output file.
Attributes
Reads in a PGP message and from a string, verifies the signature and returns the raw content.
Reads in a PGP message and from a string, verifies the signature and returns the raw content.
Attributes
Reads in a raw file, verifies the signature file is valid for this file.
Reads in a raw file, verifies the signature file is valid for this file.
Attributes
Verifies that a stream was signed correctly by another stream.
Verifies that a stream was signed correctly by another stream.
Attributes
- Throws
-
KeyNotFoundException
is signature contains an unknown public key.
Reads in a PGP message from a string, verifies the signature string is accurate for the message.
Reads in a PGP message from a string, verifies the signature string is accurate for the message.