Class FileSystemDecryptionServer
- 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 abstractDecryptionServer
implementations.
-
-
Constructor Summary
Constructors Constructor Description FileSystemDecryptionServer(org.refcodes.filesystem.FileSystem aFileSystem, 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 List<org.refcodes.forwardsecrecy.CipherVersion>
getCipherVersions(String aNameSpace, String aMessage, String aSignature)
-
-
-
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 fromaPath
- 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 interfaceorg.refcodes.forwardsecrecy.DecryptionServer
- Throws:
org.refcodes.forwardsecrecy.SignatureVerificationException
-
-