PDF digital signature

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default PDF digital signature

    Hello all,

    I have a doubt regarding PDF PKCS7 signature. After signing a document (using Adobe Acrobat Professional 6.0), I extract the signature from the signature dictionary (content of 'Contents') and when I see it using an ASN.1 viewer, I notice that the field 'digestAlgorithm' in SignedData has value 'sha1withRSAEncryption', which is a signature (digest+encryption) algorithm rather than a digest algorithm, as indicated in RFC 2315 (PKCS7: Cryptographic Message Syntax v 1.5 Specification).

    Could anybody be so kind as to tell me why Adobe uses this algorithm instead of a digest algorithm (such as sha1, md5,..), please?

    Thank you very much in advance.
    Inma_M.@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Add digital signature by SDK API
      Hello, I want to add digital signature in my plug-in.Can I use PSDataBufferEnum to get databuffer then use PSDataBufferDigest to add digital...
    2. Digital signature
      Is it possible and how would I add a digital signature (signifying approval) to a form. Would I add it as a field on the form? Thank you.
    3. signature with Verisign Digital ID?
      Is it possible to use a Verisign Digital ID as certification or signature in Acrobat 6, or if not 6 then 7? When I go to Advanced > Manage Digital...
    4. Digital Signature in Acrobat 4.0
      I can digitally sign a document in Adobe Acrobat 4.0 and it will show up under the "Signatures" tab in the Navigation Pane. However, it does not show...
    5. digital signature not enabled
      I have 5.05 and on a particular document that someone else created, I am unable to apply a digital signature. The tools are not enabled and there is...
  3. #2

    Default Re: PDF digital signature

    I can't explain why the ASN.1 viewer is reporting that, but I can verify that there isn't any encryption being performed - just digesting.

    Leonard
    Leonard_Rosenthol@adobeforums.com Guest

  4. #3

    Default Re: PDF digital signature

    Besides, iText (a JAVA-PDF library) implementation finds that algorithm and converts it to 'sha1' in order to verify the signature using java.security.Signature and BouncyCastle as a cryptographic provider. The PKCS7 PDF signature, as-is, can not be verified using other cryptographic libraries, such as BouncyCastle or IAIK, due to the fact that it is specified 'sha1withRSAEncryption' as digest algorithm (which is considered a signature algorithm by these libraries), instead of a digest algorith like sha1 or md5.
    Inma_M.@adobeforums.com Guest

  5. #4

    Default Re: PDF digital signature

    Well, you did say you were using Acrobat 6, but the current version is Acrobat 8.

    It is certainly possible/probably that we fixed this in later versions.

    Leonard
    Leonard_Rosenthol@adobeforums.com Guest

  6. #5

    Default Re: PDF digital signature

    Hello!
    You wrote on Mon, 20 Nov 2006 03:37:00 -0800

    IM> I have a doubt regarding PDF PKCS7 signature. After signing a document
    IM> (using Adobe Acrobat Professional 6.0), I extract the signature from
    IM> the signature dictionary (content of 'Contents') and when I see it
    IM> using an ASN.1 viewer, I notice that the field 'digestAlgorithm' in
    IM> SignedData has value 'sha1withRSAEncryption', which is a signature
    IM> (digest+encryption) algorithm rather than a digest algorithm, as
    IM> indicated in RFC 2315 (PKCS7: Cryptographic Message Syntax v 1.5
    IM> Specification).

    Signing is a process of encrypting the hash (digest) with a secret key of
    the signer. So encryption (asymmetric) is involved.

    With best regards,
    Eugene Mayevski

    Eugene_Mayevski@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139