validateDidMethod
Validates that a DID matches a specific method.
Parameters
did
The DID to validate
expectedMethod
The expected method name
Throws
if the DID doesn't match the method
Validates that a DID matches a specific method.
The DID to validate
The expected method name
if the DID doesn't match the method