W3cubDocs

/Haxe JavaScript

CryptoKey

package js.html

@:native("CryptoKey") Available on js

The CryptoKey interface represents a cryptographic key derived from a specific key algorithm.

Documentation CryptoKey by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only algorithm:Dynamic

Returns an opaque object representing a particular cipher the key has to be used with.

read only extractable:Bool

Returns a Boolean indicating if the raw information may be exported to the application or not.

read only type:String

Returns an enumerated value representing the type of the key, a secret key (for symmetric algorithm), a public or a private key (for an asymmetric algorithm)

read only usages:Array<String>

Returns an array of enumerated values indicating what the key can be used for.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CryptoKey.html