Interface CipherVersionFactory<CV extends CipherVersion>

    • Method Detail

      • createInstance

        CV createInstance​(String aCipherUid,
                          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,​String,​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