ASN.1 and certificate decoding guides
DER, BER and PEM encoding, X.509 layout, key formats, ECDSA signatures and OID reference: the points where real work gets stuck.
Basics
BasicsDER, BER and PEM: encoding rules and the envelopeHow tag, length and value become bytes, and where BER and DER part ways.CertificatesReading the structure of an X.509 certificateFollows the field order inside the certificate SEQUENCE and the extensions as real tags.
Certificates
KeysPKCS#8, SPKI and PKCS#1: three shapes of key fileWhich envelope a private or public key sits in, judged from the first tag.SignaturesECDSA DER signatures and fixed-width r‖sReads r and s from a DER signature and builds the curve-width r‖s that APIs expect.
Keys and signatures
Ready to look at your own bytes? Open the decoder.
Open the tool