| net.schmizz.sshj.userauth.keyprovider.KeyProvider |
Known Indirect Subclasses
| FileKeyProvider |
A file key provider is initialized with a location of |
| KeyPairWrapper |
A KeyProvider wrapper around java.security.KeyPair |
| OpenSSHKeyFile |
Represents an OpenSSH identity that consists of a PKCS8-encoded private key file and an unencrypted public key file
of the same name with the ".pub" extension. |
| PKCS8KeyFile |
Represents a PKCS8-encoded key file. |
|
Class Overview
A KeyProvider is a container for a public-private keypair.
Public Methods
public
abstract
PrivateKey
getPrivate
()
Throws
| IOException
| if there is an I/O error retrieving the private key
|
public
abstract
PublicKey
getPublic
()
Throws
| IOException
| if there is an I/O error retrieving the public key
|
public
abstract
KeyType
getType
()
Throws
| IOException
| if there is an I/O error retrieving the key type
|