DkgEncryptedSecret class
Constructors
- DkgEncryptedSecret.new(ECCiphertext ciphertext)
- DkgEncryptedSecret.encrypt({required ECPublicKey recipientKey, required ECPrivateKey senderKey})
-
Encrypts a
secretShare
for arecipientKey
using thesenderKey
.
Properties
- ciphertext → ECCiphertext
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decrypt(
{required ECPrivateKey recipientKey, required ECPublicKey senderKey}) → DkgShareToGive? - Decrypts the DkgShareToGive or returns null if it cannot be decrypted and authenticated.
-
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