Class PGPKeyFileWatcher

java.lang.Object
org.apache.sshd.common.util.logging.AbstractLoggingBean
org.apache.sshd.common.util.io.ModifiableFileWatcher
org.apache.sshd.common.config.keys.loader.FileWatcherKeyPairResourceLoader
org.apache.sshd.openpgp.PGPKeyFileWatcher
All Implemented Interfaces:
org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader

public class PGPKeyFileWatcher extends org.apache.sshd.common.config.keys.loader.FileWatcherKeyPairResourceLoader
Tracks the contents of a PGP key file - uses the default instance unless otherwise specified.
  • Field Summary

    Fields inherited from class org.apache.sshd.common.config.keys.loader.FileWatcherKeyPairResourceLoader

    keysHolder

    Fields 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

    Fields inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader

    EMPTY, MAX_CIPHER_NAME_LENGTH, MAX_KEY_COMMENT_LENGTH, MAX_KEY_TYPE_NAME_LENGTH, MAX_PRIVATE_KEY_DATA_SIZE, MAX_PUBLIC_KEY_DATA_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    PGPKeyFileWatcher(Path file, LinkOption... options)
     
    PGPKeyFileWatcher(Path file, org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader delegateLoader)
     
    PGPKeyFileWatcher(Path file, org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader delegateLoader, LinkOption... options)
     
  • Method Summary

    Methods inherited from class org.apache.sshd.common.config.keys.loader.FileWatcherKeyPairResourceLoader

    getKeyPairResourceLoader, loadKeyPairs, reloadKeyPairs, setKeyPairResourceLoader

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader

    loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs, loadKeyPairs
  • Constructor Details

    • PGPKeyFileWatcher

      public PGPKeyFileWatcher(Path file)
    • PGPKeyFileWatcher

      public PGPKeyFileWatcher(Path file, LinkOption... options)
    • PGPKeyFileWatcher

      public PGPKeyFileWatcher(Path file, org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader delegateLoader)
    • PGPKeyFileWatcher

      public PGPKeyFileWatcher(Path file, org.apache.sshd.common.config.keys.loader.KeyPairResourceLoader delegateLoader, LinkOption... options)