Vous êtes sur la page 1sur 1

This project contains a sample application that demonstrates the use of the

functions in DKCert API. The DKCert API includes functions to parse X.509
certificates and parse PKCS#12 files.

This sample contains the sample functionality as the CertParse sample but
is the C code version.

The sample has two options:

1) Display certificate. This option expects a raw X.509 certificate. Included


with the sample is a sample certificate: DKCert.CER.

The Sample will parse the selected certificate and display the following:
Public Key
Common Name
All certificate fields
Time strings

2) Parse PKCS#12 File. This option will parse a PKCS#12 file. Included with the
sample is a sample PKCS#12 file: DKCert.P12, password = "testtest"

The PKCS#12 file will be parsed and the certificate it contains will be
displayed.

Vous aimerez peut-être aussi