23
23
The X509 encode and decode routines encode and parse an
24
24
B<X509> structure, which represents an X509 certificate.
27
27
successful a pointer to the B<X509> structure is returned. If an error
28
28
occurred then B<NULL> is returned. If B<px> is not B<NULL> then the
29
29
returned structure is written to B<*px>. If B<*px> is not B<NULL>
30
30
then it is assumed that B<*px> contains a valid B<X509>
31
31
structure and an attempt is made to reuse it. If the call is
35
35
i2d_X509() encodes the structure pointed to by B<x> into DER format.