OpenXPKI::Crypto::Profile::Certificate - cryptographic profile for
certifcates.
Create a new profile instance, all parameters are required.
- CA
- The alias of the ca token to be used (from the alias table)
- ID
- The name of the profile (as given in the realm.profile configuration)
- CACERTIFICATE
- CA certificate to use.
Must be a HashRef as returned by
"get_certificate_for_alias( { ALIAS } )" in API::Token
including the PEM encoded certificate.
This is mainly for testing, in regular operation the
certificate is determined using the API.
Load the profile, called from constructor