EcdhKeyDeriveParams class
The dictionary of the Web Crypto API represents the object that
should be passed as the algorithm parameter into
SubtleCrypto.deriveKey(), when using the ECDH algorithm.
ECDH enables two people who each have a key pair consisting of a
public and a private key to derive a shared secret. They exchange
public keys and use the combination of their private key and the
other entity's public key to derive a secret key that they — and
noone else — share.
The parameters for ECDH deriveKey() therefore include the
other entity's public key, which is combined with this entity's
private key to derive the shared secret.
- Implemented types
- Available extensions
- Annotations
-
- @anonymous
- @JS.new()
- @staticInterop
Constructors
- EcdhKeyDeriveParams({required CryptoKey public})
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
Available on Algorithm, provided by the PropsAlgorithm extension
getter/setter pair - public ↔ CryptoKey
-
Available on EcdhKeyDeriveParams, provided by the PropsEcdhKeyDeriveParams 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