| Modifier and Type | Class and Description |
|---|---|
| public static enum | GpgConfig.
Config values for gpg.format. |
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final GpgConfig. | |
| private final String | |
| private final boolean | |
| private final boolean | |
| private final String | |
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public GpgConfig. | Returns: theorg.Retrieves the config value of gpg.format. |
| public String | Returns: the program string configured, ornull if noneRetrieves the value of the configured GPG program to use, as defined by
gpg.openpgp.program, gpg.x509.program (depending on the defined
|
| public String | Returns: the value of user.signingKey (may benull)Retrieves the config value of user.signingKey. |
| public String | Returns: the value ofgpg.ssh.allowedSignersFileRetrieves the value of git config |
| public String | Returns: the value ofgpg.ssh.defaultKeyCommandRetrieves the value of git config |
| public String | Returns: the value ofgpg.ssh.revocationFileRetrieves the value of git config |
| public boolean | Returns: the value oftag.gpgSign; by default falseRetrieves the value of git config |
| public boolean | Returns: the value oftag.forceSignAnnotated; by default
falseRetrieves the value of git config |
| public boolean | Returns: the value of commit.gpgSign (defaults tofalse)Retrieves the config value of commit.gpgSign. |
| forceAnnotated | back to summary |
|---|---|
| private final boolean forceAnnotated | |
| keyFormat | back to summary |
|---|---|
| private final GpgConfig. | |
| program | back to summary |
|---|---|
| private final String program | |
| signAllTags | back to summary |
|---|---|
| private final boolean signAllTags | |
| signCommits | back to summary |
|---|---|
| private final boolean signCommits | |
| signingKey | back to summary |
|---|---|
| private final String signingKey | |
| sshAllowedSignersFile | back to summary |
|---|---|
| private final String sshAllowedSignersFile | |
| sshDefaultKeyCommand | back to summary |
|---|---|
| private final String sshDefaultKeyCommand | |
| sshRevocationFile | back to summary |
|---|---|
| private final String sshRevocationFile | |
| GpgConfig | back to summary |
|---|---|
| public GpgConfig(Config config) Create a new GPG config that reads the configuration from config.
| |
| getKeyFormat | back to summary |
|---|---|
| public GpgConfig. Retrieves the config value of gpg.format. | |
| getProgram | back to summary |
|---|---|
| public String getProgram() Retrieves the value of the configured GPG program to use, as defined by
gpg.openpgp.program, gpg.x509.program (depending on the defined
| |
| getSigningKey | back to summary |
|---|---|
| public String getSigningKey() Retrieves the config value of user.signingKey.
| |
| getSshAllowedSignersFile | back to summary |
|---|---|
| public String getSshAllowedSignersFile() Retrieves the value of git config
| |
| getSshDefaultKeyCommand | back to summary |
|---|---|
| public String getSshDefaultKeyCommand() Retrieves the value of git config
| |
| getSshRevocationFile | back to summary |
|---|---|
| public String getSshRevocationFile() Retrieves the value of git config
| |
| isSignAllTags | back to summary |
|---|---|
| public boolean isSignAllTags() Retrieves the value of git config
| |
| isSignAnnotated | back to summary |
|---|---|
| public boolean isSignAnnotated() Retrieves the value of git config
| |
| isSignCommits | back to summary |
|---|---|
| public boolean isSignCommits() Retrieves the config value of commit.gpgSign.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| public static final GpgConfig. | OPENPGP
Value for openpgp |
| public static final GpgConfig. | SSH
Value for ssh. |
| public static final GpgConfig. | X509
Value for x509 |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | matchConfigValue(String
the string to match s)Implements org. Checks if the given string matches with enum value. |
| public String | toConfigValue()
Implements org. Converts enumeration value into a string to be save in config. |
| public static GpgConfig. | |
| public static GpgConfig. |
| configValue | back to summary |
|---|---|
| private final String configValue | |
| OPENPGP | back to summary |
|---|---|
| public static final GpgConfig. Value for openpgp | |
| SSH | back to summary |
|---|---|
| public static final GpgConfig. Value for ssh.
| |
| X509 | back to summary |
|---|---|
| public static final GpgConfig. Value for x509 | |
| GpgFormat | back to summary |
|---|---|
| private GpgFormat(String configValue) | |
| matchConfigValue | back to summary |
|---|---|
| public boolean matchConfigValue(String s) Implements org. Doc from org. Checks if the given string matches with enum value. | |
| toConfigValue | back to summary |
|---|---|
| public String toConfigValue() Implements org. Doc from org. Converts enumeration value into a string to be save in config. | |
| valueOf | back to summary |
|---|---|
| public static GpgConfig. | |
| values | back to summary |
|---|---|
| public static GpgConfig. | |