Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OpenXPKI::ServOpenXPKIUserrContributedoPerlcDocumentation::ParseCertificate(3)

Name
       OpenXPKI::Server::Workflow::Activity::Tools::ParseCertificate

Description
       Parse certificate and populate context entries with parsed information
       from the	certificate.

Parameters
   cert_attrmap
       Map parsed certificate attributes to context parameter names, allowing
       flexible	access and assignment of data parsed certificates into the
       context.	 Must be defined, otherwise no output is generated in the
       context.	Mapping	keys must be specified correctly (including case),
       otherwise an exception is thrown.

       List of (useful)	mapping	keys, the available values are identical to
       the entries in the X.509	class member variable $cert->{PARSED}->{BODY}.
       Some of these entries are not scalar values, but	complex	types. These
       are currently not available and referencing them	cause an exception to
       be thrown.

	   SUBJECT
	   SERIAL
	   SERIAL_HEX
	   IS_CA
	   ISSUER
	   EMAILADDRESS

       Less useful, but	still available:

	   PUBKEY_ALGORITHM
	   SIGNATURE_ALGORITHM
	   CA_KEYID
	   EXPONENT	      (hexadecimal string)
	   FINGERPRINT
	   KEYID
	   KEYSIZE
	   MODULUS	      (hexadecimal string)
	   OPENSSL_SUBJECT
	   PLAIN_EXTENSIONS   (large text blob,	unstructured)
	   VERSION

       Example for cert_attrmap:

       SUBJECT -> cert_subject,	ISSUER -> cert_issuer

       Writes the certificate subject to the context entry 'cert_subject', the
       certificate issuer to 'cert_issuer'.

   certificateincontextkey
       Context parameter to use	for input certificate (default:	certificate)

perl v5.24.1  OpenXPKI::Server::Workflow::Activity::Tools::ParseCertificate(3)

Name | Description | Parameters

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OpenXPKI::Server::Workflow::Activity::Tools::ParseCertificate&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help