SignCallback: (
options: { jwk: Jwk; toBeSigned: Uint8Array },
) => Promise<Uint8Array>
Type Declaration
- (options: { jwk: Jwk; toBeSigned: Uint8Array }): Promise<Uint8Array>
Parameters
- options: { jwk: Jwk; toBeSigned: Uint8Array }
Returns Promise<Uint8Array>
Low-level signing callback used by entity configuration JWT creation.
Unlike SignJwtCallback (which operates on structured JWT header/payload), this callback receives the raw bytes to sign and returns the raw signature bytes, keeping the oid-federation package independent of any higher-level JWT abstraction.