-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add fixes for getIssuer and getSerial (#15) * Add search for commonName in getIssuer * Properly return serial number from _cert in getSerial * Use array.prototype.find instead of a for loop to find commonName * Remove static and private from searchForCommonName * Use for of loop in searchForCommonName * Add compatability to getSerial * Use double quotes in getSerial * Fix typo and suggest using getSerial("v2") in deprecation warning * Use cert.getCommonName to get serial in CertManager * Remove unnecessary param from getCommonName * Change names of variables / functions in CertManager to indicate that common name is used as a key instead of the serial number --------- Co-authored-by: James Cullum (Pseudonym) <JamesCullum@users.noreply.github.com>
- Loading branch information
1 parent
e4fd8a0
commit b058745
Showing
2 changed files
with
34 additions
and
22 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