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 abstract
DecryptionServer
implementations.-
Constructor Summary
ConstructorDescriptionFileSystemDecryptionServer
(org.refcodes.filesystem.FileSystem aFileSystem, String aPath) Constructs the server with the required services and configuration passed. -
Method Summary
Modifier and TypeMethodDescriptionList<org.refcodes.forwardsecrecy.CipherVersion>
getCipherVersions
(String aNameSpace, String aMessage, String aSignature)
-
Constructor Details
-
FileSystemDecryptionServer
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 Details
-
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
-