Attachment Data
The AttachmentData interface represents a generic attachment for a DIDComm Message. Any type that conforms to AttachmentData can be used as an attachment.
Inheritors
Types
The AttachmentBase64 data class represents a DIDComm attachment containing base64-encoded data.
The AttachmentHeader data class represents the header for a DIDComm attachment.
The AttachmentJsonData data class represents a DIDComm attachment containing JSON data.
The AttachmentJws data class represents a DIDComm attachment containing a JWS (JSON Web Signature).
The AttachmentJwsData data class represents a DIDComm attachment containing JWS data.
The AttachmentLinkData data class represents a DIDComm attachment containing a link to external data.
Functions
This method verifies the type of AttachmentData and returns the data as a json string.