Class EhealthCipher

  • All Implemented Interfaces:
    be.recipe.api.crypto.Cipher<be.recipe.api.crypto.Message.Cipher.Key>, be.recipe.api.crypto.Message.Cipher

    public class EhealthCipher
    extends Object
    implements be.recipe.api.crypto.Message.Cipher
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface be.recipe.api.crypto.Cipher

        be.recipe.api.crypto.Cipher.AES, be.recipe.api.crypto.Cipher.NotCipherable, be.recipe.api.crypto.Cipher.Undecipherable
      • Nested classes/interfaces inherited from interface be.recipe.api.crypto.Message.Cipher

        be.recipe.api.crypto.Message.Cipher.Key
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Crypto crypto  
    • Constructor Summary

      Constructors 
      Constructor Description
      EhealthCipher()  
    • Field Detail

      • crypto

        public Crypto crypto
    • Constructor Detail

      • EhealthCipher

        public EhealthCipher()
    • Method Detail

      • encrypt

        public byte[] encrypt​(byte[] decryptedMessage,
                              be.recipe.api.crypto.Message.Cipher.Key key)
        Specified by:
        encrypt in interface be.recipe.api.crypto.Cipher<be.recipe.api.crypto.Message.Cipher.Key>
      • decrypt

        public byte[] decrypt​(byte[] encryptedMessage,
                              be.recipe.api.crypto.Message.Cipher.Key key)
        Specified by:
        decrypt in interface be.recipe.api.crypto.Cipher<be.recipe.api.crypto.Message.Cipher.Key>