Stricter checking for cipher transformations

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 21
    • Component/s: security-libs
    • None

        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:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: