java.lang.Object
org.refcodes.forwardsecrecy.alt.filesystem.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 Details

    • 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 Details

    • 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