![]() |
![]()
| ![]() |
![]()
NAMEOpenXPKI::Crypt::PKCS7::CertificateList DESCRIPTIONCreate a PKCS7 certificates-only structure from a list of certificates. After adding the certificate to the certs attribute call data or pem to get the PKCS7 structure. The class does no checks or any sorting on the list of items passed so make sure to sanitize your data. PARAMETERS / ACCESSOR METHODScertsAn array ref holding the DER encoded certificates that will be part of the final structure. crlsAn array ref holding the DER encoded CRLs that will be part of the final structure. If not set, the tag is also not created, can be an empty array ref to stay compatible to openssl crl2pkcs7 output where this is an empty tag. keep_duplicatesThe default is to not add a certificate more than once even if it occurs multiple times in the input. Set to true if you explicitly want to keep duplicates in the output structure. dataThe DER encoded PKCS7 structure. pemThe PEM encoded PKCS7 structure. METHODSadd_certExpects a DER or PEM encoded certificate as argument and appends it to the list of certificates.
|