/libcore/ojluni/src/main/java/java/security/ |
D | Principal.java | 89 public default boolean implies(Subject subject) { in implies() argument 90 if (subject == null) in implies() 92 return subject.getPrincipals().contains(this); in implies()
|
D | AuthProvider.java | 43 public abstract void login(Subject subject, CallbackHandler handler) in login() argument
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/ |
D | SubjectTest.java | 271 Subject subject = new Subject( in testSerialization_nullPrincipalsAllowed() local 273 SerializationTest.verifySelf(subject); in testSerialization_nullPrincipalsAllowed() 277 Subject subject = new Subject( in testSecureTest_removeAllNull_throwsException() local 280 subject.getPrincipals().removeAll(null); in testSecureTest_removeAllNull_throwsException() 287 Subject subject = new Subject( in testSecureTest_retainAllNull_throwsException() local 290 subject.getPrincipals().retainAll(null); in testSecureTest_retainAllNull_throwsException() 297 Subject subject = new Subject(); in getSerializationData() local 298 return new Object[] { subject, subject.getPrincipals(), in getSerializationData() 299 subject.getPrivateCredentials(), subject.getPublicCredentials() }; in getSerializationData()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 343 public static <T> T doAs(final Subject subject, 361 createContext(subject, currentAcc)); 404 public static <T> T doAs(final Subject subject, 423 createContext(subject, currentAcc)); 461 public static <T> T doAsPrivileged(final Subject subject, 484 createContext(subject, callerAcc)); 527 public static <T> T doAsPrivileged(final Subject subject, 550 createContext(subject, callerAcc)); 553 private static AccessControlContext createContext(final Subject subject, 560 if (subject == null) [all …]
|
D | SubjectDomainCombiner.java | 37 public SubjectDomainCombiner(Subject subject) { } in SubjectDomainCombiner() argument
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | PrincipalTest.java | 37 Subject subject = new Subject( in test_Principal_implies() local 43 assertTrue(principalA.implies(subject)); in test_Principal_implies() 45 assertFalse(principalC.implies(subject)); in test_Principal_implies()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CertInfo.java | 88 protected X500Name subject = null; field in X509CertInfo 294 if (subject == null || pubKey == null || interval == null in toString() 302 sb.append(" Subject: " + subject.toString() + "\n"); in toString() 499 subject = null; in delete() 557 return(subject); in get() 611 return getIssuer ? issuer : subject; in getX500Name() 614 : subject.asX500Principal(); in getX500Name() 659 subject = new X500Name(in); in parse() 661 subject.isEmpty()) { in parse() 706 verifyCert(subject, extensions); in parse() [all …]
|
D | CertificatePolicyMap.java | 49 CertificatePolicyId subject) { in CertificatePolicyMap() argument 51 this.subjectDomain = subject; in CertificatePolicyMap()
|
D | NameConstraintsExtension.java | 434 X500Name subject = X500Name.asX500Name(subjectPrincipal); in verify() local 436 if (subject.isEmpty() == false) { in verify() 437 if (verify(subject) == false) { in verify() 466 return verifyRFC822SpecialCase(subject); in verify() 572 public boolean verifyRFC822SpecialCase(X500Name subject) throws IOException { in verifyRFC822SpecialCase() argument 573 for (AVA ava : subject.allAvas()) { in verifyRFC822SpecialCase()
|
D | X509CertImpl.java | 908 Principal subject = (Principal)info.get(X509CertInfo.SUBJECT + DOT + in getSubjectDN() local 910 return subject; in getSubjectDN() 926 X500Principal subject = (X500Principal)info.get( in getSubjectX500Principal() local 929 return subject; in getSubjectX500Principal() 1944 X500Principal subject = cert.getSubjectX500Principal(); in isSelfIssued() local 1946 return subject.equals(issuer); in isSelfIssued()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 208 .subject("CN=Test Root Certificate Authority") in initCerts() 215 .subject("CN=Test Intermediate Certificate Authority ECDSA") in initCerts() 223 .subject("CN=Test Intermediate Certificate Authority") in initCerts() 240 .subject("emailAddress=test-ec@user") in initCerts() 247 .subject("emailAddress=test-ec@user") in initCerts() 253 .subject("emailAddress=test@user") in initCerts() 259 .subject("CN=Test Root Certificate Authority 2") in initCerts() 264 .subject("CN=Test Intermediate Certificate Authority") in initCerts() 360 private X500Principal subject; field in TestKeyStore.Builder 377 subject = localhost(); in Builder() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | PKIX.java | 238 X500Principal subject = sel.getSubject(); in getTargetSubject() local 239 if (subject != null) { in getTargetSubject() 240 return subject; in getTargetSubject() 244 subject = cert.getSubjectX500Principal(); in getTargetSubject() 246 if (subject != null) { in getTargetSubject() 247 return subject; in getTargetSubject()
|
D | Builder.java | 297 X500Name subject = X500Name.asX500Name(certImpl.getSubjectX500Principal()); in targetDistance() local 298 if (subject.equals(target)) { in targetDistance()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CertSelector.java | 99 private X500Principal subject; field in X509CertSelector 294 public void setSubject(X500Principal subject) { in setSubject() argument 295 this.subject = subject; in setSubject() 319 subject = null; in setSubject() 321 subject = new X500Name(subjectDN).asX500Principal(); in setSubject() 342 subject = (subjectDN == null ? null : new X500Principal(subjectDN)); in setSubject() 1377 return subject; in getSubject() 1399 return (subject == null ? null : subject.getName()); in getSubjectAsString() 1422 return (subject == null ? null : subject.getEncoded()); in getSubjectAsBytes() 1825 if (subject != null) { in toString() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 436 private X500Principal subject; field in TestCertUtils.TestX509Certificate 441 this.subject = subj; in TestX509Certificate() 450 return subject; in getSubjectX500Principal() 461 byte[] asubj = subject.getEncoded(); in getEncoded()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | X509CertInfo.java | 107 sun.security.x509.X500Name subject, sun.security.x509.CertificateExtensions extensions) in verifyCert() argument 234 protected sun.security.x509.X500Name subject; field in X509CertInfo
|
/libcore/luni/ |
D | bouncycastle-license.txt | 9 permit persons to whom the Software is furnished to do so, subject to
|
/libcore/ojluni/src/main/resources/sun/util/logging/resources/ |
D | logging_sv.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging_fr.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging_zh_CN.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging_zh_TW.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging_ja.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
D | logging_ko.properties | 8 # particular file as subject to the "Classpath" exception as provided
|
/libcore/ojluni/src/main/resources/ |
D | calendars.properties | 7 # particular file as subject to the "Classpath" exception as provided
|