Class FileSystemDecryptionServerImpl

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


    public class FileSystemDecryptionServerImpl
    extends java.lang.Object
    implements org.refcodes.forwardsecrecy.DecryptionServer
    Abstract file system based implementation for non abstract DecryptionServer implementations.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileSystemDecryptionServerImpl​(org.refcodes.filesystem.FileSystem aFileSystem, java.lang.String aPath)
      Constructs the server with the required services and configuration passed.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.refcodes.forwardsecrecy.CipherVersion> getCipherVersions​(java.lang.String aNameSpace, java.lang.String aMessage, java.lang.String aSignature)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileSystemDecryptionServerImpl

        public FileSystemDecryptionServerImpl​(org.refcodes.filesystem.FileSystem aFileSystem,
                                              java.lang.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 java.util.List<org.refcodes.forwardsecrecy.CipherVersion> getCipherVersions​(java.lang.String aNameSpace,
                                                                                           java.lang.String aMessage,
                                                                                           java.lang.String aSignature)
                                                                                    throws org.refcodes.forwardsecrecy.SignatureVerificationException
        Specified by:
        getCipherVersions in interface org.refcodes.forwardsecrecy.DecryptionServer
        Throws:
        org.refcodes.forwardsecrecy.SignatureVerificationException