Module org.refcodes.forwardsecrecy
Package org.refcodes.forwardsecrecy
Class CipherVersionFactoryImpl
java.lang.Object
org.refcodes.forwardsecrecy.CipherVersionFactoryImpl
- All Implemented Interfaces:
org.refcodes.factory.ContextLookupFactory<CipherVersion,
,String, String> CipherVersionFactory<CipherVersion>
Default implementation of a
CipherVersionFactory
creating
CipherVersion
instances.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(String aCipherUid, String aCipher) Factory method to be implemented by subclasses.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.refcodes.factory.ContextLookupFactory
createInstance
-
Constructor Details
-
CipherVersionFactoryImpl
public CipherVersionFactoryImpl()
-
-
Method Details
-
createInstance
Factory method to be implemented by subclasses. Required to create implementation dependentCipherVersion
objects.- Specified by:
createInstance
in interfaceCipherVersionFactory<CipherVersion>
- Specified by:
createInstance
in interfaceorg.refcodes.factory.ContextLookupFactory<CipherVersion,
String, String> - Parameters:
aCipherUid
- The UID for the cipher to be stored in theCipherVersion
aCipher
- The cipher to be stored in theCipherVersion
.- Returns:
- The
CipherVersion
with the cipher UID and the cipher
-