Home
last modified time | relevance | path

Searched refs:principal (Results 1 – 17 of 17) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java281 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/ojluni/src/main/java/javax/net/ssl/
DHandshakeCompletedEvent.java181 Principal principal; in getPeerPrincipal() local
183 principal = session.getPeerPrincipal(); in getPeerPrincipal()
188 principal = ((X509Certificate)certs[0]).getSubjectX500Principal(); in getPeerPrincipal()
190 return principal; in getPeerPrincipal()
208 Principal principal; in getLocalPrincipal() local
210 principal = session.getLocalPrincipal(); in getLocalPrincipal()
212 principal = null; in getLocalPrincipal()
217 principal = in getLocalPrincipal()
221 return principal; in getLocalPrincipal()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DCertificateStub.java41 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/xml/
DXsltXPathConformanceTestSuite.java249 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/ojluni/src/main/java/java/security/
DIdentityScope.java198 public Identity getIdentity(Principal principal) { in getIdentity() argument
199 return getIdentity(principal.getName()); in getIdentity()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DForwardBuilder.java849 X500Principal principal = anchor.getCA(); in isPathCompleted() local
852 if (principal != null && publicKey != null && in isPathCompleted()
853 principal.equals(cert.getSubjectX500Principal())) { in isPathCompleted()
865 X500Principal principal = anchor.getCA(); in isPathCompleted() local
868 if (principal == null || in isPathCompleted()
869 !principal.equals(cert.getIssuerX500Principal())) { in isPathCompleted()
DDistributionPointFetcher.java640 X500Principal principal = certImpl.getIssuerX500Principal(); in verifyCRL() local
641 temporary = new TrustAnchor(principal, prevKey, null); in verifyCRL()
/libcore/ojluni/src/main/java/java/security/acl/
DAcl.java232 public boolean checkPermission(Principal principal, Permission permission); in checkPermission() argument
/libcore/luni/src/test/java/tests/security/cert/
DX509CRLSelector2Test.java507 private X500Principal principal = null; field in X509CRLSelector2Test.TestCRL
518 public TestCRL(X500Principal principal) { in TestCRL() argument
519 this.principal = principal; in TestCRL()
540 return principal; in getIssuerX500Principal()
DX509CertSelectorTest.java1648 public TestCert(X500Principal principal) { in TestCert() argument
1649 setIssuer(principal); in TestCert()
1650 setSubject(principal); in TestCert()
/libcore/luni/src/test/java/libcore/java/nio/file/attribute/
DAclEntryTest.java47 assertEquals(user, aclEntry.principal()); in testGetters()
/libcore/luni/src/test/java/libcore/javax/security/auth/x500/
DX500PrincipalTest.java134 X500Principal principal = new X500Principal(dn); in expectExceptionInDNConstructor() local
/libcore/ojluni/src/main/java/java/security/cert/
DX509CRLSelector.java289 private void addIssuerNameInternal(Object name, X500Principal principal) { in addIssuerNameInternal() argument
297 issuerX500Principals.add(principal); in addIssuerNameInternal()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLContext.java330 public static void assertCertificateInKeyStore(Principal principal, in assertCertificateInKeyStore() argument
332 String subjectName = principal.getName(); in assertCertificateInKeyStore()
/libcore/ojluni/src/main/java/java/nio/file/attribute/
DAclEntry.java297 public UserPrincipal principal() { in principal() method in AclEntry
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java652 X500Principal principal = new X500Principal(subject); in createCa() local
654 principal, principal, in createCa()
/libcore/api/
Dcurrent.txt6947 method public java.nio.file.attribute.UserPrincipal principal();