UserAuthPublicKey implementation for handling SSH config
PubkeyAcceptedAlgorithms and interaction with the SSH agent and PKCS11
providers.
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private SshAgent | |
| private boolean | |
| private SshAgentKeyConstraint[] | |
| private HostConfigEntry | |
| private static final String | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private boolean | |
| protected Iterator | |
| private SshAgent | |
| private URIish | |
| public void | init(ClientSession
The rawSession, String ClientSessionThe requesting service name service)Overrides org. Implements org.
|
| private void | |
| protected void | |
| protected PublicKeyIdentity |
| addKeysToAgent | back to summary |
|---|---|
| private boolean addKeysToAgent | |
| agent | back to summary |
|---|---|
| private SshAgent agent | |
| askBeforeAdding | back to summary |
|---|---|
| private boolean askBeforeAdding | |
| constraints | back to summary |
|---|---|
| private SshAgentKeyConstraint[] constraints | |
| hostConfig | back to summary |
|---|---|
| private HostConfigEntry hostConfig | |
| LOG_FORMAT | back to summary |
|---|---|
| private static final String LOG_FORMAT | |
| skProvider | back to summary |
|---|---|
| private String skProvider | |
| JGitPublicKeyAuthentication | back to summary |
|---|---|
| pack-priv JGitPublicKeyAuthentication(List<NamedFactory<Signature>> factories) | |
| agentHasKey | back to summary |
|---|---|
| private boolean agentHasKey(PublicKey pk) throws IOException | |
| createPublicKeyIterator | back to summary |
|---|---|
| protected Iterator Overrides org.
| |
| getAgent | back to summary |
|---|---|
| private SshAgent getAgent(ClientSession session) throws Exception | |
| getUri | back to summary |
|---|---|
| private URIish getUri() | |
| init | back to summary |
|---|---|
| public void init(ClientSession rawSession, String service) throws Exception Overrides org. Implements org.
| |
| parseAddKeys | back to summary |
|---|---|
| private void parseAddKeys(HostConfigEntry config) | |
| releaseKeys | back to summary |
|---|---|
| protected void releaseKeys() throws IOException Overrides org.
| |
| resolveAttemptedPublicKeyIdentity | back to summary |
|---|---|
| protected PublicKeyIdentity resolveAttemptedPublicKeyIdentity(ClientSession session, String service) throws Exception Overrides org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private Iterable | |
| private List | |
| private Iterable | |
| private Collection | |
| protected Iterable | |
| private PublicKey | Returns: the public key read from the key filethe path to a public key keyFile, boolean false in case the given keyFile is set in
the SSH config as is, otherwise false
|
| PUB_KEY_SUFFIX | back to summary |
|---|---|
| private static final String PUB_KEY_SUFFIX | |
| KeyIterator | back to summary |
|---|---|
| public KeyIterator(ClientSession session, SignatureFactoriesManager manager) throws Exception | |
| checkCancellation | back to summary |
|---|---|
| private void checkCancellation(Throwable e) | |
| getAgentIdentities | back to summary |
|---|---|
| private Iterable | |
| getExplicitKeys | back to summary |
|---|---|
| private List | |
| getPkcs11Keys | back to summary |
|---|---|
| private Iterable | |
| identitiesOnly | back to summary |
|---|---|
| private Collection | |
| initializeAgentIdentities | back to summary |
|---|---|
| protected Iterable Overrides org.
| |
| readPublicKey | back to summary |
|---|---|
| private PublicKey readPublicKey(String keyFile, boolean isDerived) | |