Interface KeyMaterialMerger


  • public interface KeyMaterialMerger
    Merge a given Key (update) with an existing Key.
    • Method Detail

      • merge

        KeyMaterial merge​(KeyMaterial data,
                          KeyMaterial existing)
                   throws java.io.IOException
        Merge the given key material with an existing copy and return the result. If no existing KeyMaterial is found (i.e. if existing is null), this method returns the unmodified data.
        Parameters:
        data - key material
        existing - optional already existing copy of the key material
        Returns:
        merged key material
        Throws:
        java.io.IOException - in case of an IO error