Extracting a timestamp from a PKCS#7

smveloso_at_gmail.com
Date: 10/21/05

  • Next message: Roger Abell [MVP]: "Re: Access Control to LDAP on AD?"
    Date: 21 Oct 2005 13:00:58 -0700
    
    

    Hi,

      I am having problems trying to retrieve the timestamp encoded in a
    pkcs#7 digital signature.

      I am using MS CryptoAPI and I extract the authenticated attribute
    using the CryptMsgGetParam(...) function. After all processing is done,
    I get a pointer to a CRYPT_ATTR_BLOB structure, which in turn provides
    me with a BYTE* (with the timestamp info).

      The problem is how to process this BYTE* to extract the original
    timestamp information... how is it encoded ? Does anyone know where can
    I find this information ?

      Thank you,
      Sérgio


  • Next message: Roger Abell [MVP]: "Re: Access Control to LDAP on AD?"

    Relevant Pages

    • Re: Extracting a timestamp from a PKCS#7
      ... - Mitch Gallant ... MVP Security ... I am using MS CryptoAPI and I extract the authenticated attribute ... me with a BYTE* (with the timestamp info). ...
      (microsoft.public.platformsdk.security)
    • Re: Firefox, XML, and Javascript (oh my!)
      ... to load the page with the ugly timestamp in a span, extract the ... timestamp and replace the content of the span with a snazzy formatted ...
      (comp.infosystems.www.authoring.html)
    • Simple CGI Question
      ... I'm trying to extract the PID ... that corresponds to it. ... timestamp. ...
      (perl.beginners)
    • Re: Code Signing
      ... At a guess I would say it's trying to access the internet. ... Michael Culley ... "Office could not timestamp the digital signature. ...
      (microsoft.public.vb.general.discussion)
    • Re: Code Signing
      ... At a guess I would say it's trying to access the internet. ... Michael Culley ... "Office could not timestamp the digital signature. ...
      (microsoft.public.office.misc)