Crypto.subtleCryptomethod encrypt : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
bufferSource ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod decrypt : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
bufferSource ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod sign : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
bufferSource ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod verify : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
bufferSource ->
bufferSource ->
bool Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methmethod digest : algorithm ->
bufferSource ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methmethod generateKey : algorithm ->
bool Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methGenerate a single key (AES, HMAC, …).
method generateKey_pair : algorithm ->
bool Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t ->
cryptoKeyPair Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methGenerate a key pair (RSA, EC, …).
method deriveBits : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methDerive bits using the algorithm's default length.
method deriveBits_length : algorithm ->
cryptoKey Js_of_ocaml__.Js.t ->
int ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methderiveBits_length algorithm baseKey length derives length bits.
method importKey : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
bufferSource ->
algorithm ->
bool Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methImport a key from raw bytes (the raw, spki and pkcs8 formats).
method importKey_jwk : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
jsonWebKey ->
algorithm ->
bool Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methImport a key from a jsonWebKey (the jwk format).
method exportKey : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Typed_array.arrayBuffer Js_of_ocaml__.Js.t
Js_of_ocaml__.Promise.t
Js_of_ocaml__.Js.methExport to raw bytes (the raw, spki and pkcs8 formats).
method exportKey_jwk : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t ->
jsonWebKey Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.methExport to a jsonWebKey (the jwk format).
method unwrapKey : Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t ->
bufferSource ->
cryptoKey Js_of_ocaml__.Js.t ->
algorithm ->
algorithm ->
bool Js_of_ocaml__.Js.t ->
Js_of_ocaml__.Js.js_string Js_of_ocaml__.Js.t Js_of_ocaml__.Js.js_array
Js_of_ocaml__.Js.t ->
cryptoKey Js_of_ocaml__.Js.t Js_of_ocaml__.Promise.t Js_of_ocaml__.Js.meth