public class InMemoryMutualKeyAuthenticationStore extends java.lang.Object implements MutualKeyAuthenticatonStore
| Constructor and Description |
|---|
InMemoryMutualKeyAuthenticationStore() |
| Modifier and Type | Method and Description |
|---|---|
InMemoryMutualKeyAuthenticationStore |
addKey(java.lang.String username,
SshKeyPair privateKey,
SshPublicKey publicKey) |
SshKeyPair |
getPrivateKey(SshConnection con) |
SshPublicKey |
getPublicKey(SshConnection con) |
public InMemoryMutualKeyAuthenticationStore()
public SshKeyPair getPrivateKey(SshConnection con)
getPrivateKey in interface MutualKeyAuthenticatonStorepublic SshPublicKey getPublicKey(SshConnection con)
getPublicKey in interface MutualKeyAuthenticatonStorepublic InMemoryMutualKeyAuthenticationStore addKey(java.lang.String username, SshKeyPair privateKey, SshPublicKey publicKey)
Copyright © 2022. All rights reserved.