Class FileSystemDecryptionServerImpl
- java.lang.Object
-
- org.refcodes.forwardsecrecy.alt.filesystem.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 abstractDecryptionServer
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)
-
-
-
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 fromaPath
- 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 interfaceorg.refcodes.forwardsecrecy.DecryptionServer
- Throws:
org.refcodes.forwardsecrecy.SignatureVerificationException
-
-