Preparing search index...
The search index is not available
kaven-basic - v4.2.5
kaven-basic
KavenBrowserRSA
Class KavenBrowserRSA
Web Crypto API Wrap
Since
2.0.9
Version
2020-07-13
Hierarchy
KavenBrowserRSA
Index
Constructors
constructor
Properties
Private
Key
Public
Key
Methods
Decrypt
Decrypt
From
String
Encrypt
Encrypt
To
String
Sign
Sign
To
String
Verify
Verify
From
String
Create
Constructors
constructor
new
Kaven
BrowserRSA
(
publicKey
?
,
privateKey
?
)
:
KavenBrowserRSA
Parameters
Optional
publicKey
:
string
Optional
privateKey
:
string
Returns
KavenBrowserRSA
Properties
Readonly
Private
Key
Private
Key
:
undefined
|
string
Readonly
Public
Key
Public
Key
:
undefined
|
string
Methods
Decrypt
Decrypt
(
data
)
:
Promise
<
ArrayBuffer
>
Parameters
data
:
TDataOfKavenBrowserRSA
Returns
Promise
<
ArrayBuffer
>
Decrypt
From
String
Decrypt
From
String
<
T
>
(
data
)
:
Promise
<
T
>
Type Parameters
T
=
any
Parameters
data
:
string
Returns
Promise
<
T
>
Encrypt
Encrypt
(
data
)
:
Promise
<
ArrayBuffer
>
Parameters
data
:
TDataOfKavenBrowserRSA
Returns
Promise
<
ArrayBuffer
>
Encrypt
To
String
Encrypt
To
String
<
T
>
(
data
)
:
Promise
<
string
>
Type Parameters
T
Parameters
data
:
T
Returns
Promise
<
string
>
Sign
Sign
(
data
,
saltLength
?
)
:
Promise
<
ArrayBuffer
>
Parameters
data
:
TDataOfKavenBrowserRSA
Optional
saltLength
:
number
Returns
Promise
<
ArrayBuffer
>
Sign
To
String
Sign
To
String
<
T
>
(
data
,
saltLength
?
)
:
Promise
<
string
>
Type Parameters
T
Parameters
data
:
T
Optional
saltLength
:
number
Returns
Promise
<
string
>
Verify
Verify
(
data
,
signature
,
saltLength
?
)
:
Promise
<
boolean
>
Parameters
data
:
TDataOfKavenBrowserRSA
signature
:
TDataOfKavenBrowserRSA
Optional
saltLength
:
number
Returns
Promise
<
boolean
>
Verify
From
String
Verify
From
String
<
T
>
(
data
,
signature
,
saltLength
?
)
:
Promise
<
boolean
>
Type Parameters
T
Parameters
data
:
T
signature
:
string
Optional
saltLength
:
number
Returns
Promise
<
boolean
>
Static
Create
Create
(
bits
?
,
exponent
?
)
:
Promise
<
KavenBrowserRSA
>
Parameters
bits
:
number
= 4096
exponent
:
number
= 65537
Returns
Promise
<
KavenBrowserRSA
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
Private
Key
Public
Key
Decrypt
Decrypt
From
String
Encrypt
Encrypt
To
String
Sign
Sign
To
String
Verify
Verify
From
String
Create
kaven-basic - v4.2.5
ApiRequestVerifyError
BitStringType
DSP
DateTimeFormat
DayOfWeek
HttpRequestMethods
HttpStatusCode
LogLevel
TimeFactor
TimeUnit
TypeofResult
ADSR
ApiRequest
BitString
DateTime
FilePath
KavenAbstractSocket
KavenBrowserRSA
KavenCRC
KavenCollection
KavenLinkedList
Loading...
Generated using
TypeDoc
Web Crypto API Wrap
Since
2.0.9
Version
2020-07-13