Class CipherFactory


  • public class CipherFactory
    extends Object
    A factory of the ciphers supported by Silverpeas.
    • Constructor Detail

      • CipherFactory

        public CipherFactory()
    • Method Detail

      • getCipher

        public Cipher getCipher​(CryptographicAlgorithmName cipherName)
        Gets the cipher identified by the specified cryptographic algorithm name.
        Parameters:
        cipherName - a name of a cryptographic cipher.
        Returns:
        the cipher that matches the specified name or null if no such cipher exists with the given algorithm name.