Module subtlecrypto

Module subtlecrypto 

Source

ModulesΒ§

aes_cbc_operation πŸ”’
aes_common πŸ”’
aes_ctr_operation πŸ”’
aes_gcm_operation πŸ”’
aes_kw_operation πŸ”’
aes_ocb_operation πŸ”’
argon2_operation πŸ”’
chacha20_poly1305_operation πŸ”’
cshake_operation πŸ”’
ecdh_operation πŸ”’
ecdsa_operation πŸ”’
ed25519_operation πŸ”’
hkdf_operation πŸ”’
hmac_operation πŸ”’
ml_dsa_operation πŸ”’
ml_kem_operation πŸ”’
pbkdf2_operation πŸ”’
rsa_common πŸ”’
rsa_oaep_operation πŸ”’
rsa_pss_operation πŸ”’
rsassa_pkcs1_v1_5_operation πŸ”’
sha3_operation πŸ”’
sha_operation πŸ”’
x25519_operation πŸ”’

StructsΒ§

SubtleAeadParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-AeadParams
SubtleAesCbcParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesCbcParams
SubtleAesCtrParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesCtrParams
SubtleAesDerivedKeyParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesDerivedKeyParams
SubtleAesGcmParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesGcmParams
SubtleAesKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesKeyAlgorithm
SubtleAesKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesKeyGenParams
SubtleAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-Algorithm
SubtleArgon2Params πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-Argon2Params
SubtleCShakeParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-CShakeParams
SubtleContextParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-ContextParams
SubtleCrypto πŸ”’
SubtleEcKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyAlgorithm
SubtleEcKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyGenParams
SubtleEcKeyImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyImportParams
SubtleEcdhKeyDeriveParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcdhKeyDeriveParams
SubtleEcdsaParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcdsaParams
SubtleEncapsulatedBits πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-EncapsulatedBits
SubtleEncapsulatedKey πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-EncapsulatedKey
SubtleHkdfParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HkdfParams
SubtleHmacImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacImportParams
SubtleHmacKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacKeyAlgorithm
SubtleHmacKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacKeyGenParams
SubtleKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-KeyAlgorithm
SubtlePbkdf2Params πŸ”’
https://w3c.github.io/webcrypto/#dfn-Pbkdf2Params
SubtleRsaHashedImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedImportParams
SubtleRsaHashedKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyAlgorithm
SubtleRsaHashedKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyGenParams
SubtleRsaOaepParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaOaepParams
SubtleRsaPssParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaPssParams

EnumsΒ§

Argon2Algorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for Argon2
CShakeAlgorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for cSHAKE
ExportedKey πŸ”’
The returned type of the successful export key operation. Bytes should be used when the key is exported in β€œraw”, β€œspki” or β€œpkcs8” format. Jwk should be used when the key is exported in β€œjwk” format.
JwkStringField πŸ”’
KeyAlgorithmAndDerivatives πŸ”’
Union type of KeyAlgorithm and IDL dictionary types derived from it. Note that we actually use our β€œsubtle” structs of the corresponding IDL dictionary types so that they can be easily passed to another threads.
MlDsaAlgorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for ML-DSA
MlKemAlgorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for ML-KEM
NormalizedAlgorithm πŸ”’
The successful output of normalize_algorithm, in form of an union type of (our β€œsubtle” binding of) IDL dictionary types.
Operation πŸ”’
https://w3c.github.io/webcrypto/#supported-operation
ParameterType πŸ”’
Sha3Algorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for SHA3
ShaAlgorithm πŸ”’
Inner type of https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms for SHA
SupportedAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-supportedAlgorithms

ConstantsΒ§

ALG_AES_CBC πŸ”’
ALG_AES_CTR πŸ”’
ALG_AES_GCM πŸ”’
ALG_AES_KW πŸ”’
ALG_AES_OCB πŸ”’
ALG_ARGON2D πŸ”’
ALG_ARGON2I πŸ”’
ALG_ARGON2ID πŸ”’
ALG_CHACHA20_POLY1305 πŸ”’
ALG_CSHAKE_128 πŸ”’
ALG_CSHAKE_256 πŸ”’
ALG_ECDH πŸ”’
ALG_ECDSA πŸ”’
ALG_ED25519 πŸ”’
ALG_HKDF πŸ”’
ALG_HMAC πŸ”’
ALG_ML_DSA_44 πŸ”’
ALG_ML_DSA_65 πŸ”’
ALG_ML_DSA_87 πŸ”’
ALG_ML_KEM_512 πŸ”’
ALG_ML_KEM_768 πŸ”’
ALG_ML_KEM_1024 πŸ”’
ALG_PBKDF2 πŸ”’
ALG_RSASSA_PKCS1_V1_5 πŸ”’
ALG_RSA_OAEP πŸ”’
ALG_RSA_PSS πŸ”’
ALG_SHA1 πŸ”’
ALG_SHA3_256 πŸ”’
ALG_SHA3_384 πŸ”’
ALG_SHA3_512 πŸ”’
ALG_SHA256 πŸ”’
ALG_SHA384 πŸ”’
ALG_SHA512 πŸ”’
ALG_X25519 πŸ”’
NAMED_CURVE_P256 πŸ”’
NAMED_CURVE_P384 πŸ”’
NAMED_CURVE_P521 πŸ”’
_IMPL_DOMOBJECT_FOR_SubtleCrypto πŸ”’

StaticsΒ§

SUPPORTED_ALGORITHMS πŸ”’
SUPPORTED_CURVES πŸ”’

TraitsΒ§

JsonWebKeyExt πŸ”’

FunctionsΒ§

dictionary_from_jsval πŸ”’
Helper to abstract the conversion process of a JS value into many different WebIDL dictionaries.
normalize_algorithm πŸ”’
https://w3c.github.io/webcrypto/#algorithm-normalization-normalize-an-algorithm
perform_export_key_operation πŸ”’
Return the result of performing the export key operation specified by the [[algorithm]] internal slot of key using key and format.