Optional
privateKey: string | ArrayBuffer | ECDSASECP256K1PrivateKeyOptional
publicKey: string | ArrayBuffer | ECDSASECP256K1PublicKeyReadonly
supportsDetermine if the key supports encryption/decryption
Static
isDetermine if this key pair has a private key associated
Get the type of key in use (ECDSA or ED25519) for this key pair
Get the public key for this key pair
Testing interface to validate that a private key is equal to some value (undefined if undecidable)
Decrypt some data
Encrypt some data
Sign some data
Optional
options: signOptionsTypeVerify a signature
Optional
options: signOptionsTypeStatic
deriveCreate a private key generated from a seed value and an index
Static
deriveStatic
fromCreate a new instance with a private key generated from a seed value and index
Static
signatureProtected
Static
signatureConstruct an SEC-like signature from a DER encoded ECDSA [R,S] structure
Static
signatureConstruct an ASN.1-encoded [R,S] struct from the SEC-like value
Generic ECDSA Key interface