ack_sign_credential
Sign a W3C Verifiable Credential into a JWT by providing credential JSON, signer JWK, and signer DID. The resulting JWT can be verified later.
Instructions
Sign a W3C Verifiable Credential, returning a signed JWT string. Pass the JSON output from ack_create_controller_credential or ack_create_payment_receipt as the credential parameter. The resulting JWT can be verified with ack_verify_credential or ack_verify_payment_receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signerDid | Yes | DID of the signer (must match the JWK) | |
| signerJwk | Yes | JWK JSON string containing the signer's private key (from ack_generate_keypair or any valid private key JWK) | |
| credential | Yes | JSON string of the W3C credential to sign (output from ack_create_controller_credential or ack_create_payment_receipt) |