# Functions
IsDIDCommV2 returns true iff mtp is one of: MediaTypeV2EncryptedEnvelope, MediaTypeV2EncryptedEnvelopeV1PlaintextPayload, MediaTypeAIP2RFC0587Profile, MediaTypeDIDCommV2Profile, or MediaTypeV2PlaintextPayload.
MediaTypeProfiles returns the list of accepted mediatype profiles.
# Constants
LegacyDIDCommV1Profile is the media type used by legacy didcomm agent systems.
MediaTypeAIP2RFC0019Profile for AIP 2.0, circa 2021 using RFC0019 encryption envelope.
MediaTypeAIP2RFC0587Profile for AIP 2.0, circa 2021 using the new JWE encryption envelope (DIDComm V2 style).
MediaTypeDIDCommV2Profile is the official DIDComm V2 profile.
MediaTypeProfileDIDCommAIP1 is the encryption envelope, signing mechanism, plaintext conventions, and routing algorithms embodied in Aries AIP 1.0, circa 2020.
MediaTypeRFC0019EncryptedEnvelope is the original media type for DIDComm V1 encrypted envelopes as per Aries RFC 0019.
MediaTypeV1EncryptedEnvelope is the media type for DIDComm V1 encrypted envelopes as per Aries RFC 0044.
MediaTypeV1PlaintextPayload is the media type for DIDComm V1 JWE payloads as per Aries RFC 0044.
MediaTypeV2EncryptedEnvelope is the media type for DIDComm V2 encrypted envelopes as per Aries RFC 0044 and the DIF DIDComm spec.
MediaTypeV2EncryptedEnvelopeV1PlaintextPayload is the media type for DIDComm V2 encrypted envelopes with a V1 plaintext payload as per Aries RFC 0587.
MediaTypeV2PlaintextPayload is the media type for DIDComm V1 JWE payloads as per Aries 044.
# Interfaces
InboundTransport interface definition for inbound transport layer.
OutboundTransport interface definition for transport layer This is the client side of the agent.
Packager manages the handling, building and parsing of DIDComm raw messages in JSON envelopes.
Provider contains dependencies for starting the inbound/outbound transports.
# Type aliases
InboundMessageHandler handles the inbound requests.