EncryptionService
has been marked
as being deprecated; please use only for testing purposes.@Deprecated public class LoopbackEncryptionServiceImpl extends AbstractEncryptionService
LoopbackEncryptionServiceImpl
is an UNSECURE implementation of
the EncryptionService
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 LoopbackEncryptionServiceImpl
must not be used in production
environments!
Constructor and Description |
---|
LoopbackEncryptionServiceImpl(String aNamespace,
EncryptionServer aEncryptionServer)
Deprecated.
To prevent accidental use in productive environment this
insecure implementation of the
EncryptionService has
been marked as being deprecated; please use only for testing
purposes. |
Modifier and Type | Method and Description |
---|---|
protected <CV extends CipherVersion> |
toEncryptedCipherVersion(CV aDecyrptedCipherVersion)
Deprecated.
To prevent accidental use in productive environment this
insecure implementation of the
EncryptionService has
been marked as being deprecated; please use only for testing
purposes. |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
@Deprecated public LoopbackEncryptionServiceImpl(String aNamespace, EncryptionServer aEncryptionServer)
EncryptionService
has
been marked as being deprecated; please use only for testing
purposes.@Deprecated protected <CV extends CipherVersion> CV toEncryptedCipherVersion(CV aDecyrptedCipherVersion)
EncryptionService
has
been marked as being deprecated; please use only for testing
purposes.CipherVersion
argument is returned
unmodified (not encrypted!). Please overwrite this method with an
encrypting one!toEncryptedCipherVersion
in class AbstractEncryptionService
CV
- The type of the CipherVersion
to be used.aDecyrptedCipherVersion
- The CipherVersion
to be encrypted.CipherVersion
.Copyright © 2016. All rights reserved.