Jeremie Klein > App-CamelPKI > *App::CamelPKI::CertTemplate::CertBase*

Download:
CamelPKI/App-CamelPKI-0.07.tar.gz

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

App::CamelPKI::CertTemplate::CertBase - Open templates for certificates.

fillCommon($cacert, $cert)

Fills common fields for all open templates, from $cacert. These fields are extensions, issuer DN, creation and validation dates.

fill_subject_DN($cert, @dn)

Sets the subject DN in $cert to @dn, which is a list alternating DN keys and values in reverse RFC4514 order, without the leading ("O", "camel.fr") prefix which is implied. The DN will be set in UTF-8 in the certificate, pursuant to RFC3280 § 4.1.2.4.