Mentalis.org Security Library documentation

Certificate Services

Extensions

This example shows how to extract certificate extensions from certificates. Extensions are structures that are contained in a certificate file. Since every extension decodes to a different structure, the user must implement the methods that convert a decoded extension to a structure himself. This example implements parsers for three extensions.
This example is distributed together with the source code of the Mentalis.org Security Library. It is located under the Samples\Certificates\Extensions directory.