mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-02-21 10:01:49 +00:00
Merge pull request #378 from nsacyber/issue-345
[#345] Modify SupplyChainCredentialValidator class to loop through truststore
This commit is contained in:
commit
f3085759b7
@ -1405,7 +1405,7 @@ public final class SupplyChainCredentialValidator implements CredentialValidator
|
||||
boolean issuerMatchesSubject = false;
|
||||
boolean signatureMatchesPublicKey = false;
|
||||
|
||||
while (foundRootOfCertChain.isEmpty() && certIterator.hasNext()) {
|
||||
while (certIterator.hasNext()) {
|
||||
trustedCert = certIterator.next();
|
||||
issuerMatchesSubject = issuerMatchesSubjectDN(cert, trustedCert);
|
||||
signatureMatchesPublicKey = signatureMatchesPublicKey(cert, trustedCert);
|
||||
|
Loading…
x
Reference in New Issue
Block a user