Class PKCS8KeyFile
java.lang.Object
net.schmizz.sshj.userauth.keyprovider.BaseFileKeyProvider
net.schmizz.sshj.userauth.keyprovider.PKCS8KeyFile
- All Implemented Interfaces:
FileKeyProvider, KeyProvider
- Direct Known Subclasses:
OpenSSHKeyFile
Key File implementation supporting PEM-encoded PKCS8 and PKCS1 formats with or without password-based encryption
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class BaseFileKeyProvider
kp, pwdf, resource, type -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
log
protected final org.slf4j.Logger log
-
-
Constructor Details
-
PKCS8KeyFile
public PKCS8KeyFile()
-
-
Method Details
-
readKeyPair
- Specified by:
readKeyPairin classBaseFileKeyProvider- Throws:
IOException
-
toString
-