DidcommAuthcryptEnvelope class
DIDComm v2 authcrypt JWE (ECDH-1PU + A256CBC-HS512, X25519/P-256 key agreement).
Sender authentication is the JWE's skid — the producer's DID#keyAgreement. The
maintainer's keyAgreement key is the recipient. Cleartext is JCS-canonical JSON of
the variant's payload type. M2A is the only implementation today; this is also the
canonical default for new code.
Constructors
- DidcommAuthcryptEnvelope({required Object? envelope, required String jwe})
-
const
-
DidcommAuthcryptEnvelope.fromJson(Map<
String, dynamic> json) -
Read this payload from a decoded JSON object.
factory
Properties
- envelope → Object?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- jwe → String
-
Compact DIDComm v2 JWE (base64url-encoded, dot-separated). Unpacks via the
framework's standard DIDComm machinery; cleartext is the payload-specific JSON.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serialize to a JSON-encodable map, omitting absent members.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited