Interface CipherVersionFactory<CV extends CipherVersion>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      CV 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
    • Method Detail

      • createInstance

        CV 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 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