Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/security/cert/
DX509Certificate2Test.java76 s.getBasicConstraints(); in testAbstractMethods()
232 public int getBasicConstraints() { in getBasicConstraints() method in X509Certificate2Test.MyX509Certificate
485 assertEquals(5, generateCert(CERT_CORRECT).getBasicConstraints()); in testGetBasicConstraints()
486 assertEquals(-1, generateCert(CERT_WITHOUT_BASIC).getBasicConstraints()); in testGetBasicConstraints()
487 assertEquals(-1, generateCert(CERT_WITH_BASIC_NON_CA).getBasicConstraints()); in testGetBasicConstraints()
488 assertEquals(0, generateCert(CERT_WITH_BASIC_CA_ZERO_PATH_LENGTH).getBasicConstraints()); in testGetBasicConstraints()
489 …rtEquals(Integer.MAX_VALUE, generateCert(CERT_WITH_BASIC_CA_NO_PATH_LENGTH).getBasicConstraints()); in testGetBasicConstraints()
DX509CertSelectorTest.java212 assertEquals(-1, selector.getBasicConstraints()); in test_X509CertSelector()
225 assertEquals(selector.getBasicConstraints(), selector1.getBasicConstraints()); in test_clone()
281 assertEquals(validValues[i], selector.getBasicConstraints()); in test_getBasicConstraints()
870 assertEquals(validValues[i], selector.getBasicConstraints()); in test_setBasicConstraintsLint()
1847 public int getBasicConstraints() { in getBasicConstraints() method in X509CertSelectorTest.TestCert
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DConstraintsChecker.java255 pathLenConstraint = currCert.getBasicConstraints(); in checkBasicConstraints()
296 int pathLenConstraint = cert.getBasicConstraints(); in mergeBasicConstraints()
DForwardState.java187 if (!init && cert.getBasicConstraints() != -1) { in updateState()
DForwardBuilder.java204 if (targetCertConstraints.getBasicConstraints() == -2) { in getMatchingCACerts()
793 if (cert.getBasicConstraints() == -1) { in verifyCert()
DDistributionPointFetcher.java509 if (b.equals(Boolean.TRUE) && certImpl.getBasicConstraints() != -1) { in verifyCRL()
520 if (b.equals(Boolean.TRUE) && certImpl.getBasicConstraints() == -1) { in verifyCRL()
DRevocationChecker.java353 if (onlyEE && xcert.getBasicConstraints() != -1) {
/libcore/ojluni/src/main/java/java/security/cert/
DX509Certificate.java539 public abstract int getBasicConstraints(); in getBasicConstraints() method in X509Certificate
DX509CertSelector.java1750 public int getBasicConstraints() { in getBasicConstraints() method in X509CertSelector
2567 int maxPathLen = xcert.getBasicConstraints(); in matchBasicConstraints()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java267 getBasicConstraints(f); in test_Provider()
781 private void getBasicConstraints(CertificateFactory f) throws Exception { in getBasicConstraints() method in X509CertificateTest
785 assertEquals(f.getProvider().getName(), -1, c.getBasicConstraints()); in getBasicConstraints()
791 assertEquals(f.getProvider().getName(), -1, c.getBasicConstraints()); in getBasicConstraints()
797 assertEquals(f.getProvider().getName(), Integer.MAX_VALUE, c.getBasicConstraints()); in getBasicConstraints()
803 assertEquals(f.getProvider().getName(), 10, c.getBasicConstraints()); in getBasicConstraints()
/libcore/ojluni/src/main/java/sun/security/pkcs/
DPKCS7.java934 public int getBasicConstraints() { in getBasicConstraints() method in PKCS7.WrappedX509Certificate
935 return wrapped.getBasicConstraints(); in getBasicConstraints()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java323 public int getBasicConstraints() { in testKeyStoreTCToString() method in KeyStoreTest.TestX509Certificate
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java600 @Override public int getBasicConstraints() { in getBasicConstraints() method in DefaultHostnameVerifierTest.StubX509Certificate
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java482 public int getBasicConstraints() { in getBasicConstraints() method in TestCertUtils.TestX509Certificate
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java1529 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl