Uses of Interface
org.refcodes.forwardsecrecy.CipherVersion
-
-
Uses of CipherVersion in org.refcodes.forwardsecrecy
Classes in org.refcodes.forwardsecrecy with type parameters of type CipherVersion Modifier and Type Class Description class
AbstractCipherVersionGenerator<CV extends CipherVersion>
Default implementation of a cipher version generator.interface
CipherVersionFactory<CV extends CipherVersion>
As requirements might arise to useCipherVersion
instances with additional attributes or functionality; theCipherVersionFactory
can be replaced with a custom implementation instantiatingCipherVersion
(sub-)types with the additional required attributes or functionality.interface
CipherVersionGenerator<CV extends CipherVersion>
Depending on the security demands and performance issues; theGenerator
generatingCipherVersion
instances can be replaced with a customCipherVersionGenerator
using its own approach generating ciphers and cipher UIDs (CipherVersion
instances).Classes in org.refcodes.forwardsecrecy that implement CipherVersion Modifier and Type Class Description class
CipherVersionImpl
The Class CipherVersionImpl.Methods in org.refcodes.forwardsecrecy with type parameters of type CipherVersion Modifier and Type Method Description protected abstract <CV extends CipherVersion>
CVAbstractDecryptionService. toDecryptedCipherVersion(CV aEncyrptedCipherVersion)
Hook factory method to be implemented by subclasses.protected <CV extends CipherVersion>
CVLoopbackDecryptionServiceImpl. toDecryptedCipherVersion(CV aEncryptedCipherVersion)
Deprecated.To prevent accidental use in productive environment this insecure implementation of theDecryptionService
has been marked as being deprecated; please use only for testing purposes.protected <CV extends CipherVersion>
CVPublicKeyDecryptionServiceImpl. toDecryptedCipherVersion(CV aEncyrptedCipherVersion)
To decrypted cipher version.protected abstract <CV extends CipherVersion>
CVAbstractEncryptionService. toEncryptedCipherVersion(CV aDecyrptedCipherVersion)
Hook factory method to be implemented by subclasses.protected <CV extends CipherVersion>
CVLoopbackEncryptionServiceImpl. toEncryptedCipherVersion(CV aDecyrptedCipherVersion)
Deprecated.protected <CV extends CipherVersion>
CVPublicKeyEncryptionServiceImpl. toEncryptedCipherVersion(CV aDecryptedCipherVersion)
To encrypted cipher version.Methods in org.refcodes.forwardsecrecy that return CipherVersion Modifier and Type Method Description CipherVersion
CipherVersionFactoryImpl. createInstance(java.lang.String aCipherUid, java.lang.String aCipher)
Factory method to be implemented by subclasses.CipherVersion
AbstractEncryptionService. next()
Generator method to be implemented by subclasses.Methods in org.refcodes.forwardsecrecy that return types with arguments of type CipherVersion Modifier and Type Method Description java.util.List<CipherVersion>
AbstractDecryptionService. getCipherVersions()
Returns the currently available cipher versions.java.util.List<CipherVersion>
DecryptionServer. getCipherVersions(java.lang.String aNamespace, java.lang.String aMessage, java.lang.String aSignature)
Returns the currently available cipher versions.java.util.List<CipherVersion>
DecryptionService. getCipherVersions()
Returns the currently available cipher versions.java.util.List<CipherVersion>
InMemoryDecryptionServerImpl. getCipherVersions(java.lang.String aNamespace, java.lang.String aMessage, java.lang.String aSignature)
Returns the currently available cipher versions.java.util.List<CipherVersion>
PublicKeyDecryptionServerWrapperImpl. getCipherVersions(java.lang.String aNamespace, java.lang.String aMessage, java.lang.String aSignature)
Returns the currently available cipher versions.Methods in org.refcodes.forwardsecrecy with parameters of type CipherVersion Modifier and Type Method Description void
EncryptionServer. addCipherVersion(java.lang.String aNamespace, CipherVersion aCipherVersion)
Adds aCipherVersion
to theEncryptionServer
.protected void
InMemoryDecryptionServerImpl. addCipherVersion(java.lang.String aNamespace, CipherVersion aCipherVersion)
Adds a cipher version to the server.void
InMemoryEncryptionServerImpl. addCipherVersion(java.lang.String aNamespace, CipherVersion aCipherVersion)
Adds aCipherVersion
to theEncryptionServer
.int
CipherVersionImpl. compareTo(CipherVersion aCipherVersion)
Constructor parameters in org.refcodes.forwardsecrecy with type arguments of type CipherVersion Constructor Description AbstractEncryptionService(java.lang.String aNamespace, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator)
Constructs the service with the required services and configuration.CipherVersionGeneratorImpl(CipherVersionFactory<CipherVersion> aCipVersionFactory)
Instantiates a new cipher version generator impl.PublicKeyDecryptionServerWrapperImpl(java.lang.String aPrivateKeyPath, java.lang.String aPrivateKeyPassPhrase, java.lang.String aPublicKeysPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required configuration.PublicKeyDecryptionServerWrapperImpl(java.lang.String aPrivateKeyPath, java.lang.String aPublicKeysPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required configuration.PublicKeyDecryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPrivateKeyPath, java.lang.String aPrivateKeyPassPhrase, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required services and configuration.PublicKeyDecryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPrivateKeyPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required services and configuration.PublicKeyEncryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required services and configuration.PublicKeyEncryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator)
Constructs the service with the required services and configuration.PublicKeyEncryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required services and configuration.PublicKeyEncryptionServiceImpl(java.lang.String aNamespace, java.lang.String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator, CipherVersionFactory<CipherVersion> aCipherVersionFactory)
Constructs the service with the required services and configuration.
-