Class CipherVersionFactoryImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CipherVersion createInstance​(java.lang.String aCipherUid, java.lang.String aCipher)
      Factory method to be implemented by subclasses.
      • Methods inherited from interface org.refcodes.factory.ContextLookupFactory

        createInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CipherVersionFactoryImpl

        public CipherVersionFactoryImpl​()
    • Method Detail

      • createInstance

        public CipherVersion createInstance​(java.lang.String aCipherUid,
                                            java.lang.String aCipher)
        Factory method to be implemented by subclasses. Required to create implementation dependent CipherVersion objects.
        Specified by:
        createInstance in interface CipherVersionFactory<CipherVersion>
        Specified by:
        createInstance in interface org.refcodes.factory.ContextLookupFactory<CV extends CipherVersion,java.lang.String,java.lang.String>
        Parameters:
        aCipherUid - The UID for the cipher to be stored in the CipherVersion
        aCipher - The cipher to be stored in the CipherVersion.
        Returns:
        The CipherVersion with the cipher UID and the cipher