/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathValidatorException.java | 76 private CertPath certPath; field in CertPathValidatorException 150 CertPath certPath, int index) { in CertPathValidatorException() argument 151 this(msg, cause, certPath, index, BasicReason.UNSPECIFIED); in CertPathValidatorException() 176 CertPath certPath, int index, Reason reason) { in CertPathValidatorException() argument 178 if (certPath == null && index != -1) { in CertPathValidatorException() 182 (certPath != null && index >= certPath.getCertificates().size())) { in CertPathValidatorException() 188 this.certPath = certPath; in CertPathValidatorException() 201 return this.certPath; in getCertPath() 237 if (certPath == null && index != -1) { in readObject() 241 (certPath != null && index >= certPath.getCertificates().size())) { in readObject()
|
D | PKIXCertPathBuilderResult.java | 62 private CertPath certPath; field in PKIXCertPathBuilderResult 78 public PKIXCertPathBuilderResult(CertPath certPath, in PKIXCertPathBuilderResult() argument 83 if (certPath == null) in PKIXCertPathBuilderResult() 85 this.certPath = certPath; in PKIXCertPathBuilderResult() 99 return certPath; in getCertPath() 112 sb.append(" Certification Path: " + certPath + "\n"); in toString()
|
D | CertPathValidator.java | 297 public final CertPathValidatorResult validate(CertPath certPath, in validate() argument 301 return validatorSpi.engineValidate(certPath, params); in validate()
|
D | CertPathValidatorSpi.java | 83 engineValidate(CertPath certPath, CertPathParameters params) in engineValidate() argument
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory3Test.java | 132 CertPath certPath = null; in testGenerateCertPath01() local 133 certPath = certFs[i].generateCertPath(list); in testGenerateCertPath01() 134 assertEquals(cert.getType(), certPath.getType()); in testGenerateCertPath01() 135 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath01() 151 CertPath certPath = null; in testGenerateCertPath02() local 154 certPath = certFs[i].generateCertPath(fis, "PkiPath"); in testGenerateCertPath02() 156 assertEquals(defaultType, certPath.getType()); in testGenerateCertPath02() 158 List<? extends Certificate> list1 = certPath.getCertificates(); in testGenerateCertPath02() 179 CertPath certPath = null; in testGenerateCertPath03() local 182 certPath = certFs[i].generateCertPath(fis); in testGenerateCertPath03() [all …]
|
D | CertPathTest.java | 226 CertPath certPath = TestUtils.buildCertPathSSCertChain(); in testSerializationSelf() local 228 SerializationTest.verifySelf(certPath); in testSerializationSelf() 236 CertPath certPath = TestUtils.buildCertPathSSCertChain(); in testSerializationCompatibility() local 238 SerializationTest.verifyGolden(this, certPath); in testSerializationCompatibility()
|
D | CertPathValidatorExceptionTest.java | 441 CertPath certPath = mock(CertPath.class); in testCertPathValidatorException_constructsCorrectlyWithReason() local 448 doReturn(certList).when(certPath).getCertificates(); in testCertPathValidatorException_constructsCorrectlyWithReason() 451 cause, certPath, 1, BasicReason.REVOKED); in testCertPathValidatorException_constructsCorrectlyWithReason() 455 assertEquals(certPath, exception.getCertPath()); in testCertPathValidatorException_constructsCorrectlyWithReason()
|
D | CertPathBuilder1Test.java | 325 CertPath certPath = result.getCertPath(); in testBuild() local 326 assertNotNull("certpath of builder result is null", certPath); in testBuild()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PKIX.java | 78 private CertPath certPath; field in PKIX.ValidatorParams 97 this.certPath = cp; in ValidatorParams() 115 CertPath certPath() { in certPath() method in PKIX.ValidatorParams 116 return certPath; in certPath() 120 this.certPath = cp; in setCertPath() 124 if (certPath == null) { in certificates() 131 ((List<X509Certificate>)certPath.getCertificates()); in certificates()
|
D | SunCertPathBuilderResult.java | 67 SunCertPathBuilderResult(CertPath certPath, in SunCertPathBuilderResult() argument 71 super(certPath, trustAnchor, policyTree, subjectPublicKey); in SunCertPathBuilderResult()
|
D | PKIXCertPathValidator.java | 222 PKIXMasterCertPathValidator.validate(params.certPath(), in validate()
|
D | RevocationChecker.java | 310 if (params != null && params.certPath() != null) { 311 certIndex = params.certPath().getCertificates().size() - 1; 430 e.getMessage(), e.getCause(), params.certPath(), certIndex, 748 params.certPath(), -1,
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertPathValidatorSpi.java | 40 public CertPathValidatorResult engineValidate(CertPath certPath, in engineValidate() argument 44 if (certPath == null) { in engineValidate()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertPathValidatorTestPKIX.java | 41 private CertPath certPath; field in CertPathValidatorTestPKIX 50 return certPath; in getCertPath() 86 certPath = builderResult.getCertPath(); in setUp()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertPathValidatorTest.java | 118 CertPath certPath = cf.generateCertPath(chain); in runOCSPStapledTest() local 121 cpv.validate(certPath, params); in runOCSPStapledTest()
|