mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 11:53:09 +00:00
8268916: Tests for AffirmTrust roots
Reviewed-by: mullan
This commit is contained in:
parent
2d38495b61
commit
8c1bb2b280
@ -352,6 +352,46 @@
|
||||
* @run main/othervm -Djava.security.debug=certpath CAInterop certignarootca CRL
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test id=affirmtrustcommercialca
|
||||
* @bug 8040012
|
||||
* @summary Interoperability tests with AffirmTrust Commercial CA
|
||||
* @library /test/lib
|
||||
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
|
||||
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustcommercialca OCSP
|
||||
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustcommercialca CRL
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test id=affirmtrustnetworkingca
|
||||
* @bug 8040012
|
||||
* @summary Interoperability tests with AffirmTrust Networking CA
|
||||
* @library /test/lib
|
||||
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
|
||||
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustnetworkingca OCSP
|
||||
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustnetworkingca CRL
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test id=affirmtrustpremiumca
|
||||
* @bug 8040012
|
||||
* @summary Interoperability tests with AffirmTrust Premium CA
|
||||
* @library /test/lib
|
||||
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
|
||||
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustpremiumca OCSP
|
||||
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustpremiumca CRL
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test id=affirmtrustpremiumeccca
|
||||
* @bug 8040012
|
||||
* @summary Interoperability tests with AffirmTrust Premium ECC CA
|
||||
* @library /test/lib
|
||||
* @build jtreg.SkippedException ValidatePathWithURL CAInterop
|
||||
* @run main/othervm -Djava.security.debug=certpath,ocsp CAInterop affirmtrustpremiumeccca OCSP
|
||||
* @run main/othervm -Djava.security.debug=certpath CAInterop affirmtrustpremiumeccca CRL
|
||||
*/
|
||||
|
||||
/**
|
||||
* Collection of certificate validation tests for interoperability with external CAs
|
||||
*/
|
||||
@ -479,6 +519,20 @@ public class CAInterop {
|
||||
new CATestURLs("https://valid.servicesca.dhimyotis.com",
|
||||
"https://revoked.servicesca.dhimyotis.com");
|
||||
|
||||
// These are listed at https://www.affirmtrust.com/resources/
|
||||
case "affirmtrustcommercialca" ->
|
||||
new CATestURLs("https://validcommercial.affirmtrust.com",
|
||||
"https://revokedcommercial.affirmtrust.com");
|
||||
case "affirmtrustnetworkingca" ->
|
||||
new CATestURLs("https://validnetworking.affirmtrust.com",
|
||||
"https://revokednetworking.affirmtrust.com");
|
||||
case "affirmtrustpremiumca" ->
|
||||
new CATestURLs("https://validpremium.affirmtrust.com",
|
||||
"https://revokedpremium.affirmtrust.com");
|
||||
case "affirmtrustpremiumeccca" ->
|
||||
new CATestURLs("https://validpremiumecc.affirmtrust.com",
|
||||
"https://revokedpremiumecc.affirmtrust.com");
|
||||
|
||||
default -> throw new RuntimeException("No test setup found for: " + alias);
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user