CryptoKey

js.html.CryptoKey (extern class)

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:

Instance Members

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)


extractable: Bool

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


algorithm: Dynamic

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


usages: Array<String>

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