Interface KeyUnwrapper<T extends Parameters>

    • Method Detail

      • getParameters

        T getParameters()
        Return the parameters for this un-wrapper.
        Returns:
        the un-wrapper's parameters.
      • unwrap

        byte[] unwrap​(byte[] in,
                      int inOff,
                      int inLen)
               throws InvalidWrappingException
        Return the unwrapped byte encoding of a key.
        Parameters:
        in - input data array.
        inOff - offset into data array wrapped key starts at.
        inLen - length of wrapped key data.
        Returns:
        the unwrapped byte encoding of the key.
        Throws:
        InvalidWrappingException - if the wrapping cannot be processed.