Class LoopbackEncryptionService

    • Constructor Detail

      • LoopbackEncryptionService

        @Deprecated
        public LoopbackEncryptionService​(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.
    • Method Detail

      • toEncryptedCipherVersion

        @Deprecated
        protected <CV extends CipherVersion> CV toEncryptedCipherVersion​(CV aDecyrptedCipherVersion)
        Deprecated. 
        Hook factory method to be implemented by subclasses. The provided cipher is to be encrypted (e.g. with the public key of an asymmetric encryption approach) so that an Encryption-Server only receives encrypted data.
        Specified by:
        toEncryptedCipherVersion in class AbstractEncryptionService
        Type Parameters:
        CV - The type of the CipherVersion to be used.
        Parameters:
        aDecyrptedCipherVersion - The CipherVersion to be encrypted.
        Returns:
        The encrypted CipherVersion.