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 TypeMethodDescriptionFactory 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
create
-
Constructor Details
-
CipherVersionFactoryImpl
public CipherVersionFactoryImpl()
-
-
Method Details
-
create
Factory method to be implemented by subclasses. Required to create implementation dependentCipherVersion
objects.- Specified by:
create
in interfaceCipherVersionFactory<CipherVersion>
- Specified by:
create
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
-