☰
@nfen/webcrypto-ts
Version 0.1.13
Exports
. .
aes
aes/aes_cbc
aes/aes_ctr
aes/aes_gcm
aes/aes_kw
aes/shared
ec
ec/ecdh
ec/ecdsa
ec/shared
hmac
index
kdf
kdf/hkdf
kdf/pbkdf
kdf/shared
key_usages
params
proxy
random
rsa
rsa/rsa_oaep
rsa/rsa_pss
rsa/rsassa_pkcs1_v1_5
rsa/shared
sha
sha/sha_1
sha/sha_256
sha/sha_384
sha/sha_512
sha/shared
webcrypto
Enumerations
KeyFormats
KeyUsages
Type Aliases
DeriveKeyUsagePair
EncryptionKeyUsagePair
KeyUsagePair
KeyUsagePairs
SigningKeyUsagePair
WrappingKeyUsagePair
Variables
DeriveKeyUsagePair
EncryptionKeyUsagePair
SigningKeyUsagePair
WrappingKeyUsagePair
Functions
getKeyUsagePairsByAlg
?
Module
key_usages
source
·
[
−
]
Expand description
Key usages and allowed formats
Type Aliases
source
DeriveKeyUsagePair
source
type Derive
Key
Usage
Pair =
[
deriveKey
,
deriveBits
]
source
EncryptionKeyUsagePair
source
type Encryption
Key
Usage
Pair =
[
encrypt
,
decrypt
]
source
KeyUsagePair
source
type Key
Usage
Pair =
[
KeyUsage
,
KeyUsage
]
source
KeyUsagePairs
source
type Key
Usage
Pairs =
EncryptionKeyUsagePair
|
SigningKeyUsagePair
|
WrappingKeyUsagePair
|
DeriveKeyUsagePair
source
SigningKeyUsagePair
source
type Signing
Key
Usage
Pair =
[
sign
,
verify
]
source
WrappingKeyUsagePair
source
type Wrapping
Key
Usage
Pair =
[
wrapKey
,
unwrapKey
]
Variables
source
DeriveKeyUsagePair
source
var Derive
Key
Usage
Pair:
KeyUsagePair
source
EncryptionKeyUsagePair
source
var Encryption
Key
Usage
Pair:
KeyUsagePair
source
SigningKeyUsagePair
source
var Signing
Key
Usage
Pair:
KeyUsagePair
source
WrappingKeyUsagePair
source
var Wrapping
Key
Usage
Pair:
KeyUsagePair
Functions
source
getKeyUsagePairsByAlg
source
(
alg
:
string
)
:
KeyUsagePair
Given a algorithm, return the
most likely
key usage pair.
Parameters
alg:
string
Returns
KeyUsagePair
Enumerations
KeyFormats
KeyUsages