This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
|args||IPackDIDCommMessageArgs||an IPackDIDCommMessageArgs object. * args.message - IDIDCommMessage - the message to be packed * args.packing - DIDCommMessagePacking - the packing method * args.keyRef - Optional - string - either an |
|context||IAgentContext <IDIDManager & IKeyManager & IResolver>||This method requires an agent that also has IDIDManager, IKeyManager and IResolver plugins in use. When calling this method, the |
a Promise that resolves to an object containing the serialized packed