org.silverpeas.util.crypto
Class CipherFactory
java.lang.Object
org.silverpeas.util.crypto.CipherFactory
public class CipherFactory
- extends Object
A factory of the ciphers supported by Silverpeas.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CipherFactory
public CipherFactory()
getFactory
public static CipherFactory getFactory()
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.
Copyright © 2016 Silverpeas. All Rights Reserved.