SignatureVerifier to verify GPG signatures using BouncyCastle.
| Modifier and Type | Field and Description |
|---|---|
| private LRUMap | |
| private LRUMap | |
| private static final String | |
| private static final Object |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements org. A |
| public String | getName()
Implements org. Retrieves the name of this verifier. |
| private SignatureVerifier. | |
| pack-priv static PGPSignature | |
| public SignatureVerifier. | verify(Repository
the repository, GpgConfig Repository the data comes from.the config, byte[] GpgConfigthe signature is for data, byte[] the ASCII-armored signature signatureData)Implements org. Verifies a given signature for given data. |
| byFingerprint | back to summary |
|---|---|
| private LRUMap<String, Object> byFingerprint | |
| bySigner | back to summary |
|---|---|
| private LRUMap<String, Object> bySigner | |
| NAME | back to summary |
|---|---|
| private static final String NAME | |
| NO_KEY | back to summary |
|---|---|
| private static final Object NO_KEY | |
| BouncyCastleGpgSignatureVerifier | back to summary |
|---|---|
| public BouncyCastleGpgSignatureVerifier() | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. A
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Retrieves the name of this verifier. This should be a short string identifying the engine that verified the signature, like "gpg" if GPG is used, or "bc" for a BouncyCastle implementation. | |
| parseGpgTrustPacket | back to summary |
|---|---|
| private SignatureVerifier. | |
| parseSignature | back to summary |
|---|---|
| pack-priv static PGPSignature parseSignature(InputStream in) throws IOException, PGPException | |
| verify | back to summary |
|---|---|
| public SignatureVerifier. Implements org. Doc from org. Verifies a given signature for given data.
| |