X509 v0.1.0 X509 View Source
This top-level module includes generic, entity-independent conversion functions to/from DER and PEM format.
Note that the X509.PublicKey
and X509.PrivateKey
modules offer
specialized implementations of these functions for dealing with public and
private keys, respectively.
Link to this section Summary
Functions
Decodes an X.509 or related record in DER (binary) format
Scans the given string for PEM encoded entities
Converts an X.509 or related record to DER (binary) format
Converts an X.509 or related record to PEM format
Link to this section Functions
from_der(binary(), :public_key.pki_asn1_type()) :: tuple()
Decodes an X.509 or related record in DER (binary) format.
from_pem( String.t(), :public_key.pki_asn1_type() | [:public_key.pki_asn1_type()] ) :: [tuple()]
Scans the given string for PEM encoded entities.
An optional list of data types may be specified to filter the result down to entries of the given types. If an empty list is specified (the default), the results are not filtered.
Converts an X.509 or related record to DER (binary) format.
Converts an X.509 or related record to PEM format.