Skip to main content

Certificate & Asymmetric Keys

Where certificates or keys are specified, these are in a BASE64 encoded DER format - DER is a binary encoding using ASN.1 and is commonly understood by most cryptographic libraries.

BASE64 encoded DER strings are very similar to PEM encoded values and can be converted by adding the appropriate PEM header and footer and by adding a newline character every 64 characters, e.g.

-----BEGIN PUBLIC KEY-----
BASE64 DER PUBLIC KEY
-----END PUBLIC KEY-----