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 πŸ”’
ec_common πŸ”’
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Β§

DecapsulateOperation πŸ”’
DecryptOperation πŸ”’
The value of the key β€œdecrypt” in the internal object supportedAlgorithms
DeriveBitsOperation πŸ”’
The value of the key β€œderiveBits” in the internal object supportedAlgorithms
DigestOperation πŸ”’
The value of the key β€œdigest” in the internal object supportedAlgorithms
EncapsulateOperation πŸ”’
The value of the key β€œencapsulate” in the internal object supportedAlgorithms
EncryptOperation πŸ”’
The value of the key β€œencrypt” in the internal object supportedAlgorithms
ExportKeyOperation πŸ”’
The value of the key β€œexportKey” in the internal object supportedAlgorithms
GenerateKeyOperation πŸ”’
The value of the key β€œunwrapKey” in the internal object supportedAlgorithms
GetKeyLengthOperation πŸ”’
The value of the key β€œget key length” in the internal object supportedAlgorithms
GetPublicKeyOperation πŸ”’
ImportKeyOperation πŸ”’
The value of the key β€œimportKey” in the internal object supportedAlgorithms
SignOperation πŸ”’
The value of the key β€œsign” in the internal object supportedAlgorithms
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
UnwrapKeyOperation πŸ”’
The value of the key β€œunwrapKey” in the internal object supportedAlgorithms
VerifyOperation πŸ”’
The value of the key β€œverify” in the internal object supportedAlgorithms
WrapKeyOperation πŸ”’
The value of the key β€œwrapKey” in the internal object supportedAlgorithms

EnumsΒ§

CryptoAlgorithm πŸ”’
DecapsulateAlgorithm πŸ”’
Normalized algorithm for the β€œdecapsulate” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
DecryptAlgorithm πŸ”’
Normalized algorithm for the β€œdecrypt” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
DeriveBitsAlgorithm πŸ”’
Normalized algorithm for the β€œderiveBits” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
DigestAlgorithm πŸ”’
Normalized algorithm for the β€œdigest” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
EncapsulateAlgorithm πŸ”’
Normalized algorithm for the β€œencapsulate” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
EncryptAlgorithm πŸ”’
Normalized algorithm for the β€œencrypt” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
ExportKeyAlgorithm πŸ”’
Normalized algorithm for the β€œexportKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
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.
GenerateKeyAlgorithm πŸ”’
Normalized algorithm for the β€œgenerateKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
GetKeyLengthAlgorithm πŸ”’
Normalized algorithm for the β€œget key length” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
GetPublicKeyAlgorithm πŸ”’
Normalized algorithm for the β€œgetPublicKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
ImportKeyAlgorithm πŸ”’
Normalized algorithm for the β€œimportKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
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.
SignAlgorithm πŸ”’
Normalized algorithm for the β€œsign” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
UnwrapKeyAlgorithm πŸ”’
Normalized algorithm for the β€œunwrapKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
VerifyAlgorithm πŸ”’
Normalized algorithm for the β€œverify” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm
WrapKeyAlgorithm πŸ”’
Normalized algorithm for the β€œwrapKey” operation, used as output of https://w3c.github.io/webcrypto/#dfn-normalize-an-algorithm

ConstantsΒ§

NAMED_CURVE_P256 πŸ”’
NAMED_CURVE_P384 πŸ”’
NAMED_CURVE_P521 πŸ”’
_IMPL_DOMOBJECT_FOR_SubtleCrypto πŸ”’

StaticsΒ§

SUPPORTED_CURVES πŸ”’

TraitsΒ§

JsonWebKeyExt πŸ”’
NormalizedAlgorithm πŸ”’
Operation πŸ”’
TryFromWithCx πŸ”’
Alternative to std::convert::TryFrom, with &mut js::context::JSContext
TryIntoWithCx πŸ”’
Alternative to std::convert::TryInto, with &mut js::context::JSContext

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