Module Brr_webcrypto.Crypto_key
CryptoKey
interface.
module Type : sig ... end
The key type enumeration.
module Usage : sig ... end
The key usage enumeration.
module Format : sig ... end
The key format enumeration.
type algo
Forward declaration of
Crypto_algo.t
type t
The type for
CryptoKey
object.
val extractable : t -> bool
extractable k
indicates ifk
can be extracted withSubtle_crypto.export_key
orSubtle_crypto.wrap_key
.
val algorithm : t -> algo
algorithm k
describes the algorithm for which this can be used an associated parameters.
Key pairs
type pair
The type for
CryptoKeyPair
objects.