Commit b9a6748
committed
Refactor WebhookSignatureValidation for improved signature validation and certificate management
- Enhanced the validate method to streamline error handling and improve readability.
- Introduced separate methods to determine the appropriate certificate based on the current date and environment.
- Updated logic for determining the filename of the certificate to accommodate future certificates.
- Improved exception handling for loading keys and verifying signatures.1 parent 61a8ebe commit b9a6748
3 files changed
Lines changed: 488 additions & 434 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments