locked
Detect data type by OID RRS feed

  • Question

  • Hello

    I'm working with cryptography and i need to extract certificate extended properties.

    They located in CERT_EXTENSION structure. Parameters values are blob.

    I want to store properties in map: key - OID, value - string.

    To do that, i need to make conversion and to make conversion i need to know blob type.

    By knowing OID, can i detect the blob type ?

    • Moved by Jesse Jiang Tuesday, August 14, 2012 7:02 AM (From:Visual C++ General)
    Monday, August 13, 2012 11:56 AM

Answers

  • The issue is cleared.

    To make data decoding need use CryptDecodeObject function.

    • Marked as answer by bulat.safin Wednesday, August 15, 2012 5:28 AM
    Wednesday, August 15, 2012 5:28 AM

All replies

  • Hi,

    Welcome to the MSDN forum.

    According to your description, I'd like to move this thread to "Application Security for Windows Desktop Forum" for better support.

    Thanks for your understanding and active participation in the MSDN Forum.

    Regards,


    Elegentin Xie [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, August 14, 2012 7:15 AM
  • The issue is cleared.

    To make data decoding need use CryptDecodeObject function.

    • Marked as answer by bulat.safin Wednesday, August 15, 2012 5:28 AM
    Wednesday, August 15, 2012 5:28 AM