Module pkix::pem

source ·

Structs

  • Split data by PEM guard lines
  • Type of the various PEM_* constants supplied to pem_to_der / der_to_pem.

Constants

Functions

  • Convert DER to PEM. The guardlines use the identifying string chosen by guard (e.g. PEM_CERTIFICATE).
  • Convert PEM to DER. If guard is specified (e.g. as PEM_CERTIFICATE), then the guardlines are verified to match the expected string. Otherwise, the guardlines are verified to generally have the correct form.