/libcore/luni/src/test/java/tests/security/cert/ |
D | TrustAnchorTest.java | 41 import java.security.cert.TrustAnchor; 75 new TrustAnchor(validCaNameRfc2253, pk, getFullEncoding()); in testTrustAnchorStringPublicKeybyteArray01() 77 new TrustAnchor(validCaNameRfc2253, pk, getEncodingPSOnly()); in testTrustAnchorStringPublicKeybyteArray01() 79 new TrustAnchor(validCaNameRfc2253, pk, getEncodingESOnly()); in testTrustAnchorStringPublicKeybyteArray01() 81 new TrustAnchor(validCaNameRfc2253, pk, getEncodingNoMinMax()); in testTrustAnchorStringPublicKeybyteArray01() 96 new TrustAnchor(validCaNameRfc2253, pk, null); in testTrustAnchorStringPublicKeybyteArray02() 114 TrustAnchor ta = new TrustAnchor(validCaNameRfc2253, pk, ncCopy); in testTrustAnchorStringPublicKeybyteArray03() 136 new TrustAnchor((String)null, pk, getEncodingPSOnly()); in testTrustAnchorStringPublicKeybyteArray04() 143 new TrustAnchor(validCaNameRfc2253, null, getEncodingPSOnly()); in testTrustAnchorStringPublicKeybyteArray04() 150 new TrustAnchor((String)null, null, getEncodingPSOnly()); in testTrustAnchorStringPublicKeybyteArray04() [all …]
|
D | PKIXCertPathValidatorResultTest.java | 31 import java.security.cert.TrustAnchor; 73 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult01() 108 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult03() 129 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathValidatorResult04() 147 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetTrustAnchor() 170 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetPublicKey() 196 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetPolicyTree01() 223 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetPolicyTree02() 247 TrustAnchor ta = TestUtils.getTrustAnchor(); in testClone() 283 public MyPKIXCertPathBuilderResult(TrustAnchor trustAnchor, in MyPKIXCertPathBuilderResult() [all …]
|
D | PKIXCertPathBuilderResultTest.java | 35 import java.security.cert.TrustAnchor; 82 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult01() 105 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult02() 125 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult03() 168 TrustAnchor ta = TestUtils.getTrustAnchor(); in testPKIXCertPathBuilderResult05() 187 TrustAnchor ta = TestUtils.getTrustAnchor(); in test_clone() 211 TrustAnchor ta = TestUtils.getTrustAnchor(); in testGetCertPath() 238 TrustAnchor ta = TestUtils.getTrustAnchor(); in testToString()
|
D | PKIXBuilderParametersTest.java | 35 import java.security.cert.TrustAnchor; 88 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector01() 107 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector02() 127 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testPKIXBuilderParametersSetCertSelector03() 131 HashSet<TrustAnchor> originalSet = (HashSet<TrustAnchor>) taSet; in testPKIXBuilderParametersSetCertSelector03() 132 HashSet<TrustAnchor> originalSetCopy = (HashSet<TrustAnchor>) originalSet in testPKIXBuilderParametersSetCertSelector03() 154 new PKIXBuilderParameters((Set<TrustAnchor>) null, null); in testPKIXBuilderParametersSetCertSelector04() 170 new PKIXBuilderParameters(new HashSet<TrustAnchor>(), null); in testPKIXBuilderParametersSetCertSelector05()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | OldPKIXParametersTest.java | 31 import java.security.cert.TrustAnchor; 45 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testClone() 102 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testIsPolicyMappingInhibited() 112 Set<TrustAnchor> taSet2 = Collections.singleton(new TrustAnchor( in testIsPolicyMappingInhibited() 130 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testIsRevocationEnabled() 141 Set<TrustAnchor> taSet2 = Collections.singleton(new TrustAnchor( in testIsRevocationEnabled() 154 Set<TrustAnchor> taSet = TestUtils.getTrustAnchorSet(); in testToString()
|
D | CertPathValidatorTest.java | 28 import java.security.cert.TrustAnchor; 95 .singleton(new TrustAnchor((X509Certificate) rootCaEntry.getCertificate(), null))); in runOCSPStapledTest()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | PKIXParameters.java | 88 private Set<TrustAnchor> unmodTrustAnchors; 117 public PKIXParameters(Set<TrustAnchor> trustAnchors) in PKIXParameters() 147 Set<TrustAnchor> hashSet = new HashSet<TrustAnchor>(); in PKIXParameters() 154 hashSet.add(new TrustAnchor((X509Certificate)cert, null)); in PKIXParameters() 172 public Set<TrustAnchor> getTrustAnchors() { in getTrustAnchors() 192 public void setTrustAnchors(Set<TrustAnchor> trustAnchors) in setTrustAnchors() 203 for (Iterator<TrustAnchor> i = trustAnchors.iterator(); i.hasNext(); ) { in setTrustAnchors() 204 if (!(i.next() instanceof TrustAnchor)) { in setTrustAnchors() 210 (new HashSet<TrustAnchor>(trustAnchors)); in setTrustAnchors()
|
D | PKIXCertPathValidatorResult.java | 60 private TrustAnchor trustAnchor; 76 public PKIXCertPathValidatorResult(TrustAnchor trustAnchor, in PKIXCertPathValidatorResult() 94 public TrustAnchor getTrustAnchor() { in getTrustAnchor()
|
D | TrustAnchor.java | 63 public class TrustAnchor { class 123 public TrustAnchor(X509Certificate trustedCert, byte[] nameConstraints) in TrustAnchor() method in TrustAnchor 162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor() method in TrustAnchor 205 public TrustAnchor(String caName, PublicKey pubKey, byte[] nameConstraints) in TrustAnchor() method in TrustAnchor
|
D | PKIXCertPathBuilderResult.java | 79 TrustAnchor trustAnchor, PolicyNode policyTree, in PKIXCertPathBuilderResult()
|
D | PKIXBuilderParameters.java | 101 public PKIXBuilderParameters(Set<TrustAnchor> trustAnchors, CertSelector in PKIXBuilderParameters()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | TestUtils.java | 47 import java.security.cert.TrustAnchor; 91 public static TrustAnchor getTrustAnchor() { in getTrustAnchor() 107 return new TrustAnchor(c1, null); in getTrustAnchor() 125 public static Set<TrustAnchor> getTrustAnchorSet() { in getTrustAnchorSet() 126 TrustAnchor ta = getTrustAnchor(); in getTrustAnchorSet() 130 HashSet<TrustAnchor> set = new HashSet<TrustAnchor>(); in getTrustAnchorSet() 828 Collections.singleton(new TrustAnchor(rootCertificateSS, null)),
|
/libcore/ojluni/src/test/java/security/cert/ |
D | PKIXCertPathValidatorValidity.java | 118 Set<TrustAnchor> trustAnchors = new HashSet<>(); in runTest() 120 TrustAnchor ta = new TrustAnchor(generateCert(trustedCertStr, cf), in runTest()
|
D | AKISerialNumberTest.java | 118 TrustAnchor anchor = new TrustAnchor(rootCert, null); in main()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | SunCertPathBuilderResult.java | 33 import java.security.cert.TrustAnchor; 68 TrustAnchor trustAnchor, PolicyNode policyTree, in SunCertPathBuilderResult()
|
D | DistributionPointFetcher.java | 74 Set<TrustAnchor> trustAnchors, in getCRLs() 93 Set<TrustAnchor> trustAnchors, in getCRLs() 148 Set<TrustAnchor> trustAnchors, Date validity) in getCRLs() 319 Set<TrustAnchor> trustAnchors, List<CertStore> certStores, in verifyCRL() 628 Set<TrustAnchor> newTrustAnchors = new HashSet<>(trustAnchors); in verifyCRL() 636 TrustAnchor temporary; in verifyCRL() 638 temporary = new TrustAnchor(prevCert, null); in verifyCRL() 641 temporary = new TrustAnchor(principal, prevKey, null); in verifyCRL()
|
D | RevocationChecker.java | 55 private TrustAnchor anchor; 92 RevocationChecker(TrustAnchor anchor, ValidatorParams params) in RevocationChecker() 99 void init(TrustAnchor anchor, ValidatorParams params) in init() 208 Set<TrustAnchor> anchors, 226 Set<TrustAnchor> anchors, 242 Set<TrustAnchor> anchors, 263 Set<TrustAnchor> anchors, 268 for (TrustAnchor anchor : anchors) { 473 Set<TrustAnchor> anchors) 805 Set<TrustAnchor> anchors) [all …]
|
D | ForwardBuilder.java | 39 import java.security.cert.TrustAnchor; 68 private final Set<TrustAnchor> trustAnchors; 72 TrustAnchor trustAnchor; 87 for (TrustAnchor anchor : trustAnchors) { in ForwardBuilder() 838 List<TrustAnchor> otherAnchors = new ArrayList<>(); in isPathCompleted() 840 for (TrustAnchor anchor : trustAnchors) { in isPathCompleted() 864 for (TrustAnchor anchor : otherAnchors) { in isPathCompleted()
|
D | AlgorithmChecker.java | 43 import java.security.cert.TrustAnchor; 109 public AlgorithmChecker(TrustAnchor anchor) { in AlgorithmChecker() 139 public AlgorithmChecker(TrustAnchor anchor, in AlgorithmChecker() 362 void trySetTrustAnchor(TrustAnchor anchor) { in trySetTrustAnchor()
|
D | PKIX.java | 86 private Set<TrustAnchor> anchors; 106 for (TrustAnchor anchor : this.anchors) { in ValidatorParams() 169 Set<TrustAnchor> trustAnchors() { in trustAnchors()
|
D | PKIXCertPathValidator.java | 114 for (TrustAnchor anchor : params.trustAnchors()) { in validate() 158 private static PKIXCertPathValidatorResult validate(TrustAnchor anchor, in validate()
|
D | SunCertPathBuilder.java | 78 private TrustAnchor trustAnchor; 360 TrustAnchor anchor = new TrustAnchor in depthFirstSearchForward() 572 private static boolean anchorIsTarget(TrustAnchor anchor, in anchorIsTarget()
|
D | BasicChecker.java | 44 import java.security.cert.TrustAnchor; 81 BasicChecker(TrustAnchor anchor, Date date, String sigProvider, in BasicChecker()
|
D | OCSPResponse.java | 35 import java.security.cert.TrustAnchor; 517 new TrustAnchor(issuerCert, null)); in verify()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactory1Test.java | 32 import java.security.cert.TrustAnchor; 449 TrustAnchor ta = new TrustAnchor(validCaNameRfc2253, pk, getFullEncoding()); in test_initLjavax_net_ssl_ManagerFactoryParameters() 450 Set<TrustAnchor> trustAnchors = new HashSet<TrustAnchor>(); in test_initLjavax_net_ssl_ManagerFactoryParameters()
|