Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4082921

PKCS7.getCertificate() looks for subject name instead of issuer name

XMLWordPrintable

    • 1.2beta2
    • sparc
    • solaris_2.5.1
    • Not verified

      SignerInfos in a PKCS7 object indicate their certificates by issuer name and certificate serial number. Signature verification looks for this certificate
      using PKCS7.getCertificate(serialNo, name). The latter, however, looks for a
      certificate whose serial number is as given by the argument and whose *subject* name is as given by the second argument. This procedure won't find the proper certificate unless issuer and subject are the same, i.e. the certificate is self-signed.

            hprafullsunw Hemlata Prafullchandra (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: