Signature
Class: Signature
Implements
Signature
Constructors
constructor
new Signature(obj
)
Parameters
Name | Type |
---|---|
obj | Partial <Signature > |
Defined in
Properties
ecdsaCompact
ecdsaCompact: undefined
| ECDSACompactWithRecovery
Implementation of
signature.Signature.ecdsaCompact
Defined in
walletEcdsaCompact
walletEcdsaCompact: undefined
| ECDSACompactWithRecovery
Implementation of
signature.Signature.walletEcdsaCompact
Defined in
Methods
equals
equals(other
): boolean
Parameters
Name | Type |
---|---|
other | Signature |
Returns
boolean
Defined in
getPublicKey
getPublicKey(digest
): undefined
| PublicKey
Parameters
Name | Type |
---|---|
digest | Uint8Array |
Returns
undefined
| PublicKey
Defined in
signerKey
signerKey(key
): Promise
<undefined
| UnsignedPublicKey
>
Parameters
Name | Type |
---|---|
key | SignedPublicKey |
Returns
Promise
<undefined
| UnsignedPublicKey
>
Defined in
toBytes
toBytes(): Uint8Array
Returns
Uint8Array
Defined in
fromBytes
Static
fromBytes(bytes
): Signature
Parameters
Name | Type |
---|---|
bytes | Uint8Array |