resolveOrNull
Resolves this DID and returns the document, or null if it could not be resolved.
A deactivated DID (§4.4) is not folded into null. null here means "no usable document" only for the ordinary not-found/error cases; a deactivated DID is a revoked identity, not an absent one, and this convenience API's caller may use the returned document for verification/authorization — so, like resolveOrThrow, this throws instead of silently returning null for a revoked DID.
Return
The resolved DID document, or null if resolution failed (not found, invalid, etc.)
Parameters
The DID resolver to use
Throws
if the DID is deactivated
Resolves a DID and returns the document, or null if it could not be resolved.
A deactivated DID (§4.4) is not folded into null. null here means "no usable document" only for the ordinary not-found/error cases; a deactivated DID is a revoked identity, not an absent one, and this convenience API's caller may use the returned document for verification/authorization — so, like resolveOrThrow, this throws instead of silently returning null for a revoked DID.
Return
The resolved DID document, or null if resolution failed (not found, invalid, etc.)
Parameters
The DID to resolve
Throws
if the DID is deactivated