Preparing search index...
The search index is not available
snort.social
snort.social
@snort/system
PrivateKeySigner
Class PrivateKeySigner
Implements
EventSigner
Index
Constructors
constructor
Properties
#private
Key
#public
Key
Accessors
private
Key
supports
Methods
get
Pub
Key
init
nip44
Decrypt
nip44
Encrypt
nip4
Decrypt
nip4
Encrypt
sign
Constructors
constructor
new
Private
Key
Signer
(
privateKey
)
:
PrivateKeySigner
Parameters
privateKey
:
string
|
Uint8Array
Returns
PrivateKeySigner
Properties
Private
#private
Key
#private
Key
:
string
Private
#public
Key
#public
Key
:
string
Accessors
private
Key
get
privateKey
(
)
:
string
Returns
string
supports
get
supports
(
)
:
string
[]
Returns
string
[]
Methods
get
Pub
Key
get
Pub
Key
(
)
:
string
Returns
string
init
init
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
nip44
Decrypt
nip44
Decrypt
(
content
,
otherKey
)
:
Promise
<
string
>
Parameters
content
:
string
otherKey
:
string
Returns
Promise
<
string
>
nip44
Encrypt
nip44
Encrypt
(
content
,
key
)
:
Promise
<
string
>
Parameters
content
:
string
key
:
string
Returns
Promise
<
string
>
nip4
Decrypt
nip4
Decrypt
(
content
,
otherKey
)
:
Promise
<
string
>
Parameters
content
:
string
otherKey
:
string
Returns
Promise
<
string
>
nip4
Encrypt
nip4
Encrypt
(
content
,
key
)
:
Promise
<
string
>
Parameters
content
:
string
key
:
string
Returns
Promise
<
string
>
sign
sign
(
ev
)
:
Promise
<
NostrEvent
>
Parameters
ev
:
NostrEvent
Returns
Promise
<
NostrEvent
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
#private
Key
#public
Key
private
Key
supports
get
Pub
Key
init
nip44
Decrypt
nip44
Encrypt
nip4
Decrypt
nip4
Encrypt
sign
snort.social
@snort
shared
system
system-react
system-svelte
system-wasm
system-web
Generated using
TypeDoc