Home
last modified time | relevance | path

Searched refs:certPath (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/java/security/cert/
DCertPathValidatorException.java76 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()
DPKIXCertPathBuilderResult.java62 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()
DCertPathValidator.java297 public final CertPathValidatorResult validate(CertPath certPath, in validate() argument
301 return validatorSpi.engineValidate(certPath, params); in validate()
DCertPathValidatorSpi.java83 engineValidate(CertPath certPath, CertPathParameters params) in engineValidate() argument
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory3Test.java132 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 …]
DCertPathTest.java226 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()
DCertPathValidatorExceptionTest.java441 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()
DCertPathBuilder1Test.java329 CertPath certPath = result.getCertPath(); in testBuild() local
330 assertNotNull("certpath of builder result is null", certPath); in testBuild()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIX.java78 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()
DSunCertPathBuilderResult.java67 SunCertPathBuilderResult(CertPath certPath, in SunCertPathBuilderResult() argument
71 super(certPath, trustAnchor, policyTree, subjectPublicKey); in SunCertPathBuilderResult()
DPKIXCertPathValidator.java225 PKIXMasterCertPathValidator.validate(params.certPath(), in validate()
DRevocationChecker.java310 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/
DMyCertPathValidatorSpi.java40 public CertPathValidatorResult engineValidate(CertPath certPath, in engineValidate() argument
44 if (certPath == null) { in engineValidate()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertPathValidatorTestPKIX.java41 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/
DCertPathValidatorTest.java108 CertPath certPath = cf.generateCertPath(chain); in runOCSPStapledTest() local
111 cpv.validate(certPath, params); in runOCSPStapledTest()