@oslojs/crypto/ecdsa
Implements ECDSA over prime fields as specified in NIST FIPS 186-5 and SEC 1. Binary fields are not supported. It also includes APIs for working with X.509/PKIX formats. All curves defined in SEC 2 are provided out of the box.
Implementations are not fully constant-time. As such, only APIs for verifying signatures and parsing data are provided.
Functions
decodeIEEEP1363ECDSASignature()
decodeSEC1PublicKey()
decodePKIXECDSAPublicKey()
decodePKIXECDSASignature()
verifyECDSASignature()