Class OpenSSHKeyFileUtil
java.lang.Object
com.hierynomus.sshj.userauth.keyprovider.OpenSSHKeyFileUtil
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File
getPublicKeyFile
(File privateKeyFile) initPubKey
(Reader publicKey) Read the separate public key provided alongside the private key
-
Constructor Details
-
OpenSSHKeyFileUtil
private OpenSSHKeyFileUtil()
-
-
Method Details
-
getPublicKeyFile
-
initPubKey
Read the separate public key provided alongside the private key- Parameters:
publicKey
- Public key accessible through aReader
- Throws:
IOException
-