Secp256k1PublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:27
A Public Key implementation.
Implements
Section titled “Implements”Accessors
Section titled “Accessors”derKey
Section titled “derKey”Get Signature
Section titled “Get Signature”get derKey():
DerEncodedPublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:83
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”rawKey
Section titled “rawKey”Get Signature
Section titled “Get Signature”get rawKey():
Uint8Array
Defined in: identity-secp256k1/src/secp256k1.ts:77
Returns
Section titled “Returns”Uint8Array
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”toDer()
Section titled “toDer()”toDer():
DerEncodedPublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:93
Returns
Section titled “Returns”Implementation of
Section titled “Implementation of”toRaw()
Section titled “toRaw()”toRaw():
Uint8Array
Defined in: identity-secp256k1/src/secp256k1.ts:97
Returns
Section titled “Returns”Uint8Array
Implementation of
Section titled “Implementation of”from()
Section titled “from()”
static
from(maybeKey
):Secp256k1PublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:41
Construct Secp256k1PublicKey from an existing PublicKey
Parameters
Section titled “Parameters”maybeKey
Section titled “maybeKey”unknown
existing PublicKey, ArrayBuffer, DerEncodedPublicKey, or hex string
Returns
Section titled “Returns”Secp256k1PublicKey
Instance of Secp256k1PublicKey
fromDer()
Section titled “fromDer()”
static
fromDer(derKey
):Secp256k1PublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:32
Parameters
Section titled “Parameters”derKey
Section titled “derKey”Returns
Section titled “Returns”Secp256k1PublicKey
fromRaw()
Section titled “fromRaw()”
static
fromRaw(rawKey
):Secp256k1PublicKey
Defined in: identity-secp256k1/src/secp256k1.ts:28
Parameters
Section titled “Parameters”rawKey
Section titled “rawKey”Uint8Array
Returns
Section titled “Returns”Secp256k1PublicKey