Class KeyPairWrapper
java.lang.Object
net.schmizz.sshj.userauth.keyprovider.KeyPairWrapper
- All Implemented Interfaces:
KeyProvider
A
KeyProvider
wrapper around KeyPair
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
kp
-
type
-
-
Constructor Details
-
KeyPairWrapper
-
KeyPairWrapper
-
-
Method Details
-
getPrivate
- Specified by:
getPrivate
in interfaceKeyProvider
- Returns:
- the private key.
-
getPublic
- Specified by:
getPublic
in interfaceKeyProvider
- Returns:
- the public key.
-
getType
- Specified by:
getType
in interfaceKeyProvider
- Returns:
- the
KeyType
.
-