Preparing search index...
The search index is not available
Bloom
Bloom
SSI SDK
secp256k1
sig
EcdsaSecp256k1Signature2019
Class EcdsaSecp256k1Signature2019
Hierarchy
any
EcdsaSecp256k1Signature2019
Index
Constructors
constructor
Properties
required
Key
Type
Methods
assert
Verification
Method
ensure
Suite
Context
get
Verification
Method
is
Verification
Method
Matching
Key
Id
match
Proof
sign
verify
Signature
Constructors
constructor
new
Ecdsa
Secp256k1
Signature2019
(
options
?
)
:
EcdsaSecp256k1Signature2019
Parameters
options
:
EcdsaSecp256k1Signature2019Options
= {}
Returns
EcdsaSecp256k1Signature2019
Properties
Private
required
Key
Type
required
Key
Type
:
string
Methods
assert
Verification
Method
assert
Verification
Method
(
__namedParameters
)
:
Promise
<
void
>
Parameters
__namedParameters
:
{
verificationMethod
:
Record
<
string
,
unknown
>
;
}
verification
Method
:
Record
<
string
,
unknown
>
Returns
Promise
<
void
>
ensure
Suite
Context
ensure
Suite
Context
(
__namedParameters
)
:
void
Parameters
__namedParameters
:
{
addSuiteContext
?:
boolean
;
document
:
Record
<
string
,
unknown
>
;
}
Optional
add
Suite
Context
?:
boolean
document
:
Record
<
string
,
unknown
>
Returns
void
get
Verification
Method
get
Verification
Method
(
opts
)
:
Promise
<
any
>
Parameters
opts
:
{
documentLoader
:
Function
;
proof
:
{
verificationMethod
:
undefined
|
string
|
{
id
:
string
;
}
;
}
;
}
document
Loader
:
Function
proof
:
{
verificationMethod
:
undefined
|
string
|
{
id
:
string
;
}
;
}
verification
Method
:
undefined
|
string
|
{
id
:
string
;
}
Returns
Promise
<
any
>
Private
is
Verification
Method
Matching
Key
Id
is
Verification
Method
Matching
Key
Id
(
verificationMethod
)
:
boolean
Parameters
verificationMethod
:
string
Returns
boolean
match
Proof
match
Proof
(
opts
)
:
Promise
<
boolean
>
Parameters
opts
:
{
document
:
Record
<
string
,
any
>
;
documentLoader
:
Function
;
expansionMap
:
Function
;
proof
:
Record
<
string
,
any
>
;
purpose
:
Record
<
string
,
any
>
;
}
document
:
Record
<
string
,
any
>
document
Loader
:
Function
expansion
Map
:
Function
proof
:
Record
<
string
,
any
>
purpose
:
Record
<
string
,
any
>
Returns
Promise
<
boolean
>
sign
sign
(
opts
)
:
Promise
<
{
jws
:
any
;
}
>
Parameters
opts
:
{
proof
:
Record
<
string
,
any
>
;
verifyData
:
Uint8Array
;
}
proof
:
Record
<
string
,
any
>
verify
Data
:
Uint8Array
Returns
Promise
<
{
jws
:
any
;
}
>
verify
Signature
verify
Signature
(
opts
)
:
Promise
<
any
>
Parameters
opts
:
{
proof
:
Record
<
string
,
unknown
>
;
verificationMethod
:
Record
<
string
,
unknown
>
;
verifyData
:
Uint8Array
;
}
proof
:
Record
<
string
,
unknown
>
verification
Method
:
Record
<
string
,
unknown
>
verify
Data
:
Uint8Array
Returns
Promise
<
any
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
required
Key
Type
assert
Verification
Method
ensure
Suite
Context
get
Verification
Method
is
Verification
Method
Matching
Key
Id
match
Proof
sign
verify
Signature
Bloom
Loading...