ofSyntax
The DidKey value names, after checking its syntax only — what a frame's serializer checks, and no more. For a KeyScheme with no curve to check a point against; a name from outside, for real use, goes through parse.
Throws
when value is not a P-256 did:key by syntax.
The name of the key whose 33-byte compressed point is point, checking syntax only. For a KeyScheme that makes its own points, such as a test scheme.
Throws
when point is not 33 bytes led by 0x02 or 0x03.