/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 20 import javax.security.auth.x500.X500Principal; 50 X500Principal xpr = new X500Principal(name); in test_X500Principal_01() 59 X500Principal xpr = new X500Principal((String)null); in test_X500Principal_01() 67 X500Principal xpr = new X500Principal("X500PrincipalName"); in test_X500Principal_01() 85 X500Principal xpr = new X500Principal(is); in test_X500Principal_02() 94 X500Principal xpr = new X500Principal(isNull); in test_X500Principal_02() 103 X500Principal xpr = new X500Principal(is); in test_X500Principal_02() 120 X500Principal xpr = new X500Principal(ba); in test_X500Principal_03() 129 X500Principal xpr = new X500Principal(baNull); in test_X500Principal_03() 138 X500Principal xpr = new X500Principal(ba); in test_X500Principal_03() [all …]
|
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 23 import javax.security.auth.x500.X500Principal; 46 X500Principal actual = new X500Principal("C=US, " in testSerialization() 51 new SerializationTester<X500Principal>(actual, expected).test(); in testSerialization() 78 cert.getSubjectX500Principal().getName(X500Principal.CANONICAL)); in testGetName() 110 X500Principal p = new X500Principal(new byte[]{ in testNegativeLen() 134 X500Principal principal = new X500Principal(dn); in expectExceptionInDNConstructor() 143 X500Principal original = new X500Principal(name); in testIA5StringEncoding() 148 X500Principal decoded = new X500Principal(actualEncoded); in testIA5StringEncoding()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLSelector2Test.java | 31 import javax.security.auth.x500.X500Principal; 67 X500Principal iss1 = new X500Principal("O=First Org."); in testAddIssuerLjavax_security_auth_x500_X500Principal02() 68 X500Principal iss2 = new X500Principal("O=Second Org."); in testAddIssuerLjavax_security_auth_x500_X500Principal02() 91 TestCRL crl1 = new TestCRL(new X500Principal(iss1)); in testAddIssuerNameLjava_lang_String03() 92 TestCRL crl2 = new TestCRL(new X500Principal(iss2)); in testAddIssuerNameLjava_lang_String03() 131 TestCRL crl1 = new TestCRL(new X500Principal(iss1)); in testSetIssuerNamesLjava_util_Collection02() 132 TestCRL crl2 = new TestCRL(new X500Principal(iss2)); in testSetIssuerNamesLjava_util_Collection02() 133 TestCRL crl3 = new TestCRL(new X500Principal(iss3)); in testSetIssuerNamesLjava_util_Collection02() 171 X500Principal iss1 = new X500Principal("O=First Org."); in testSetIssuersLjava_util_Collection() 172 X500Principal iss2 = new X500Principal("O=Second Org."); in testSetIssuersLjava_util_Collection() [all …]
|
D | X509CertSelectorTest.java | 53 import javax.security.auth.x500.X500Principal; 367 X500Principal iss1 = new X500Principal("O=First Org."); in test_getIssuer() 368 X500Principal iss2 = new X500Principal("O=Second Org."); in test_getIssuer() 392 X500Principal iss1 = new X500Principal(name1); in test_getIssuerAsBytes() 393 X500Principal iss2 = new X500Principal(name2); in test_getIssuerAsBytes() 413 X500Principal iss1 = new X500Principal(name1); in test_getIssuerAsString() 414 X500Principal iss2 = new X500Principal(name2); in test_getIssuerAsString() 624 X500Principal sub1 = new X500Principal("O=First Org."); in test_getSubject() 625 X500Principal sub2 = new X500Principal("O=Second Org."); in test_getSubject() 676 X500Principal sub1 = new X500Principal(name1); in test_getSubjectAsBytes() [all …]
|
D | CertificateRevocationExceptionTest.java | 30 import javax.security.auth.x500.X500Principal; 46 new X500Principal("CN=test1"), in getTestException() 135 assertEquals(new X500Principal("CN=test1"), exception.getAuthorityName());
|
/libcore/ojluni/src/main/java/javax/security/auth/x500/ |
D | X500Principal.java | 64 public final class X500Principal implements Principal, java.io.Serializable { class 95 X500Principal(X500Name x500Name) { in X500Principal() method in X500Principal 127 public X500Principal(String name) { in X500Principal() method in X500Principal 168 public X500Principal(String name, Map<String, String> keywordMap) { in X500Principal() method in X500Principal 224 public X500Principal(byte[] name) { in X500Principal() method in X500Principal 253 public X500Principal(InputStream is) { in X500Principal() method in X500Principal 292 return getName(X500Principal.RFC2253); in getName() 471 if (o instanceof X500Principal == false) { in equals() 474 X500Principal other = (X500Principal)o; in equals()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | X509CRLSelector.java | 32 import javax.security.auth.x500.X500Principal; 81 private HashSet<X500Principal> issuerX500Principals; 121 public void setIssuers(Collection<X500Principal> issuers) { in setIssuers() 127 issuerX500Principals = new HashSet<X500Principal>(issuers); in setIssuers() 129 for (X500Principal p : issuerX500Principals) { in setIssuers() 222 public void addIssuer(X500Principal issuer) { in addIssuer() 289 private void addIssuerNameInternal(Object name, X500Principal principal) { in addIssuerNameInternal() 294 issuerX500Principals = new HashSet<X500Principal>(); in addIssuerNameInternal() 364 private static HashSet<X500Principal> parseIssuerNames(Collection<Object> names) in parseIssuerNames() 366 HashSet<X500Principal> x500Principals = new HashSet<X500Principal>(); in parseIssuerNames() [all …]
|
D | X509CRL.java | 35 import javax.security.auth.x500.X500Principal; 114 private transient X500Principal issuerPrincipal; 324 public X500Principal getIssuerX500Principal() { in getIssuerX500Principal() 383 X500Principal certIssuer = certificate.getIssuerX500Principal(); in getRevokedCertificate() 384 X500Principal crlIssuer = getIssuerX500Principal(); in getRevokedCertificate()
|
D | X509Certificate.java | 33 import javax.security.auth.x500.X500Principal; 110 private transient X500Principal subjectX500Principal, issuerX500Principal; 246 public X500Principal getIssuerX500Principal() { in getIssuerX500Principal() 289 public X500Principal getSubjectX500Principal() { in getSubjectX500Principal()
|
D | TrustAnchor.java | 31 import javax.security.auth.x500.X500Principal; 67 private final X500Principal caPrincipal; 162 public TrustAnchor(X500Principal caPrincipal, PublicKey pubKey, in TrustAnchor() 217 this.caPrincipal = new X500Principal(caName); in TrustAnchor() 242 public final X500Principal getCA() { in getCA()
|
D | CertificateRevokedException.java | 35 import javax.security.auth.x500.X500Principal; 66 private final X500Principal authority; 89 X500Principal authority, Map<String, Extension> extensions) { in CertificateRevokedException() 130 public X500Principal getAuthorityName() { in getAuthorityName()
|
D | X509CRLEntry.java | 30 import javax.security.auth.x500.X500Principal; 150 public X500Principal getCertificateIssuer() { in getCertificateIssuer()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CRLSelectorTest.java | 21 import javax.security.auth.x500.X500Principal; 28 private static final X500Principal PRINCIPAL = new X500Principal(PRINCIPAL_STRING); 33 Collection<X500Principal> issuers = crlSelector.getIssuers(); in testGetIssuersImmutable()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestCertUtils.java | 45 import javax.security.auth.x500.X500Principal; 119 public static final X500Principal rootPrincipal = new X500Principal( 421 public TestInvalidX509Certificate(X500Principal subj, in TestInvalidX509Certificate() 422 X500Principal issuer) { in TestInvalidX509Certificate() 436 private X500Principal subject; 438 private X500Principal issuer; 440 public TestX509Certificate(X500Principal subj, X500Principal issuer) { in TestX509Certificate() 445 public X500Principal getIssuerX500Principal() { in getIssuerX500Principal() 449 public X500Principal getSubjectX500Principal() { in getSubjectX500Principal() 638 X500Principal subjName = new X500Principal(subjNameData); in engineGenerateCertificate() [all …]
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertPathBuilderTestPKIX.java | 31 import javax.security.auth.x500.X500Principal; 80 X500Principal endEntityPrincipal = endEntityX509Cert.getSubjectX500Principal(); in validateCertPath() 82 X500Principal expectedPrincipal = new X500Principal("emailAddress=test@user"); in validateCertPath()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | ForwardBuilder.java | 43 import javax.security.auth.x500.X500Principal; 67 private final Set<X500Principal> trustedSubjectDNs; 86 trustedSubjectDNs = new HashSet<X500Principal>(trustAnchors.size()); in ForwardBuilder() 434 private final Set<X500Principal> trustedSubjectDNs; 437 PKIXCertComparator(Set<X500Principal> trustedSubjectDNs, in PKIXCertComparator() 495 X500Principal cIssuer1 = oCert1.getIssuerX500Principal(); in compare() 496 X500Principal cIssuer2 = oCert2.getIssuerX500Principal(); in compare() 532 for (X500Principal tSubject : trustedSubjectDNs) { in compare() 563 for (X500Principal tSubject : trustedSubjectDNs) { in compare() 596 for (X500Principal tSubject : trustedSubjectDNs) { in compare() [all …]
|
D | X509CertificatePair.java | 35 import javax.security.auth.x500.X500Principal; 304 X500Principal fwSubject = forward.getSubjectX500Principal(); in checkPair() 305 X500Principal fwIssuer = forward.getIssuerX500Principal(); in checkPair() 306 X500Principal rvSubject = reverse.getSubjectX500Principal(); in checkPair() 307 X500Principal rvIssuer = reverse.getIssuerX500Principal(); in checkPair()
|
D | PKIX.java | 32 import javax.security.auth.x500.X500Principal; 197 private X500Principal targetSubject; 228 X500Principal targetSubject() { return targetSubject; } in targetSubject() 234 private static X500Principal getTargetSubject(List<CertStore> stores, in getTargetSubject() 238 X500Principal subject = sel.getSubject(); in getTargetSubject()
|
D | BasicChecker.java | 48 import javax.security.auth.x500.X500Principal; 64 private final X500Principal caName; 68 private X500Principal prevSubject; 219 X500Principal currIssuer = cert.getIssuerX500Principal(); in verifyNameChaining()
|
D | ForwardState.java | 37 import javax.security.auth.x500.X500Principal; 59 X500Principal issuerDN; 195 X500Principal subjName = cert.getSubjectX500Principal(); in updateState()
|
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/ |
D | X509CRLEntryImpl.java | 69 public javax.security.auth.x500.X500Principal getCertificateIssuer() { in getCertificateIssuer() 74 javax.security.auth.x500.X500Principal crlIssuer, in setCertificateIssuer() 75 javax.security.auth.x500.X500Principal certIssuer) { in setCertificateIssuer() 149 private javax.security.auth.x500.X500Principal certIssuer;
|
D | X509CRLImpl.java | 139 public javax.security.auth.x500.X500Principal getIssuerX500Principal() { in getIssuerX500Principal() 250 public static javax.security.auth.x500.X500Principal getIssuerX500Principal( in getIssuerX500Principal() 265 private javax.security.auth.x500.X500Principal getCertIssuer( in getCertIssuer() 267 javax.security.auth.x500.X500Principal prevCertIssuer) in getCertIssuer() 286 private javax.security.auth.x500.X500Principal issuerPrincipal; 319 javax.security.auth.x500.X500Principal issuer, java.math.BigInteger serial) { in X509IssuerSerial() 327 javax.security.auth.x500.X500Principal getIssuer() { in getIssuer() 349 final javax.security.auth.x500.X500Principal issuer;
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509CRLImpl.java | 48 import javax.security.auth.x500.X500Principal; 104 private X500Principal issuerPrincipal = null; 215 X500Principal crlIssuer = getIssuerX500Principal(); in X509CRLImpl() 216 X500Principal badCertIssuer = crlIssuer; in X509CRLImpl() 667 public X500Principal getIssuerX500Principal() { in getIssuerX500Principal() 1158 X500Principal crlIssuer = getIssuerX500Principal(); in parse() 1159 X500Principal badCertIssuer = crlIssuer; in parse() 1188 public static X500Principal getIssuerX500Principal(X509CRL crl) { in getIssuerX500Principal() 1205 return new X500Principal(principalBytes); in getIssuerX500Principal() 1247 private X500Principal getCertIssuer(X509CRLEntryImpl entry, in getCertIssuer() [all …]
|
D | CertificateIssuerName.java | 33 import javax.security.auth.x500.X500Principal; 64 private X500Principal dnPrincipal;
|
D | CertificateSubjectName.java | 33 import javax.security.auth.x500.X500Principal; 64 private X500Principal dnPrincipal;
|