CryptoKeyPair class

The CryptoKeyPair dictionary of the Web Crypto API represents a key pair for an asymmetric cryptography algorithm, also known as a public-key algorithm.

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

CryptoKeyPair()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
privateKey CryptoKey

Available on CryptoKeyPair, provided by the CryptoKeyPair$Typings extension

getter/setter pair
publicKey CryptoKey

Available on CryptoKeyPair, provided by the CryptoKeyPair$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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