Interface ICipherSpi

  • All Superinterfaces:
    ICipher
    All Known Implementing Classes:
    AbstractCipher, MessageDigestCipher, SymmetricCipher

    @StableMinor(version="14.0",
                 sinceVersion="5.5")
    public interface ICipherSpi
    extends ICipher
    Interface to be implemented by customized ciphers.

    To create a customized cipher, create a class that implements this interface, and configure lumisportalconfig.xml to use that class.

    Also consider extending AbstractCipher instead of implementing this interface directly.

    Since:
    5.5.0
    Version:
    $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
    • Method Detail

      • init

        void init​(Node configuration)
           throws PortalException
        This method is called only once and before any other method are called. This allows the cipher to initialize itself and read any custom configuration.
        Throws:
        PortalException
        Since:
        5.5.0