Variable: DER
constDER:IDER
Defined in: node_modules/@noble/curves/abstract/der.d.ts:97
ASN.1 DER encoding utilities. ASN is very complex & fragile. Format:
[0x30 (SEQUENCE), bytelength, 0x02 (INTEGER), intLength, R, 0x02 (INTEGER), intLength, S]
Docs: Let's Encrypt ASN.1 guide and Luca Deri's ASN.1 notes.
Example
ASN.1 DER encoding utilities.
const der = DER.hexFromSig({ r: 1n, s: 2n });