Interface KeyProvider
- All Known Subinterfaces:
FileKeyProvider
- All Known Implementing Classes:
BaseFileKeyProvider
,KeyPairWrapper
,OpenSSHKeyFile
,OpenSSHKeyV1KeyFile
,PKCS8KeyFile
,PuTTYKeyFile
public interface KeyProvider
A KeyProvider is a container for a public-private keypair.
-
Method Summary
-
Method Details
-
getPrivate
- Returns:
- the private key.
- Throws:
IOException
- if there is an I/O error retrieving the private key
-
getPublic
- Returns:
- the public key.
- Throws:
IOException
- if there is an I/O error retrieving the public key
-
getType
- Returns:
- the
KeyType
. - Throws:
IOException
- if there is an I/O error retrieving the key type
-