prefer computeSignatureAsync: it accepts either a raw PrivateKey (byte-identical result) or an opaque IKeyOperations (HSM/KMS-held key). This synchronous form requires raw key material and is a removal candidate for the next major.
PrivateKey
IKeyOperations
Deprecated
prefer computeSignatureAsync: it accepts either a raw
PrivateKey(byte-identical result) or an opaqueIKeyOperations(HSM/KMS-held key). This synchronous form requires raw key material and is a removal candidate for the next major.