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
TODO Add javadoc
- Author:
- Apache MINA SSHD Project
-
Field Summary
FieldsFields inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher
options, STRICTLY_PROHIBITED_FILE_PERMISSIONFields 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.KeyloadPublicKey(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider) protected org.c02e.jpgpj.KeyreloadPublicKey(SessionContext session, IoResource<?> resourceKey, FilePasswordProvider passwordProvider) Methods inherited from class org.apache.sshd.common.util.io.ModifiableFileWatcher
checkReloadRequired, exists, getPath, lastModified, resetReloadAttributes, size, toPathResource, toPathResource, toString, updateReloadAttributes, validateStrictConfigFilePermissions
-
Field Details
-
keyHolder
-
-
Constructor Details
-
PGPPublicKeyFileWatcher
-
PGPPublicKeyFileWatcher
-
-
Method Details
-
loadPublicKey
public org.c02e.jpgpj.Key loadPublicKey(SessionContext session, NamedResource resourceKey, FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOExceptionGeneralSecurityExceptionorg.bouncycastle.openpgp.PGPException
-
reloadPublicKey
protected org.c02e.jpgpj.Key reloadPublicKey(SessionContext session, IoResource<?> resourceKey, FilePasswordProvider passwordProvider) throws IOException, GeneralSecurityException, org.bouncycastle.openpgp.PGPException - Throws:
IOExceptionGeneralSecurityExceptionorg.bouncycastle.openpgp.PGPException
-