Package org.apache.sshd.openpgp
Class PGPPublicKeyFileWatcher
java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.io.ModifiableFileWatcher
org.apache.sshd.openpgp.PGPPublicKeyFileWatcher
public class PGPPublicKeyFileWatcher
extends org.apache.sshd.common.util.io.ModifiableFileWatcher
TODO Add javadoc
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher
options, STRICTLY_PROHIBITED_FILE_PERMISSION
Fields inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
log
-
Constructor Summary
ConstructorsConstructorDescriptionPGPPublicKeyFileWatcher
(Path file) PGPPublicKeyFileWatcher
(Path file, LinkOption... options) -
Method Summary
Modifier and TypeMethodDescriptionorg.c02e.jpgpj.Key
loadPublicKey
(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.NamedResource resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) protected org.c02e.jpgpj.Key
reloadPublicKey
(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.util.io.resource.IoResource<?> resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) Methods inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher
checkReloadRequired, exists, getPath, lastModified, resetReloadAttributes, size, toPathResource, toPathResource, toString, updateReloadAttributes, validateStrictConfigFilePermissions
Methods inherited from class org.apache.sshd.common.util.logging.AbstractLoggingBean
debug, debug, debug, debug, debug, error, error, error, error, error, getSimplifiedLogger, info, info, warn, warn, warn, warn, warn, warn, warn, warn
-
Field Details
-
keyHolder
-
-
Constructor Details
-
PGPPublicKeyFileWatcher
-
PGPPublicKeyFileWatcher
-
-
Method Details
-
loadPublicKey
public org.c02e.jpgpj.Key loadPublicKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.NamedResource resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
GeneralSecurityException
org.bouncycastle.openpgp.PGPException
-
reloadPublicKey
protected org.c02e.jpgpj.Key reloadPublicKey(org.apache.sshd.common.session.SessionContext session, org.apache.sshd.common.util.io.resource.IoResource<?> resourceKey, org.apache.sshd.common.config.keys.FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOException
GeneralSecurityException
org.bouncycastle.openpgp.PGPException
-