Attributes
- Companion
- object
- Graph
-
- Supertypes
- Known subtypes
-
class PlaintextMessageClass
Members list
Value members
Abstract methods
type or piuri is a URI that associates the body of a plaintext message with a published and versioned schema
type or piuri is a URI that associates the body of a plaintext message with a published and versioned schema
Attributes
application-level data inside a JSON
application-level data inside a JSON
This attribute MUST be present, even if empty. It MUST be a JSON object conforming to RFC 7159.
Attributes
OPTIONAL when the message is to be encrypted via anoncrypt;
OPTIONAL when the message is to be encrypted via anoncrypt;
TODO REQUIRED when the message is encrypted via authcrypt
Attributes
DIDComm defines a specific header to handle DID rotation. This header is called from_prior and can be used in any message sent to the other party. That message must include the from_prior header that is a standard JWT token conformed with:
DIDComm defines a specific header to handle DID rotation. This header is called from_prior and can be used in any message sent to the other party. That message must include the from_prior header that is a standard JWT token conformed with:
- Header:
- typ: jwt
- alg: verification algorithm such as EdDSA
- crv: curve name
- kid: key id from previous DID that is used in the signature of this JWT
- Payload:
- sub: the new DID
- iss: the previous DID
- iat: datetime in seconds
- Signature: from the previous DID and key defined in the kid
For more information @see https://didcomm.org/book/v2/didrotation
Attributes
Extension Return Route Header
Extension Return Route Header
For HTTP transports, the presence of this message decorator indicates that the receiving agent MAY hold onto the connection and use it to return messages as designated. HTTP transports will only be able to receive at most one message at a time. Websocket transports are capable of receiving multiple messages over a single connection.
Attributes
- See also
-
- none: Default. No messages should be returned over this connection. If return_route is omitted, this is the default value.
- all: Send all messages for this DID over the connection.
- thread: Send all messages matching the DID and thread specified in the return_route_thread attribute.
- TODO what is return_route_thread?