Skip to main content

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 πŸ”’
ed448_operation πŸ”’
ed25519_operation πŸ”’
hkdf_operation πŸ”’
hmac_operation πŸ”’
kangarootwelve_operation πŸ”’
kmac_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 πŸ”’
turboshake_operation πŸ”’
x448_operation πŸ”’
x25519_operation πŸ”’

StructsΒ§

AeadParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-AeadParams
AesCbcParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesCbcParams
AesCtrParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesCtrParams
AesDerivedKeyParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesDerivedKeyParams
AesGcmParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesGcmParams
AesKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesKeyAlgorithm
AesKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-AesKeyGenParams
Algorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-Algorithm
Argon2Params πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-Argon2Params
CShakeParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-CShakeParams
ContextParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-ContextParams
DecapsulateOperation πŸ”’
The value of the key β€œdecapsulate” in the internal object supportedAlgorithms
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
EcKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyAlgorithm
EcKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyGenParams
EcKeyImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcKeyImportParams
EcdhKeyDeriveParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcdhKeyDeriveParams
EcdsaParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-EcdsaParams
EncapsulateOperation πŸ”’
The value of the key β€œencapsulate” in the internal object supportedAlgorithms
EncapsulatedBits πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-EncapsulatedBits
EncapsulatedKey πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-EncapsulatedKey
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 πŸ”’
The value of the key β€œgetPublicKey” in the internal object supportedAlgorithms
HkdfParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HkdfParams
HmacImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacImportParams
HmacKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacKeyAlgorithm
HmacKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-HmacKeyGenParams
ImportKeyOperation πŸ”’
The value of the key β€œimportKey” in the internal object supportedAlgorithms
KangarooTwelveParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-KangarooTwelveParams
KeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-KeyAlgorithm
KmacImportParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-KmacImportParams
KmacKeyAlgorithm πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-KmacKeyAlgorithm
KmacKeyGenParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-KmacKeyGenParams
KmacParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-KmacParams
Pbkdf2Params πŸ”’
https://w3c.github.io/webcrypto/#dfn-Pbkdf2Params
RsaHashedImportParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedImportParams
RsaHashedKeyAlgorithm πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyAlgorithm
RsaHashedKeyGenParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaHashedKeyGenParams
RsaOaepParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaOaepParams
RsaPssParams πŸ”’
https://w3c.github.io/webcrypto/#dfn-RsaPssParams
SignOperation πŸ”’
The value of the key β€œsign” in the internal object supportedAlgorithms
SubtleCrypto πŸ”’
https://w3c.github.io/webcrypto/#subtlecrypto-interface
SubtleEd448Params πŸ”’
https://wicg.github.io/webcrypto-secure-curves/#dfn-Ed448Params
TurboShakeParams πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-TurboShakeParams
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 πŸ”’
TryFromWithCxAndName πŸ”’
Alternative to std::convert::TryFrom, with &mut js::context::JSContext
TryIntoWithCxAndName πŸ”’
Alternative to std::convert::TryInto, with &mut js::context::JSContext

FunctionsΒ§

check_support_for_algorithm πŸ”’
https://wicg.github.io/webcrypto-modern-algos/#dfn-check-support-for-algorithm
get_optional_buffer_source πŸ”’
Helper to retrieve an optional paramter in BufferSource from WebIDL dictionary, and get a copy of the bytes held by the buffer source according to https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
get_required_buffer_source πŸ”’
Helper to retrieve a required paramter in BufferSource from WebIDL dictionary, and get a copy of the bytes held by the buffer source according to https://webidl.spec.whatwg.org/#dfn-get-buffer-source-copy
get_required_parameter πŸ”’
Helper to retrieve a required paramter from WebIDL dictionary.
get_required_parameter_in_box πŸ”’
Helper to retrieve a required paramter, in RootedTraceableBox, from WebIDL dictionary.
normalize_algorithm πŸ”’
https://w3c.github.io/webcrypto/#algorithm-normalization-normalize-an-algorithm