Stricter checking for cipher transformations

XMLWordPrintable

        The javadoc of javax.crypto.Cipher class specifies:

        A transformation is of the form:
        "algorithm/mode/padding" or
        "algorithm"
        (in the latter case, provider-specific default values for the mode and padding scheme are used).

        Thus, we should reject transformations in "algorithm/mode/padding" syntax with empty mode and/or padding.

              Assignee:
              Valerie Peng
              Reporter:
              Valerie Peng
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: