/libcore/luni/src/test/java/tests/security/cert/ |
D | X509Certificate2Test.java | 76 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()
|
D | X509CertSelectorTest.java | 212 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/ |
D | ConstraintsChecker.java | 255 pathLenConstraint = currCert.getBasicConstraints(); in checkBasicConstraints() 296 int pathLenConstraint = cert.getBasicConstraints(); in mergeBasicConstraints()
|
D | ForwardState.java | 187 if (!init && cert.getBasicConstraints() != -1) { in updateState()
|
D | ForwardBuilder.java | 204 if (targetCertConstraints.getBasicConstraints() == -2) { in getMatchingCACerts() 793 if (cert.getBasicConstraints() == -1) { in verifyCert()
|
D | DistributionPointFetcher.java | 509 if (b.equals(Boolean.TRUE) && certImpl.getBasicConstraints() != -1) { in verifyCRL() 520 if (b.equals(Boolean.TRUE) && certImpl.getBasicConstraints() == -1) { in verifyCRL()
|
D | RevocationChecker.java | 353 if (onlyEE && xcert.getBasicConstraints() != -1) {
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509Certificate.java | 539 public abstract int getBasicConstraints(); in getBasicConstraints() method in X509Certificate
|
D | X509CertSelector.java | 1750 public int getBasicConstraints() { in getBasicConstraints() method in X509CertSelector 2567 int maxPathLen = xcert.getBasicConstraints(); in matchBasicConstraints()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 267 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/ |
D | PKCS7.java | 934 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/ |
D | KeyStoreTest.java | 323 public int getBasicConstraints() { in testKeyStoreTCToString() method in KeyStoreTest.TestX509Certificate
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | DefaultHostnameVerifierTest.java | 600 @Override public int getBasicConstraints() { in getBasicConstraints() method in DefaultHostnameVerifierTest.StubX509Certificate
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 482 public int getBasicConstraints() { in getBasicConstraints() method in TestCertUtils.TestX509Certificate
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CertImpl.java | 1529 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl
|