payload-verification-digest-encoding-requires-hmac-algorithm
Overview
This rule belongs to the apimatic-codegen-validation
ruleset and states that:
The digest encoding configuration (hex, base64, or base64url) can only be used with HMAC-based algorithms (HMAC-SHA256 or HMAC-SHA512). The current algorithm doesn't support digest encoding options.
Property | Value |
---|---|
Enabled | Yes |
Maximum Severity | Error |
Message | Digest encoding requires HMAC algorithm type. |
Code | APIMATICCODEGEN_V552 |
Type | Validation |
Rule System | Semantic |
Broad Category | Webhooks |
Products Impacted | Code Generation, Developer Experience Portal |
Tags | apimatic code generation codegen sdks portal docs validation apimatic payload verification digest encoding algorithm HMAC configuration |
Suggested Fixes
- Change the algorithm to 'HMAC-SHA256' or 'HMAC-SHA512'.
- Remove the digest encoding configuration if not using HMAC algorithms.
- Ensure algorithm is set before configuring digest encoding.