| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final Logger | |
| private static final byte[] | |
| private static final byte[] | |
| private static final Map | |
| private static final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SignatureVerifier | |
| public static GpgConfig. | Returns: the signature type, ornull if unknownto get the type of signature)Determines the type of a given signature. |
| private static Map | |
| public static void | set(GpgConfig.
signature type to set the format,verifier forthe verifier)SignatureVerifier to use for signatures of type
format; if null, a default implementation, if
available, may be used.Sets a specific signature verifier to use for a specific signature type. |
| public static SignatureVerifier. | Returns: aSignatureVerifier. describing the
outcome of the verification, or null if the object does
not have a signature of a known typethe repository, GpgConfig Repository the object is fromthe config, RevObject GpgConfig to useto verify object)Verifies the signature on a signed commit or tag. |
| public static SignatureVerifier. | Returns: aSignatureVerifier. describing the
outcome of the verification, or null if the signature
type is unknownthe repository, GpgConfig Repository the object is fromthe config, byte[] GpgConfig to useto verify the signature of data, byte[] the given signature of the signature)dataVerifies a given signature for some give data. |
| FACTORIES | back to summary |
|---|---|
| private static final Map<GpgConfig. | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| PGP_PREFIX | back to summary |
|---|---|
| private static final byte[] PGP_PREFIX | |
| SSH_PREFIX | back to summary |
|---|---|
| private static final byte[] SSH_PREFIX | |
| VERIFIERS | back to summary |
|---|---|
| private static final Map<GpgConfig. | |
| X509_PREFIX | back to summary |
|---|---|
| private static final byte[] X509_PREFIX | |
| SignatureVerifiers | back to summary |
|---|---|
| private SignatureVerifiers() | |
| get | back to summary |
|---|---|
| public static SignatureVerifier get(GpgConfig. Retrieves a
| |
| getFormat | back to summary |
|---|---|
| public static GpgConfig. Determines the type of a given signature. | |
| loadSignatureVerifiers | back to summary |
|---|---|
| private static Map | |
| set | back to summary |
|---|---|
| public static void set(GpgConfig. Sets a specific signature verifier to use for a specific signature type.
| |
| verify | back to summary |
|---|---|
| public static SignatureVerifier. Verifies the signature on a signed commit or tag.
| |
| verify | back to summary |
|---|---|
| public static SignatureVerifier. Verifies a given signature for some give data.
| |