DecryptionService has been marked
as being deprecated; please use only for testing purposes.@Deprecated public class LoopbackDecryptionServiceImpl extends AbstractDecryptionService
LoopbackDecryptionServiceImpl is an UNSECURE implementation of
the DecryptionService managing the ciphers in the
CipherVersion in plan text. This implementation's mere purpose is to
provide means to easily set up a quick and dirty test setup. The
LoopbackDecryptionServiceImpl is the counterpart of the
LoopbackEncryptionServiceImpl which both work (insecurely) hand in
hand.
The LoopbackDecryptionServiceImpl must not be used in production
environments!
| Constructor and Description |
|---|
LoopbackDecryptionServiceImpl(String aNamespace,
InMemoryDecryptionServerImpl aDecryptionServer)
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. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
createMessage()
Deprecated.
Creates a message for which a signature is to be created in order to
authenticate for the retrieval of the cipher versions.
|
protected <CV extends CipherVersion> |
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 String |
toSignature(String aMessage)
Deprecated.
Creates a signature for the given message.
|
getCipherVersions, setCipherVersionsExpireTimeInMs@Deprecated public LoopbackDecryptionServiceImpl(String aNamespace, InMemoryDecryptionServerImpl aDecryptionServer)
DecryptionService has
been marked as being deprecated; please use only for testing
purposes.protected String toSignature(String aMessage)
toSignature in class AbstractDecryptionServiceaMessage - The message for which a signature is to be generatedprotected String createMessage()
createMessage in class AbstractDecryptionService@Deprecated protected <CV extends CipherVersion> CV toDecryptedCipherVersion(CV aEncryptedCipherVersion)
DecryptionService has
been marked as being deprecated; please use only for testing
purposes.CipherVersion argument is returned
unmodified (not decrypted!). Please overwrite this method with a
decrypting one!toDecryptedCipherVersion in class AbstractDecryptionServiceCV - The type of the CipherVersion to be used.aEncryptedCipherVersion - The CipherVersion to be decrypted.CipherVersion.Copyright © 2018. All rights reserved.