CryptoKey class

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers. The interface of the Web Crypto API represents a cryptographic key obtained from one of the SubtleCrypto methods generateKey(), deriveKey(), importKey(), or unwrapKey(). For security reasons, the interface can only be used in a secure context.

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

CryptoKey()
factory

Properties

algorithm → dynamic

Available on CryptoKey, provided by the PropsCryptoKey extension

no setter
extractable → bool

Available on CryptoKey, provided by the PropsCryptoKey extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → KeyType

Available on CryptoKey, provided by the PropsCryptoKey extension

no setter
usages → dynamic

Available on CryptoKey, provided by the PropsCryptoKey extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited