public class FileSystemEncryptionServerImpl extends Object implements org.refcodes.forwardsecrecy.EncryptionServer, org.refcodes.component.Component
EncryptionServer
implementations.Constructor and Description |
---|
FileSystemEncryptionServerImpl(org.refcodes.filesystem.FileSystem aFileSystem,
String aDataStorePath)
Constructs the server with the required services and configuration
passed.
|
Modifier and Type | Method and Description |
---|---|
void |
addCipherVersion(String aNameSpace,
org.refcodes.forwardsecrecy.CipherVersion aCipherVersion) |
void |
destroy() |
public FileSystemEncryptionServerImpl(org.refcodes.filesystem.FileSystem aFileSystem, String aDataStorePath)
aFileSystem
- The data store service where to retrieve the
Cipher-Versions fromaDataStorePath
- The directory where the cryptography relevant data
is being persistedpublic void addCipherVersion(String aNameSpace, org.refcodes.forwardsecrecy.CipherVersion aCipherVersion) throws org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
addCipherVersion
in interface org.refcodes.forwardsecrecy.EncryptionServer
org.refcodes.forwardsecrecy.CipherUidAlreadyInUseException
public void destroy()
destroy
in interface org.refcodes.component.Destroyable
Copyright © 2017. All rights reserved.