Dfns TypeScript SDK - v0.8.35
Preparing search index...
@dfns/sdk-browser
PasswordProtectedKeyRing
Class PasswordProtectedKeyRing
Implements
CredentialSigner
<
KeyAssertion
>
Index
Constructors
constructor
Methods
reset
sign
Constructors
constructor
new
PasswordProtectedKeyRing
(
username
:
string
,
prompt
:
PromptCallback
,
ttlMs
?:
number
,
)
:
PasswordProtectedKeyRing
Parameters
username
:
string
prompt
:
PromptCallback
Optional
ttlMs
:
number
Returns
PasswordProtectedKeyRing
Methods
reset
reset
()
:
Promise
<
void
>
Returns
Promise
<
void
>
sign
sign
(
options
:
{
allowCredentials
?:
{
passwordProtectedKey
?:
{
encryptedPrivateKey
:
string
;
id
:
string
}
[]
;
}
;
challenge
:
string
;
}
,
)
:
Promise
<
KeyAssertion
>
Parameters
options
:
{
allowCredentials
?:
{
passwordProtectedKey
?:
{
encryptedPrivateKey
:
string
;
id
:
string
}
[]
;
}
;
challenge
:
string
;
}
Returns
Promise
<
KeyAssertion
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
reset
sign
Dfns TypeScript SDK - v0.8.35
Loading...