SignatureVerifier for SSH signatures.
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Implements org. A |
| private static byte[] | |
| private static PersonIdent | |
| public String | getName()
Implements org. Retrieves the name of this verifier. |
| 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. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| OBJECT | back to summary |
|---|---|
| private static final byte[] OBJECT | |
| TREE | back to summary |
|---|---|
| private static final byte[] TREE | |
| TYPE | back to summary |
|---|---|
| private static final byte[] TYPE | |
| SshSignatureVerifier | back to summary |
|---|---|
| public SshSignatureVerifier() | |
| clear | back to summary |
|---|---|
| public void clear() Implements org. Doc from org. A
| |
| dearmor | back to summary |
|---|---|
| private static byte[] dearmor(byte[] data) | |
| getGitIdentity | back to summary |
|---|---|
| private static PersonIdent getGitIdentity(byte[] rawObject) | |
| 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. | |
| verify | back to summary |
|---|---|
| public SignatureVerifier. Implements org. Doc from org. Verifies a given signature for given data.
| |