| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | canLocateSigningKey(Repository
the current repository, GpgConfig RepositoryGPG settings from the git config config, PersonIdent the signing identity (to help with key lookup in case signing
key is not specified) committer, String if non- signingKey, CredentialsProvider null overrides the signing key from the configprovider to use when querying for signing key credentials (eg.
passphrase) credentialsProvider)Implements org. Indicates if a signing key is available for the specified committer and/or signing key. |
| pack-priv static String | |
| private BouncyCastleGpgKey | locateSigningKey(String gpgSigningKey, PersonIdent committer, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt)
|
| public GpgSignature | sign(Repository
Repository the signature is created inGPG settings from the git config config, byte[] the data to sign data, PersonIdent the signing identity (to help with key lookup in case signing
key is not specified) committer, String if non- signingKey, CredentialsProvider null overrides the signing key from the configprovider to use when querying for signing key credentials (eg.
passphrase) credentialsProvider)Implements org. Signs arbitrary data. |
| BouncyCastleGpgSigner | back to summary |
|---|---|
| public BouncyCastleGpgSigner() | |
| canLocateSigningKey | back to summary |
|---|---|
| public boolean canLocateSigningKey(Repository repository, GpgConfig config, PersonIdent committer, String signingKey, CredentialsProvider credentialsProvider) throws CanceledException Implements org. Doc from org. Indicates if a signing key is available for the specified committer and/or signing key.
| |
| extractSignerId | back to summary |
|---|---|
| pack-priv static String extractSignerId(String pgpUserId) | |
| locateSigningKey | back to summary |
|---|---|
| private BouncyCastleGpgKey locateSigningKey(String gpgSigningKey, PersonIdent committer, BouncyCastleGpgKeyPassphrasePrompt passphrasePrompt) throws CanceledException, UnsupportedCredentialItem, IOException, NoSuchAlgorithmException, NoSuchProviderException, PGPException, URISyntaxException | |
| sign | back to summary |
|---|---|
| public GpgSignature sign(Repository repository, GpgConfig config, byte[] data, PersonIdent committer, String signingKey, CredentialsProvider credentialsProvider) throws CanceledException, IOException, UnsupportedSigningFormatException Implements org. Doc from org. Signs arbitrary data.
| |