Class FileSystemDecryptionServer

  • All Implemented Interfaces:
    org.refcodes.forwardsecrecy.DecryptionServer

    public class FileSystemDecryptionServer
    extends Object
    implements org.refcodes.forwardsecrecy.DecryptionServer
    Abstract file system based implementation for non abstract DecryptionServer implementations.
    • Constructor Detail

      • FileSystemDecryptionServer

        public FileSystemDecryptionServer​(org.refcodes.filesystem.FileSystem aFileSystem,
                                          String aPath)
        Constructs the server with the required services and configuration passed.
        Parameters:
        aFileSystem - The data store service where to retrieve the Cipher-Versions from
        aPath - The directory where the cryptography relevant data is being persisted
    • Method Detail

      • getCipherVersions

        public List<org.refcodes.forwardsecrecy.CipherVersion> getCipherVersions​(String aNameSpace,
                                                                                 String aMessage,
                                                                                 String aSignature)
                                                                          throws org.refcodes.forwardsecrecy.SignatureVerificationException
        Specified by:
        getCipherVersions in interface org.refcodes.forwardsecrecy.DecryptionServer
        Throws:
        org.refcodes.forwardsecrecy.SignatureVerificationException