subtleCrypto property
JSObject
get
subtleCrypto
Implements the WebCrypto's
SubtleCrypto
interface. The cryptographic operations, including key generation, are
hardware-backed.
Only non-extractable keys can be generated. The supported key types
are RSASSA-PKCS1-V1_5 with modulusLength up to 2048 and
ECDSA with namedCurve P-256. Each key can be used for
signing data at most once, unless the extension is allowlisted by the
KeyPermissions
policy,
in which case the key can be used indefinitely.
Keys generated on a specific Token cannot be used with
any other Tokens, nor can they be used with
window.crypto.subtle. Equally, Key objects
created with window.crypto.subtle cannot be used with this
interface.
Implementation
JSObject get subtleCrypto => _wrapped.subtleCrypto;
set
subtleCrypto
(JSObject v)
Implementation
set subtleCrypto(JSObject v) {
_wrapped.subtleCrypto = v;
}