public class PuttyKeyPair extends java.lang.Object implements ValueFactory<org.apache.sshd.common.keyprovider.KeyIdentityProvider>
ValueFactory.Conversions
Constructor and Description |
---|
PuttyKeyPair() |
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
getKeyFile() |
org.apache.sshd.common.config.keys.FilePasswordProvider |
getPassphraseProvider() |
void |
setKeyFile(java.nio.file.Path keyFile) |
void |
setPassphraseProvider(org.apache.sshd.common.config.keys.FilePasswordProvider passphraseProvider) |
java.lang.String |
toString() |
org.apache.sshd.common.keyprovider.KeyPairProvider |
toValue()
Provide an instance of the type this is a factory for.
|
public org.apache.sshd.common.keyprovider.KeyPairProvider toValue() throws ArooaConversionException
ValueFactory
toValue
in interface ValueFactory<org.apache.sshd.common.keyprovider.KeyIdentityProvider>
ArooaConversionException
- If unable to provide a value.public org.apache.sshd.common.config.keys.FilePasswordProvider getPassphraseProvider()
public void setPassphraseProvider(org.apache.sshd.common.config.keys.FilePasswordProvider passphraseProvider)
public java.nio.file.Path getKeyFile()
public void setKeyFile(java.nio.file.Path keyFile)
public java.lang.String toString()
toString
in class java.lang.Object