/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x501/ |
NameTest.java | 69 Name principal = (Name) Name.ASN1.decode(mess); local 71 String s = principal.getName("RFC1779"); 81 Name principal = (Name) Name.ASN1.decode(is); local 83 String s = principal.getName("RFC1779");
|
/external/apache-http/src/org/apache/http/auth/ |
UsernamePasswordCredentials.java | 33 import java.security.Principal; 50 private final BasicUserPrincipal principal; field in class:UsernamePasswordCredentials 66 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); 69 this.principal = new BasicUserPrincipal(usernamePassword); 86 this.principal = new BasicUserPrincipal(userName); 90 public Principal getUserPrincipal() { 91 return this.principal; 95 return this.principal.getName(); 104 return this.principal.hashCode(); 113 if (LangUtils.equals(this.principal, that.principal)) [all...] |
NTCredentials.java | 33 import java.security.Principal; 48 /** The user principal */ 49 private final NTUserPrincipal principal; field in class:NTCredentials 79 this.principal = new NTUserPrincipal( 83 this.principal = new NTUserPrincipal( 108 this.principal = new NTUserPrincipal(domain, userName); 117 public Principal getUserPrincipal() { 118 return this.principal; 122 return this.principal.getUsername(); 135 return this.principal.getDomain() [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
DistinguishedNameParserTest.java | 53 X500Principal principal = new X500Principal(dn); local 54 assertEquals(dn, expected, new DistinguishedNameParser(principal).findMostSpecific("cn"));
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 29 import java.security.Principal; 39 Principal guarantor; 40 Principal principal; field in class:CertificateStub 43 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 46 this.principal = principal; 81 public Principal getGuarantor() [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
CertificateStub.java | 30 import java.security.Principal; 40 Principal guarantor; 41 Principal principal; field in class:CertificateStub 44 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key){ 47 this.principal = principal; 82 public Principal getGuarantor() [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/kerberos/ |
KerberosPrincipalTest.java | 58 // testing illegal kerberos principal names 74 KerberosPrincipal principal = new KerberosPrincipal("name@apache.org"); local 76 assertEquals("name@apache.org", principal.getName()); 77 assertEquals("apache.org", principal.getRealm()); 78 assertEquals(KerberosPrincipal.KRB_NT_PRINCIPAL, principal 82 principal = new KerberosPrincipal("file:C://@apache.org"); 83 assertEquals("file:C:@apache.org", principal.getName()); 114 KerberosPrincipal principal = new KerberosPrincipal("name@apache.org", local 117 assertEquals("name@apache.org", principal.getName()); 118 assertEquals("apache.org", principal.getRealm()) 165 KerberosPrincipal principal = new KerberosPrincipal("name"); local 204 KerberosPrincipal principal = new KerberosPrincipal("name"); local 240 KerberosPrincipal principal = new KerberosPrincipal("name"); local 250 KerberosPrincipal principal = new KerberosPrincipal("name@apache.org"); local 262 KerberosPrincipal principal = new KerberosPrincipal(name); local [all...] |
KerberosKeyTest.java | 38 // principal object for testing 39 private final KerberosPrincipal principal = new KerberosPrincipal( field in class:KerberosKeyTest 52 // OK to pass null value for principal parameter 57 new KerberosKey(principal, null, 0, 0); 63 KerberosKey key = new KerberosKey(principal, keyBytes, 1, 123); 67 assertSame("principal", principal, key.getPrincipal()); 71 key = new KerberosKey(principal, keyBytes, 0, 0); 83 // NPE for null value for principal parameter 92 new KerberosKey(principal, null, "DES") [all...] |
/external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/ |
X500PrincipalTest.java | 31 X500Principal principal = new X500Principal( local 33 String name = principal.getName(); 56 X500Principal principal = new X500Principal( local 58 String canonical = principal.getName(X500Principal.CANONICAL);
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 106 X500Principal principal = certificate.getSubjectX500Principal(); local 108 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn");
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultHostnameVerifier.java | 82 X500Principal principal = certificate.getSubjectX500Principal(); local 84 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn");
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/ |
SubjectDomainCombinerTest.java | 30 import java.security.Principal; 71 Principal principal = new Principal() { local 73 return "principal"; 79 subject.getPrincipals().add(principal); 95 Principal p = new Principal() { 100 Principal[] principals = new Principal[] { p } [all...] |
/external/openssh/openbsd-compat/ |
port-aix.c | 379 * aix_krb5_get_principal_name: returns the user's kerberos client principal name if 385 char *authname = NULL, *authdomain = NULL, *principal = NULL; local 394 xasprintf(&principal, "%s@%s", authname ? authname : pw_name, authdomain); 396 principal = xstrdup(authname); 398 return principal;
|
/libcore/luni/src/main/java/javax/security/auth/x500/ |
X500Principal.java | 25 import java.security.Principal; 30 * Represents an X.500 principal, which holds the distinguished name of some 37 public final class X500Principal implements Serializable, Principal { 168 X500Principal principal = (X500Principal) o; local 169 return getCanonicalName().equals(principal.getCanonicalName()); 174 * contained in this X.500 principal. 187 * contained in this X.500 principal. 197 * this X.500 principal. The format of the representation can be chosen.
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/ |
X509CRLSelectorTest.java | 29 import java.security.Principal; 57 private X500Principal principal = null; field in class:X509CRLSelectorTest.TestCRL 62 public TestCRL(X500Principal principal) { 63 this.principal = principal; 84 return principal; 138 public Principal getIssuerDN() {
|
/external/chromium_org/ui/gfx/ |
color_analysis.cc | 557 gfx::Vector3dF principal = eigenvectors.get_column(0); local 558 if (eigenvals == gfx::Vector3dF() || principal == gfx::Vector3dF()) 560 return ApplyColorReduction(source_bitmap, principal, true, target_bitmap);
|
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLSelector2Test.java | 17 import java.security.Principal; 514 private X500Principal principal = null; field in class:X509CRLSelector2Test.TestCRL 525 public TestCRL(X500Principal principal) { 526 this.principal = principal; 547 return principal; 600 public Principal getIssuerDN() {
|
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/x500/ |
X500PrincipalTest.java | 59 X500Principal principal = new X500Principal(is); local 60 String s = principal.toString(); 80 X500Principal principal = new X500Principal(is); local 81 String s = principal.toString(); 107 X500Principal principal = new X500Principal(is); local 109 String s = principal.getName(X500Principal.RFC1779); 123 X500Principal principal = new X500Principal(is); local 124 String s = principal.getName(X500Principal.RFC1779); 139 X500Principal principal = new X500Principal(is); local 140 String s = principal.toString() 158 X500Principal principal = new X500Principal(mess); local 173 X500Principal principal = new X500Principal(mess); local 187 X500Principal principal = new X500Principal(mess); local 202 X500Principal principal = new X500Principal(mess); local 227 X500Principal principal = new X500Principal(dn); local 242 X500Principal principal = new X500Principal(dn); local 257 X500Principal principal = new X500Principal(dn); local 273 X500Principal principal = new X500Principal(mess); local 289 X500Principal principal = new X500Principal(mess); local 305 X500Principal principal = new X500Principal(mess); local 334 X500Principal principal = new X500Principal(dn); local 350 X500Principal principal = new X500Principal(dn); local 378 X500Principal principal = new X500Principal(mess); local 409 X500Principal principal = new X500Principal(mess); local 439 X500Principal principal = new X500Principal(mess); local 470 X500Principal principal = new X500Principal(is); local 501 X500Principal principal = new X500Principal(is); local 532 X500Principal principal = new X500Principal(is); local 550 X500Principal principal = new X500Principal(dn); local 568 X500Principal principal = new X500Principal(dn); local 586 X500Principal principal = new X500Principal(dn); local 601 X500Principal principal = new X500Principal(dn); local 614 X500Principal principal = new X500Principal(dn); local 627 X500Principal principal = new X500Principal(dn); local 641 X500Principal principal = new X500Principal(dn); local 655 X500Principal principal = new X500Principal(dn); local 669 X500Principal principal = new X500Principal(dn); local 683 X500Principal principal = new X500Principal(dn); local 697 X500Principal principal = new X500Principal(dn); local 711 X500Principal principal = new X500Principal(dn); local 725 X500Principal principal = new X500Principal(dn); local 738 X500Principal principal = new X500Principal(unicodeStr); local 751 X500Principal principal = new X500Principal(dn); local 764 X500Principal principal = new X500Principal(dn); local 775 X500Principal principal = new X500Principal(dn); local 786 X500Principal principal = new X500Principal(dn); local 797 X500Principal principal = new X500Principal(dn); local 849 X500Principal principal = new X500Principal(dn); local 855 X500Principal principal = new X500Principal(dn); local 865 X500Principal principal = new X500Principal(dn); local 1197 X500Principal principal = new X500Principal(dn); local 1214 X500Principal principal = new X500Principal(dn); local 1232 X500Principal principal = new X500Principal(dn); local 1250 X500Principal principal = new X500Principal(dn); local 1266 X500Principal principal = new X500Principal(mess); local 1280 X500Principal principal = new X500Principal(mess); local 1294 X500Principal principal = new X500Principal(mess); local 1308 X500Principal principal = new X500Principal(mess); local 1322 X500Principal principal = new X500Principal(mess); local 1336 X500Principal principal = new X500Principal(mess); local 1349 X500Principal principal = new X500Principal(dn); local 1362 X500Principal principal = new X500Principal(dn); local 1375 X500Principal principal = new X500Principal(dn); local 1432 X500Principal principal = new X500Principal(dn); local 1445 X500Principal principal = new X500Principal(dn); local 1458 X500Principal principal = new X500Principal(dn); local 1472 X500Principal principal = new X500Principal(dn); local 1500 X500Principal principal = new X500Principal(dn); local 1514 X500Principal principal = new X500Principal(dn); local 1526 X500Principal principal = new X500Principal(dn); local 1539 X500Principal principal = new X500Principal(dn); local 1552 X500Principal principal = new X500Principal(dn); local 1565 X500Principal principal = new X500Principal(dn); local 1578 X500Principal principal = new X500Principal(dn); local 1591 X500Principal principal = new X500Principal(dn); local 1604 X500Principal principal = new X500Principal(dn); local 1618 X500Principal principal = new X500Principal(dn); local 1633 X500Principal principal = new X500Principal(dn); local 1647 X500Principal principal = new X500Principal(dn); local 1660 X500Principal principal = new X500Principal(dn); local 1672 X500Principal principal = new X500Principal(dn); local 1684 X500Principal principal = new X500Principal(dn); local 1697 X500Principal principal = new X500Principal(dn); local 1710 X500Principal principal = new X500Principal(dn); local 1723 X500Principal principal = new X500Principal(dn); local 1736 X500Principal principal = new X500Principal(dn); local 1749 X500Principal principal = new X500Principal(dn); local 1762 X500Principal principal = new X500Principal(dn); local 1775 X500Principal principal = new X500Principal(dn); local 1788 X500Principal principal = new X500Principal(dn); local 1814 X500Principal principal = new X500Principal(dn); local 1826 X500Principal principal = new X500Principal(dn); local 1838 X500Principal principal = new X500Principal(dn); local 1851 X500Principal principal = new X500Principal(dn); local 1863 X500Principal principal = new X500Principal(dn); local 1875 X500Principal principal = new X500Principal(dn); local 1888 X500Principal principal = new X500Principal(dn); local 1901 X500Principal principal = new X500Principal(dn); local 1914 X500Principal principal = new X500Principal(dn); local 1926 X500Principal principal = new X500Principal(dn); local 1938 X500Principal principal = new X500Principal(dn); local [all...] |
/external/openssh/ |
key.c | 1332 char *principal; local [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
XsltXPathConformanceTestSuite.java | 196 * <input-file role="principal-data">attribset01.xml</input-file> 197 * <input-file role="principal-stylesheet">attribset01.xsl</input-file> 198 * <output-file role="principal" compare="XML">attribset01.out</output-file> 224 if (role.equals("principal-data")) { 226 } else if (role.equals("principal-stylesheet")) { 228 } else if (role.equals("principal")) { 242 + "principal=data and principal-stylesheet elements at " + name); 249 final File principal; local 253 return new MisspecifiedTest("Expected <scenario> to have principal element at " + name) 318 private final File principal; field in class:XsltXPathConformanceTestSuite.XsltTest [all...] |
/libcore/support/src/test/java/libcore/java/security/ |
TestKeyStore.java | 45 import java.security.Principal; 484 X500Principal principal = new X500Principal(subject); local 486 principal, principal, [all...] |
/external/apache-harmony/auth/src/test/java/common/javax/security/auth/ |
SubjectTest.java | 33 import java.security.Principal; 55 private static final Principal principal = new Principal() { field in class:SubjectTest 98 private final HashSet<Principal> h1 = new HashSet<Principal>(); // principals 127 h1.add(principal); 235 // possible to add 'null' principal via constructor 265 // possible to add 'null' principal via constructor 570 * 1)principal se [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
RFC3280CertPathUtilities.java | 1165 X500Principal principal = CertPathValidatorUtilities.getSubjectPrincipal(cert); local [all...] |
/libcore/crypto/src/test/java/org/conscrypt/ |
NativeCryptoTest.java | 131 X500Principal principal = certificate.getIssuerX500Principal(); local 132 CA_PRINCIPALS = new byte[][] { principal.getEncoded() }; [all...] |
/external/chromium_org/third_party/libxslt/libxslt/ |
xsltInternals.h | 144 (((s) != NULL) && ((s)->principal) && \ 145 ((s)->principal->principalData) && \ 146 ((s)->principal->principalData->nsMap)) 153 #define XSLT_GET_INTERNAL_NSMAP(s) ((s)->principal->principalData->nsMap) 1624 xsltStylesheetPtr principal; member in struct:_xsltStylesheet [all...] |