Module issuance
Expand description
L2 and L3 credential issuance.
Structs§
- Autonomous
L2Result - Result of creating an L2 Autonomous credential.
- Immediate
L2Result - Result of creating an L2 Immediate credential.
- L3Checkout
Result - Result of creating an L3 checkout credential.
- L3Payment
Result - Result of creating an L3 payment credential.
Functions§
- create_
layer2_ autonomous - Create an L2 Autonomous-mode credential with constraints and agent key binding.
- create_
layer2_ immediate - Create an L2 Immediate-mode credential binding final checkout and payment values.
The caller must provide the serialized L1 SD-JWT and the user’s signing key
(the private key corresponding to L1
cnf.jwk). - create_
layer3_ checkout - Create an L3b checkout mandate signed by the agent’s key.
- create_
layer3_ payment - Create an L3a payment mandate signed by the agent’s key.