/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
D | X500PrincipalTest.java | 281 X500Principal principal = new X500Principal( in test_ConstructorLjava_lang_String() local 283 String name = principal.getName(); in test_ConstructorLjava_lang_String() 306 X500Principal principal = new X500Principal( in test_getNameLjava_lang_String() local 308 String canonical = principal.getName(X500Principal.CANONICAL); in test_getNameLjava_lang_String() 352 X500Principal principal = new X500Principal(is); in testStreamPosition() local 353 String s = principal.toString(); in testStreamPosition() 373 X500Principal principal = new X500Principal(is); in testStreamPosition_0() local 374 String s = principal.toString(); in testStreamPosition_0() 400 X500Principal principal = new X500Principal(is); in testStreamPosition_1() local 402 String s = principal.getName(X500Principal.RFC1779); in testStreamPosition_1() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | CertificateStub.java | 41 Principal principal; field in CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ in CertificateStub() argument 47 this.principal = principal; in CertificateStub() 91 return principal; in getPrincipal()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | DistinguishedNameParserTest.java | 55 X500Principal principal = new X500Principal(dn); in assertCns() local 56 DistinguishedNameParser parser = new DistinguishedNameParser(principal); in assertCns()
|
/libcore/luni/src/main/java/java/security/ |
D | IdentityScope.java | 133 public Identity getIdentity(Principal principal) { in getIdentity() argument 134 return getIdentity(principal.getName()); in getIdentity()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | XsltXPathConformanceTestSuite.java | 249 final File principal; in create() local 256 principal = findFile(outBase, principalElement.getTextContent()); in create() 259 principal = null; in create() 264 principalStylesheet, principal, operation, compareAs); in create() 318 private final File principal; field in XsltXPathConformanceTestSuite.XsltTest 330 File principalData, File principalStylesheet, File principal, in XsltTest() argument 339 this.principal = principal; in XsltTest() 344 XsltTest(File principalData, File principalStylesheet, File principal) { in XsltTest() argument 346 principalData, principalStylesheet, principal, "standard", "XML"); in XsltTest() 396 assertNodesAreEquivalent(principal, ((DOMResult) result).getNode()); in test()
|
/libcore/luni/src/main/java/java/security/acl/ |
D | Acl.java | 159 boolean checkPermission(Principal principal, Permission permission); in checkPermission() argument
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | DefaultHostnameVerifier.java | 82 X500Principal principal = certificate.getSubjectX500Principal(); in verifyHostName() local 84 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); in verifyHostName()
|
D | DistinguishedNameParser.java | 44 public DistinguishedNameParser(X500Principal principal) { in DistinguishedNameParser() argument 48 this.dn = principal.getName(X500Principal.RFC2253); in DistinguishedNameParser()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | X509CRLSelector2Test.java | 514 private X500Principal principal = null; field in X509CRLSelector2Test.TestCRL 525 public TestCRL(X500Principal principal) { in TestCRL() argument 526 this.principal = principal; in TestCRL() 547 return principal; in getIssuerX500Principal()
|
D | X509CertSelectorTest.java | 1619 public TestCert(X500Principal principal) { in TestCert() argument 1620 setIssuer(principal); in TestCert() 1621 setSubject(principal); in TestCert()
|
/libcore/luni/src/main/java/javax/security/auth/x500/ |
D | X500Principal.java | 168 X500Principal principal = (X500Principal) o; in equals() local 169 return getCanonicalName().equals(principal.getCanonicalName()); in equals()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 221 public static void assertCertificateInKeyStore(Principal principal, in assertCertificateInKeyStore() argument 223 String subjectName = principal.getName(); in assertCertificateInKeyStore()
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 544 X500Principal principal = new X500Principal(subject); in createCa() local 546 principal, principal, in createCa()
|