This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
forked from 99designs/http-signatures-php
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Key now handles inputs as X.509, naked Public Key and Private Key (all PEM) * Improved & clearer detection logic with explicit tests for asymmetric key material, falling back on shared secret for HMAC if asymmetric keys are not detected hasX509Certificate() hasPublicKey() hasPrivateKey() * Clearer names for test constants (easier to expand to EC later)
- Loading branch information
1 parent
0c9d9b8
commit fe91c52
Showing
7 changed files
with
196 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.