Preparing search index...
The search index is not available
@relaycorp/webcrypto-kms
@relaycorp/webcrypto-kms
KmsRsaPssProvider
Class KmsRsaPssProvider
Abstract
Hierarchy
RsaPssProvider
KmsRsaPssProvider
Index
Constructors
constructor
Properties
hash
Algorithms
name
usages
Methods
check
Algorithm
Name
check
Algorithm
Params
check
Crypto
Key
check
Decrypt
check
Derive
Bits
check
Derived
Key
Params
check
Digest
check
Encrypt
check
Export
Key
check
Generate
Key
check
Generate
Key
Params
check
Hash
Algorithm
check
Import
Key
check
Import
Params
check
Key
Data
check
Key
Format
check
Key
Usages
check
Required
Property
check
Sign
check
Verify
close
decrypt
derive
Bits
destroy
Key
digest
encrypt
export
Key
generate
Key
import
Key
on
Decrypt
on
Derive
Bits
on
Digest
on
Encrypt
on
Export
Key
on
Generate
Key
on
Import
Key
on
Sign
on
Verify
sign
verify
Constructors
constructor
new
Kms
Rsa
Pss
Provider
(
)
:
KmsRsaPssProvider
Returns
KmsRsaPssProvider
Properties
hash
Algorithms
hash
Algorithms
:
string
[]
Readonly
name
name
:
"RSA-PSS"
= "RSA-PSS"
Name of the algorithm
usages
usages
:
ProviderKeyUsages
Key usages for secret key or key pair
Methods
check
Algorithm
Name
check
Algorithm
Name
(
algorithm
)
:
void
Parameters
algorithm
:
Algorithm
Returns
void
check
Algorithm
Params
check
Algorithm
Params
(
algorithm
)
:
void
Parameters
algorithm
:
RsaPssParams
Returns
void
check
Crypto
Key
check
Crypto
Key
(
key
,
keyUsage
?
)
:
void
Parameters
key
:
CryptoKey
Optional
keyUsage
:
KeyUsage
Returns
void
check
Decrypt
check
Decrypt
(
algorithm
,
key
,
_data
,
options
?
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
_data
:
ArrayBuffer
Optional
options
:
IProviderCheckOptions
Rest
...
_args
:
any
[]
Returns
void
check
Derive
Bits
check
Derive
Bits
(
algorithm
,
baseKey
,
length
,
options
?
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
baseKey
:
CryptoKey
length
:
number
Optional
options
:
IProviderCheckOptions
Rest
...
_args
:
any
[]
Returns
void
check
Derived
Key
Params
check
Derived
Key
Params
(
_algorithm
)
:
void
Parameters
_algorithm
:
Algorithm
Returns
void
check
Digest
check
Digest
(
algorithm
,
_data
)
:
void
Parameters
algorithm
:
Algorithm
_data
:
ArrayBuffer
Returns
void
check
Encrypt
check
Encrypt
(
algorithm
,
key
,
_data
,
options
?
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
_data
:
ArrayBuffer
Optional
options
:
IProviderCheckOptions
Rest
...
_args
:
any
[]
Returns
void
check
Export
Key
check
Export
Key
(
format
,
key
,
...
_args
)
:
void
Parameters
format
:
KeyFormat
key
:
CryptoKey
Rest
...
_args
:
any
[]
Returns
void
check
Generate
Key
check
Generate
Key
(
algorithm
,
_extractable
,
keyUsages
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
_extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
_args
:
any
[]
Returns
void
check
Generate
Key
Params
check
Generate
Key
Params
(
algorithm
)
:
void
Parameters
algorithm
:
RsaHashedKeyGenParams
Returns
void
check
Hash
Algorithm
check
Hash
Algorithm
(
algorithm
,
hashAlgorithms
)
:
void
Parameters
algorithm
:
Algorithm
hashAlgorithms
:
string
[]
Returns
void
check
Import
Key
check
Import
Key
(
format
,
keyData
,
algorithm
,
_extractable
,
keyUsages
,
...
_args
)
:
void
Parameters
format
:
KeyFormat
keyData
:
ArrayBuffer
|
JsonWebKey
algorithm
:
Algorithm
_extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
_args
:
any
[]
Returns
void
check
Import
Params
check
Import
Params
(
algorithm
)
:
void
Parameters
algorithm
:
RsaHashedImportParams
Returns
void
check
Key
Data
check
Key
Data
(
format
,
keyData
)
:
void
Parameters
format
:
KeyFormat
keyData
:
any
Returns
void
check
Key
Format
check
Key
Format
(
format
)
:
void
Parameters
format
:
any
Returns
void
check
Key
Usages
check
Key
Usages
(
usages
,
allowed
)
:
void
Parameters
usages
:
KeyUsages
allowed
:
KeyUsages
Returns
void
check
Required
Property
check
Required
Property
(
data
,
propName
)
:
void
Parameters
data
:
object
propName
:
string
Returns
void
check
Sign
check
Sign
(
algorithm
,
key
,
_data
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
_data
:
ArrayBuffer
Rest
...
_args
:
any
[]
Returns
void
check
Verify
check
Verify
(
algorithm
,
key
,
_signature
,
_data
,
...
_args
)
:
void
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
_signature
:
ArrayBuffer
_data
:
ArrayBuffer
Rest
...
_args
:
any
[]
Returns
void
Abstract
close
close
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
decrypt
decrypt
(
algorithm
,
key
,
data
,
options
?
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
data
:
ArrayBuffer
Optional
options
:
IProviderCheckOptions
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
derive
Bits
derive
Bits
(
algorithm
,
baseKey
,
length
,
options
?
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
Algorithm
baseKey
:
CryptoKey
length
:
number
Optional
options
:
IProviderCheckOptions
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
Abstract
destroy
Key
destroy
Key
(
key
)
:
Promise
<
void
>
Parameters
key
:
CryptoKey
Returns
Promise
<
void
>
digest
digest
(
algorithm
,
data
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
Algorithm
data
:
ArrayBuffer
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
encrypt
encrypt
(
algorithm
,
key
,
data
,
options
?
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
data
:
ArrayBuffer
Optional
options
:
IProviderCheckOptions
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
export
Key
export
Key
(
format
,
key
,
...
args
)
:
Promise
<
ArrayBuffer
|
JsonWebKey
>
Parameters
format
:
KeyFormat
key
:
CryptoKey
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
|
JsonWebKey
>
generate
Key
generate
Key
(
algorithm
,
extractable
,
keyUsages
)
:
Promise
<
CryptoKeyPair
>
Parameters
algorithm
:
"Ed25519"
extractable
:
boolean
keyUsages
:
readonly
(
"sign"
|
"verify"
)
[]
Returns
Promise
<
CryptoKeyPair
>
generate
Key
(
algorithm
,
extractable
,
keyUsages
)
:
Promise
<
CryptoKeyPair
>
Parameters
algorithm
:
RsaHashedKeyGenParams
|
EcKeyGenParams
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Returns
Promise
<
CryptoKeyPair
>
generate
Key
(
algorithm
,
extractable
,
keyUsages
)
:
Promise
<
CryptoKey
>
Parameters
algorithm
:
AesKeyGenParams
|
HmacKeyGenParams
|
Pbkdf2Params
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Returns
Promise
<
CryptoKey
>
generate
Key
(
algorithm
,
extractable
,
keyUsages
,
...
args
)
:
Promise
<
CryptoKey
|
CryptoKeyPair
>
Parameters
algorithm
:
Algorithm
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
args
:
any
[]
Returns
Promise
<
CryptoKey
|
CryptoKeyPair
>
import
Key
import
Key
(
format
,
keyData
,
algorithm
,
extractable
,
keyUsages
,
...
args
)
:
Promise
<
CryptoKey
>
Parameters
format
:
KeyFormat
keyData
:
ArrayBuffer
|
JsonWebKey
algorithm
:
Algorithm
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
args
:
any
[]
Returns
Promise
<
CryptoKey
>
on
Decrypt
on
Decrypt
(
_algorithm
,
_key
,
_data
,
...
_args
)
:
Promise
<
ArrayBuffer
>
Parameters
_algorithm
:
Algorithm
_key
:
CryptoKey
_data
:
ArrayBuffer
Rest
...
_args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
on
Derive
Bits
on
Derive
Bits
(
_algorithm
,
_baseKey
,
_length
,
...
_args
)
:
Promise
<
ArrayBuffer
>
Parameters
_algorithm
:
Algorithm
_baseKey
:
CryptoKey
_length
:
number
Rest
...
_args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
on
Digest
on
Digest
(
_algorithm
,
_data
)
:
Promise
<
ArrayBuffer
>
Parameters
_algorithm
:
Algorithm
_data
:
ArrayBuffer
Returns
Promise
<
ArrayBuffer
>
on
Encrypt
on
Encrypt
(
_algorithm
,
_key
,
_data
,
...
_args
)
:
Promise
<
ArrayBuffer
>
Parameters
_algorithm
:
Algorithm
_key
:
CryptoKey
_data
:
ArrayBuffer
Rest
...
_args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
Abstract
on
Export
Key
on
Export
Key
(
format
,
key
,
...
args
)
:
Promise
<
ArrayBuffer
|
JsonWebKey
>
Parameters
format
:
KeyFormat
key
:
CryptoKey$1
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
|
JsonWebKey
>
Abstract
on
Generate
Key
on
Generate
Key
(
algorithm
,
extractable
,
keyUsages
,
...
args
)
:
Promise
<
CryptoKeyPair
>
Parameters
algorithm
:
RsaHashedKeyGenParams
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
args
:
any
[]
Returns
Promise
<
CryptoKeyPair
>
Abstract
on
Import
Key
on
Import
Key
(
format
,
keyData
,
algorithm
,
extractable
,
keyUsages
,
...
args
)
:
Promise
<
CryptoKey$1
>
Parameters
format
:
KeyFormat
keyData
:
ArrayBuffer
|
JsonWebKey
algorithm
:
RsaHashedImportParams
extractable
:
boolean
keyUsages
:
KeyUsage
[]
Rest
...
args
:
any
[]
Returns
Promise
<
CryptoKey$1
>
Abstract
on
Sign
on
Sign
(
algorithm
,
key
,
data
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
RsaPssParams
key
:
CryptoKey
data
:
ArrayBuffer
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
Abstract
on
Verify
on
Verify
(
algorithm
,
key
,
signature
,
data
,
...
args
)
:
Promise
<
boolean
>
Parameters
algorithm
:
RsaPssParams
key
:
CryptoKey
signature
:
ArrayBuffer
data
:
ArrayBuffer
Rest
...
args
:
any
[]
Returns
Promise
<
boolean
>
sign
sign
(
algorithm
,
key
,
data
,
...
args
)
:
Promise
<
ArrayBuffer
>
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
data
:
ArrayBuffer
Rest
...
args
:
any
[]
Returns
Promise
<
ArrayBuffer
>
verify
verify
(
algorithm
,
key
,
signature
,
data
,
...
args
)
:
Promise
<
boolean
>
Parameters
algorithm
:
Algorithm
key
:
CryptoKey
signature
:
ArrayBuffer
data
:
ArrayBuffer
Rest
...
args
:
any
[]
Returns
Promise
<
boolean
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
hash
Algorithms
name
usages
Methods
check
Algorithm
Name
check
Algorithm
Params
check
Crypto
Key
check
Decrypt
check
Derive
Bits
check
Derived
Key
Params
check
Digest
check
Encrypt
check
Export
Key
check
Generate
Key
check
Generate
Key
Params
check
Hash
Algorithm
check
Import
Key
check
Import
Params
check
Key
Data
check
Key
Format
check
Key
Usages
check
Required
Property
check
Sign
check
Verify
close
decrypt
derive
Bits
destroy
Key
digest
encrypt
export
Key
generate
Key
import
Key
on
Decrypt
on
Derive
Bits
on
Digest
on
Encrypt
on
Export
Key
on
Generate
Key
on
Import
Key
on
Sign
on
Verify
sign
verify
@relaycorp/webcrypto-kms
Loading...
Name of the algorithm