Dfns TypeScript SDK - v0.8.35
Preparing search index...
@dfns/sdk-browser
PasswordProtectedKeySigner
Class PasswordProtectedKeySigner
Index
Constructors
constructor
Methods
is
Unlocked
lock
sign
unlock
create
Constructors
constructor
new
PasswordProtectedKeySigner
(
keyData
:
{
credId
:
string
;
username
:
string
;
wrappedKey
:
string
}
,
ttlMs
?:
number
,
)
:
PasswordProtectedKeySigner
Parameters
keyData
:
{
credId
:
string
;
username
:
string
;
wrappedKey
:
string
}
ttlMs
:
number
= DEFAULT_TTL_MS
Returns
PasswordProtectedKeySigner
Methods
is
Unlocked
isUnlocked
()
:
boolean
Returns
boolean
lock
lock
()
:
Promise
<
void
>
Returns
Promise
<
void
>
sign
sign
(
options
:
{
allowCredentials
?:
{
passwordProtectedKey
?:
{
id
:
string
}
[]
}
;
challenge
:
string
;
}
,
)
:
Promise
<
KeyAssertion
>
Parameters
options
:
{
allowCredentials
?:
{
passwordProtectedKey
?:
{
id
:
string
}
[]
}
;
challenge
:
string
;
}
Returns
Promise
<
KeyAssertion
>
unlock
unlock
(
password
:
string
)
:
Promise
<
void
>
Parameters
password
:
string
Returns
Promise
<
void
>
Static
create
create
(
username
:
string
,
options
:
{
challenge
:
string
}
,
password
:
string
,
)
:
Promise
<
PasswordProtectedKeyAttestation
>
Parameters
username
:
string
options
:
{
challenge
:
string
}
password
:
string
Returns
Promise
<
PasswordProtectedKeyAttestation
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
is
Unlocked
lock
sign
unlock
create
Dfns TypeScript SDK - v0.8.35
Loading...