@request-seal/core API
Preparing search index...
index
KeyHandle
Type Alias KeyHandle
KeyHandle
:
Readonly
<
{
algorithm
:
CustodyAlgorithm
;
capabilities
:
readonly
(
"sign"
|
"verify"
|
"unwrap"
)
[]
;
identity
:
(
context
?:
Context
)
=>
Promise
<
Result
<
KeyIdentity
>
>
;
publicKey
:
(
context
?:
Context
)
=>
Promise
<
Result
<
PublicKey
>
>
;
release
:
()
=>
Promise
<
Result
<
true
>
>
;
sign
:
(
algorithm
:
unknown
,
data
:
unknown
,
context
:
Context
,
options
?:
unknown
,
)
=>
Promise
<
Result
<
Uint8Array
<
ArrayBuffer
>
>
>
;
unwrap
:
(
algorithm
:
unknown
,
wrappedKey
:
unknown
,
context
:
Context
,
options
?:
unknown
,
)
=>
Promise
<
Result
<
UnwrappedKey
>
>
;
verify
:
(
algorithm
:
unknown
,
signature
:
unknown
,
data
:
unknown
,
context
:
Context
,
options
?:
unknown
,
)
=>
Promise
<
Result
<
true
>
>
;
}
,
>
A branded algorithm-bound capability that confines private key operations.
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@request-seal/core API
Loading...
A branded algorithm-bound capability that confines private key operations.