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 use
CipherVersion instances with
additional attributes or functionality; the CipherVersionFactory can
be replaced with a custom implementation instantiating CipherVersion
(sub-)types with the additional required attributes or functionality. |
interface |
CipherVersionGenerator<CV extends CipherVersion> |
Depending on the security demands and performance issues; the
Generator generating CipherVersion instances can be replaced
with a custom CipherVersionGenerator using its own approach
generating ciphers and cipher UIDs (CipherVersion instances). |
Modifier and Type | Class | Description |
---|---|---|
class |
CipherVersionImpl |
The Class CipherVersionImpl.
|
Modifier and Type | Method | Description |
---|---|---|
protected abstract <CV extends CipherVersion> |
AbstractDecryptionService.toDecryptedCipherVersion(CV aEncyrptedCipherVersion) |
Hook factory method to be implemented by subclasses.
|
protected <CV extends CipherVersion> |
LoopbackDecryptionServiceImpl.toDecryptedCipherVersion(CV aEncryptedCipherVersion) |
Deprecated.
To prevent accidental use in productive environment this
insecure implementation of the
DecryptionService has
been marked as being deprecated; please use only for testing
purposes. |
protected <CV extends CipherVersion> |
PublicKeyDecryptionServiceImpl.toDecryptedCipherVersion(CV aEncyrptedCipherVersion) |
To decrypted cipher version.
|
protected abstract <CV extends CipherVersion> |
AbstractEncryptionService.toEncryptedCipherVersion(CV aDecyrptedCipherVersion) |
Hook factory method to be implemented by subclasses.
|
protected <CV extends CipherVersion> |
LoopbackEncryptionServiceImpl.toEncryptedCipherVersion(CV aDecyrptedCipherVersion) |
Deprecated.
|
protected <CV extends CipherVersion> |
PublicKeyEncryptionServiceImpl.toEncryptedCipherVersion(CV aDecryptedCipherVersion) |
To encrypted cipher version.
|
Modifier and Type | Method | Description |
---|---|---|
CipherVersion |
CipherVersionFactoryImpl.createInstance(String aCipherUid,
String aCipher) |
Factory method to be implemented by subclasses.
|
CipherVersion |
AbstractEncryptionService.next() |
Generator method to be implemented by subclasses.
|
Modifier and Type | Method | Description |
---|---|---|
List<CipherVersion> |
AbstractDecryptionService.getCipherVersions() |
Returns the currently available cipher versions.
|
List<CipherVersion> |
DecryptionServer.getCipherVersions(String aNamespace,
String aMessage,
String aSignature) |
Returns the currently available cipher versions.
|
List<CipherVersion> |
DecryptionService.getCipherVersions() |
Returns the currently available cipher versions.
|
List<CipherVersion> |
InMemoryDecryptionServerImpl.getCipherVersions(String aNamespace,
String aMessage,
String aSignature) |
Returns the currently available cipher versions.
|
List<CipherVersion> |
PublicKeyDecryptionServerWrapperImpl.getCipherVersions(String aNamespace,
String aMessage,
String aSignature) |
Returns the currently available cipher versions.
|
Modifier and Type | Method | Description |
---|---|---|
void |
EncryptionServer.addCipherVersion(String aNamespace,
CipherVersion aCipherVersion) |
Adds a
CipherVersion to the EncryptionServer . |
protected void |
InMemoryDecryptionServerImpl.addCipherVersion(String aNamespace,
CipherVersion aCipherVersion) |
Adds a cipher version to the server.
|
void |
InMemoryEncryptionServerImpl.addCipherVersion(String aNamespace,
CipherVersion aCipherVersion) |
Adds a
CipherVersion to the EncryptionServer . |
int |
CipherVersionImpl.compareTo(CipherVersion aCipherVersion) |
Constructor | Description |
---|---|
AbstractEncryptionService(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(String aPrivateKeyPath,
String aPrivateKeyPassPhrase,
String aPublicKeysPath,
DecryptionServer aDecryptionServer,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required configuration.
|
PublicKeyDecryptionServerWrapperImpl(String aPrivateKeyPath,
String aPublicKeysPath,
DecryptionServer aDecryptionServer,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required configuration.
|
PublicKeyDecryptionServiceImpl(String aNamespace,
String aPrivateKeyPath,
String aPrivateKeyPassPhrase,
DecryptionServer aDecryptionServer,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required services and configuration.
|
PublicKeyDecryptionServiceImpl(String aNamespace,
String aPrivateKeyPath,
DecryptionServer aDecryptionServer,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required services and configuration.
|
PublicKeyEncryptionServiceImpl(String aNamespace,
String aPublicKeyPath,
EncryptionServer aEncryptionServer,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required services and configuration.
|
PublicKeyEncryptionServiceImpl(String aNamespace,
String aPublicKeyPath,
EncryptionServer aEncryptionServer,
CipherVersionGenerator<CipherVersion> aCipherVersionGenerator) |
Constructs the service with the required services and configuration.
|
PublicKeyEncryptionServiceImpl(String aNamespace,
String aPublicKeyPath,
EncryptionServer aEncryptionServer,
CipherVersionGenerator<CipherVersion> aCipherVersionGenerator,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required services and configuration.
|
PublicKeyEncryptionServiceImpl(String aNamespace,
String aPublicKeyPath,
EncryptionServer aEncryptionServer,
CipherVersionGenerator<CipherVersion> aCipherVersionGenerator,
CipherVersionFactory<CipherVersion> aCipherVersionFactory) |
Constructs the service with the required services and configuration.
|
Copyright © 2018. All rights reserved.