Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/tests/security/cert/
DX509Certificate2Test.java76 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()
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.java1749 public int getBasicConstraints() { in getBasicConstraints() method in X509CertSelector
2566 int maxPathLen = xcert.getBasicConstraints(); in matchBasicConstraints()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java284 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/
DPKCS7.java952 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/
DKeyStoreTest.java323 public int getBasicConstraints() { in testKeyStoreTCToString() method in KeyStoreTest.TestX509Certificate
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DDefaultHostnameVerifierTest.java624 @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/annotations/hiddenapi/sun/security/x509/
DX509CertImpl.java324 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java1529 public int getBasicConstraints() { in getBasicConstraints() method in X509CertImpl