DIDComm Crypto Implementation Notes

Interoperable path (default factory)

DidCommCryptoDidcomm delegates pack/unpack to org.didcommx.didcomm.DIDComm with:

  • PackEncryptedParams: forward(false) (no mediator wrapping in this integration).
  • BlockingDidDocResolver: synchronous didcomm resolver backed by your suspend resolveDid, with a per-call timeout (default 30s) on Dispatchers.IO.
  • TrustWeaveDidDocMapper: TrustWeave DidDocument → didcomm DIDDoc (JWK-based verification methods map to JSON_WEB_KEY_2020).

You must supply a SecretResolver with private key material for each kid used in AuthCrypt.

Placeholder path

DidCommCrypto remains for non-interoperable local experiments (dummy ciphertext). Do not use it for production or cross-vendor interop.

Further reading


This site uses Just the Docs, a documentation theme for Jekyll.