Uses of Interface
org.refcodes.forwardsecrecy.CipherVersion
Package
Description
This artifacts provides you means to produce high throughput of symmetric
encryption of data securing it with an asymmetric encryption approach -
giving you the speed of symmetric encryption and the security of asymmetric
(public/private-key) encryption.
-
Uses of CipherVersion in org.refcodes.forwardsecrecy
Modifier and TypeClassDescriptionclass
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).Modifier and TypeMethodDescriptionprotected abstract <CV extends CipherVersion>
CVAbstractDecryptionService.toDecryptedCipherVersion
(CV aEncyrptedCipherVersion) Hook factory method to be implemented by subclasses.protected <CV extends CipherVersion>
CVLoopbackDecryptionService.toDecryptedCipherVersion
(CV aEncryptedCipherVersion) Deprecated.protected <CV extends CipherVersion>
CVPublicKeyDecryptionService.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>
CVLoopbackEncryptionService.toEncryptedCipherVersion
(CV aDecyrptedCipherVersion) Deprecated.protected <CV extends CipherVersion>
CVPublicKeyEncryptionService.toEncryptedCipherVersion
(CV aDecryptedCipherVersion) To encrypted cipher version.Modifier and TypeMethodDescriptionFactory method to be implemented by subclasses.AbstractEncryptionService.next()
Generator method to be implemented by subclasses.Modifier and TypeMethodDescriptionAbstractDecryptionService.getCipherVersions()
Returns the currently available cipher versions.DecryptionServer.getCipherVersions
(String aNamespace, String aMessage, String aSignature) Returns the currently available cipher versions.DecryptionService.getCipherVersions()
Returns the currently available cipher versions.InMemoryDecryptionServer.getCipherVersions
(String aNamespace, String aMessage, String aSignature) Returns the currently available cipher versions.PublicKeyDecryptionServerWrapper.getCipherVersions
(String aNamespace, String aMessage, String aSignature) Returns the currently available cipher versions.Modifier and TypeMethodDescriptionvoid
EncryptionServer.addCipherVersion
(String aNamespace, CipherVersion aCipherVersion) Adds aCipherVersion
to theEncryptionServer
.protected void
InMemoryDecryptionServer.addCipherVersion
(String aNamespace, CipherVersion aCipherVersion) Adds a cipher version to the server.void
InMemoryEncryptionServer.addCipherVersion
(String aNamespace, CipherVersion aCipherVersion) Adds aCipherVersion
to theEncryptionServer
.int
CipherVersionImpl.compareTo
(CipherVersion aCipherVersion) ModifierConstructorDescriptionAbstractEncryptionService
(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.PublicKeyDecryptionServerWrapper
(String aPrivateKeyPath, String aPrivateKeyPassPhrase, String aPublicKeysPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required configuration.PublicKeyDecryptionServerWrapper
(String aPrivateKeyPath, String aPublicKeysPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required configuration.PublicKeyDecryptionService
(String aNamespece, String aPrivateKeyPath, String aPrivateKeyPassPhrase, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory, long aCipherVersionsExpireTimeMillis) Constructs the service with the required services and configuration.PublicKeyDecryptionService
(String aNamespece, String aPrivateKeyPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required services and configuration.PublicKeyDecryptionService
(String aNamespece, String aPrivateKeyPath, DecryptionServer aDecryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory, long aCipherVersionsExpireTimeMillis) Constructs the service with the required services and configuration.PublicKeyEncryptionService
(String aNamespace, String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required services and configuration.PublicKeyEncryptionService
(String aNamespace, String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator) Constructs the service with the required services and configuration.PublicKeyEncryptionService
(String aNamespace, String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required services and configuration.PublicKeyEncryptionService
(String aNamespace, String aPublicKeyPath, EncryptionServer aEncryptionServer, CipherVersionGenerator<CipherVersion> aCipherVersionGenerator, CipherVersionFactory<CipherVersion> aCipherVersionFactory) Constructs the service with the required services and configuration.
DecryptionService
has been marked as being deprecated; please use only for testing purposes.