Class AesCipherFactory
- java.lang.Object
-
- net.officefloor.web.jwt.authority.key.AesCipherFactory
-
- All Implemented Interfaces:
CipherFactory
public class AesCipherFactory extends java.lang.Object implements CipherFactory
AESCipherFactory
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AesCipherFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.crypto.Cipher
createCipher()
Creates aCipher
.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.web.jwt.authority.key.CipherFactory
getInitVectorSize, init
-
-
-
-
Method Detail
-
createCipher
public javax.crypto.Cipher createCipher() throws java.lang.Exception
Description copied from interface:CipherFactory
Creates aCipher
.- Specified by:
createCipher
in interfaceCipherFactory
- Returns:
Cipher
.- Throws:
java.lang.Exception
- If fails to createCipher
.
-
-