/libcore/luni/src/test/java/tests/security/cert/ |
D | X509Certificate2Test.java | 76 s.getBasicConstraints(); in testAbstractMethods() 235 public int getBasicConstraints() { in getBasicConstraints() method in X509Certificate2Test.MyX509Certificate 488 assertEquals(5, generateCert(CERT_CORRECT).getBasicConstraints()); in testGetBasicConstraints() 489 assertEquals(-1, generateCert(CERT_WITHOUT_BASIC).getBasicConstraints()); in testGetBasicConstraints() 490 assertEquals(-1, generateCert(CERT_WITH_BASIC_NON_CA).getBasicConstraints()); in testGetBasicConstraints() 491 assertEquals(0, generateCert(CERT_WITH_BASIC_CA_ZERO_PATH_LENGTH).getBasicConstraints()); in testGetBasicConstraints() 492 …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 | 1749 public int getBasicConstraints() { in getBasicConstraints() method in X509CertSelector 2566 int maxPathLen = xcert.getBasicConstraints(); in matchBasicConstraints()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 284 getBasicConstraints(f); in test_Provider() 798 private void getBasicConstraints(CertificateFactory f) throws Exception { in getBasicConstraints() method in X509CertificateTest 802 assertEquals(f.getProvider().getName(), -1, c.getBasicConstraints()); in getBasicConstraints() 808 assertEquals(f.getProvider().getName(), -1, c.getBasicConstraints()); in getBasicConstraints() 814 assertEquals(f.getProvider().getName(), Integer.MAX_VALUE, c.getBasicConstraints()); in getBasicConstraints() 820 assertEquals(f.getProvider().getName(), 10, c.getBasicConstraints()); in getBasicConstraints()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS7.java | 952 public int getBasicConstraints() { in getBasicConstraints() method in PKCS7.WrappedX509Certificate 953 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 | 624 @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/annotations/hiddenapi/sun/security/x509/ |
D | X509CertImpl.java | 324 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CertImpl.java | 1529 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl
|