/external/apache-http/src/org/apache/http/auth/ |
UsernamePasswordCredentials.java | 33 import java.security.Principal; 55 private final BasicUserPrincipal principal; field in class:UsernamePasswordCredentials 71 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); 74 this.principal = new BasicUserPrincipal(usernamePassword); 91 this.principal = new BasicUserPrincipal(userName); 95 public Principal getUserPrincipal() { 96 return this.principal; 100 return this.principal.getName(); 109 return this.principal.hashCode(); 118 if (LangUtils.equals(this.principal, that.principal)) [all...] |
NTCredentials.java | 33 import java.security.Principal; 53 /** The user principal */ 54 private final NTUserPrincipal principal; field in class:NTCredentials 84 this.principal = new NTUserPrincipal( 88 this.principal = new NTUserPrincipal( 113 this.principal = new NTUserPrincipal(domain, userName); 122 public Principal getUserPrincipal() { 123 return this.principal; 127 return this.principal.getUsername(); 140 return this.principal.getDomain() [all...] |
/libcore/ojluni/src/main/java/javax/net/ssl/ |
HandshakeCompletedEvent.java | 30 import java.security.Principal; 167 * @return the peer's principal. Returns an X500Principal of the 179 public Principal getPeerPrincipal() 182 Principal principal; local 184 principal = session.getPeerPrincipal(); 189 principal = (X500Principal) 192 return principal; 196 * Returns the principal that was sent to the peer during handshaking. 198 * @return the principal sent to the peer. Returns an X500Principa 210 Principal principal; local [all...] |
/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; 83 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/jetty/src/config/etc/ |
spnego.conf | 3 principal="HTTP/vm.mortbay.org@MORTBAY.ORG" 13 principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
SpnegoUserIdentity.java | 21 import java.security.Principal; 31 private Principal _principal; 34 public SpnegoUserIdentity( Subject subject, Principal principal, List<String> roles ) 37 _principal = principal; 47 public Principal getUserPrincipal()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/ |
X500PrincipalTest.java | 281 X500Principal principal = new X500Principal( local 283 String name = principal.getName(); 306 X500Principal principal = new X500Principal( local 308 String canonical = principal.getName(X500Principal.CANONICAL); 352 X500Principal principal = new X500Principal(is); local 353 String s = principal.toString(); 373 X500Principal principal = new X500Principal(is); local 374 String s = principal.toString(); 400 X500Principal principal = new X500Principal(is); local 402 String s = principal.getName(X500Principal.RFC1779) 416 X500Principal principal = new X500Principal(is); local 432 X500Principal principal = new X500Principal(is); local 451 X500Principal principal = new X500Principal(mess); local 466 X500Principal principal = new X500Principal(mess); local 480 X500Principal principal = new X500Principal(mess); local 495 X500Principal principal = new X500Principal(mess); local 520 X500Principal principal = new X500Principal(dn); local 535 X500Principal principal = new X500Principal(dn); local 550 X500Principal principal = new X500Principal(dn); local 566 X500Principal principal = new X500Principal(mess); local 582 X500Principal principal = new X500Principal(mess); local 598 X500Principal principal = new X500Principal(mess); local 627 X500Principal principal = new X500Principal(dn); local 643 X500Principal principal = new X500Principal(dn); local 671 X500Principal principal = new X500Principal(mess); local 702 X500Principal principal = new X500Principal(mess); local 732 X500Principal principal = new X500Principal(mess); local 763 X500Principal principal = new X500Principal(is); local 794 X500Principal principal = new X500Principal(is); local 825 X500Principal principal = new X500Principal(is); local 843 X500Principal principal = new X500Principal(dn); local 861 X500Principal principal = new X500Principal(dn); local 879 X500Principal principal = new X500Principal(dn); local 894 X500Principal principal = new X500Principal(dn); local 907 X500Principal principal = new X500Principal(dn); local 920 X500Principal principal = new X500Principal(dn); local 934 X500Principal principal = new X500Principal(dn); local 948 X500Principal principal = new X500Principal(dn); local 962 X500Principal principal = new X500Principal(dn); local 976 X500Principal principal = new X500Principal(dn); local 990 X500Principal principal = new X500Principal(dn); local 1004 X500Principal principal = new X500Principal(dn); local 1018 X500Principal principal = new X500Principal(dn); local 1032 X500Principal principal = new X500Principal(unicodeStr); local 1045 X500Principal principal = new X500Principal(dn); local 1058 X500Principal principal = new X500Principal(dn); local 1069 X500Principal principal = new X500Principal(dn); local 1080 X500Principal principal = new X500Principal(dn); local 1091 X500Principal principal = new X500Principal(dn); local 1144 X500Principal principal = new X500Principal(dn); local 1150 X500Principal principal = new X500Principal(dn); local 1160 X500Principal principal = new X500Principal(dn); local 1492 X500Principal principal = new X500Principal(dn); local 1509 X500Principal principal = new X500Principal(dn); local 1528 X500Principal principal = new X500Principal(dn); local 1547 X500Principal principal = new X500Principal(dn); local 1563 X500Principal principal = new X500Principal(mess); local 1577 X500Principal principal = new X500Principal(mess); local 1591 X500Principal principal = new X500Principal(mess); local 1605 X500Principal principal = new X500Principal(mess); local 1619 X500Principal principal = new X500Principal(mess); local 1633 X500Principal principal = new X500Principal(mess); local 1646 X500Principal principal = new X500Principal(dn); local 1659 X500Principal principal = new X500Principal(dn); local 1672 X500Principal principal = new X500Principal(dn); local 1685 X500Principal principal = new X500Principal(dn); local 1721 X500Principal principal = new X500Principal(dn); local 1734 X500Principal principal = new X500Principal(dn); local 1747 X500Principal principal = new X500Principal(dn); local 1761 X500Principal principal = new X500Principal(dn); local 1789 X500Principal principal = new X500Principal(dn); local 1803 X500Principal principal = new X500Principal(dn); local 1815 X500Principal principal = new X500Principal(dn); local 1828 X500Principal principal = new X500Principal(dn); local 1841 X500Principal principal = new X500Principal(dn); local 1854 X500Principal principal = new X500Principal(dn); local 1867 X500Principal principal = new X500Principal(dn); local 1880 X500Principal principal = new X500Principal(dn); local 1893 X500Principal principal = new X500Principal(dn); local 1907 X500Principal principal = new X500Principal(dn); local 1922 X500Principal principal = new X500Principal(dn); local 1936 X500Principal principal = new X500Principal(dn); local 1949 X500Principal principal = new X500Principal(dn); local 1961 X500Principal principal = new X500Principal(dn); local 1973 X500Principal principal = new X500Principal(dn); local 1986 X500Principal principal = new X500Principal(dn); local 1999 X500Principal principal = new X500Principal(dn); local 2012 X500Principal principal = new X500Principal(dn); local 2025 X500Principal principal = new X500Principal(dn); local 2038 X500Principal principal = new X500Principal(dn); local 2051 X500Principal principal = new X500Principal(dn); local 2064 X500Principal principal = new X500Principal(dn); local 2077 X500Principal principal = new X500Principal(dn); local 2103 X500Principal principal = new X500Principal(dn); local 2115 X500Principal principal = new X500Principal(dn); local 2127 X500Principal principal = new X500Principal(dn); local 2140 X500Principal principal = new X500Principal(dn); local 2152 X500Principal principal = new X500Principal(dn); local 2164 X500Principal principal = new X500Principal(dn); local 2177 X500Principal principal = new X500Principal(dn); local 2190 X500Principal principal = new X500Principal(dn); local 2203 X500Principal principal = new X500Principal(dn); local 2211 X500Principal principal = new X500Principal(dn); local 2223 X500Principal principal = new X500Principal(dn); local 2235 X500Principal principal = new X500Principal(dn); local [all...] |
/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");
|
/libcore/ojluni/src/main/java/java/security/acl/ |
Acl.java | 29 import java.security.Principal; 38 * set of permissions associated with a particular principal. (A 39 * principal represents an entity such as an individual user or a 42 * granted to the associated principal. If negative, the permissions 47 * <ul> <li>Each principal can have at most one positive ACL entry and 49 * entries are not allowed for any principal. Each entry specifies 53 * <li>If there is no entry for a particular principal, then the 54 * principal is considered to have a null (empty) permission set.<p> 56 * <li>If there is a positive entry that grants a principal a 58 * principal the same permission, the result is as though th [all...] |
/libcore/ojluni/src/main/java/java/security/ |
IdentityScope.java | 55 * @see Principal 63 * <code>java.security.Principal</code>. 187 * specified principal. (Note: Identity implements Principal.) 189 * @param principal the principal corresponding to the identity 193 * principal, or null if there are no identities of the same name 196 public Identity getIdentity(Principal principal) { 197 return getIdentity(principal.getName()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
AttributeCertificateIssuer.java | 4 import java.security.Principal; 41 public AttributeCertificateIssuer(X500Principal principal) 44 this(new X509Principal(principal.getEncoded())); 47 public AttributeCertificateIssuer(X509Principal principal) 49 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); 89 * Return any principal objects inside the attribute certificate issuer 92 * @return an array of Principal objects (usually X500Principal) 94 public Principal[] getPrincipals() 101 if (p[i] instanceof Principal) 107 return (Principal[])l.toArray(new Principal[l.size()]) [all...] |
AttributeCertificateHolder.java | 6 import java.security.Principal; 92 public AttributeCertificateHolder(X509Principal principal) 94 holder = new Holder(generateGeneralNames(principal)); 97 public AttributeCertificateHolder(X500Principal principal) 99 this(X509Util.convertPrincipal(principal)); 202 private GeneralNames generateGeneralNames(X509Principal principal) 204 return GeneralNames.getInstance(new DERSequence(new GeneralName(principal))); 257 private Principal[] getPrincipals(GeneralNames names) 264 if (p[i] instanceof Principal) 270 return (Principal[])l.toArray(new Principal[l.size()]) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btConvexTriangleMeshShape.h | 63 ///computes the exact moment of inertia and the transform from the coordinate system defined by the principal axes of the moment of inertia 65 ///by the mass. The resulting transform "principal" has to be applied inversely to the mesh in order for the local coordinate system of the 66 ///shape to be centered at the center of mass and to coincide with the principal axes. This also necessitates a correction of the world transform 67 ///of the collision object by the principal transform. This method also computes the volume of the convex mesh. 68 void calculatePrincipalAxisTransform(btTransform& principal, btVector3& inertia, btScalar& volume) const;
|
btConvexTriangleMeshShape.cpp | 210 void btConvexTriangleMeshShape::calculatePrincipalAxisTransform(btTransform& principal, btVector3& inertia, btScalar& volume) const 304 principal.setOrigin(center); 311 i.diagonalize(principal.getBasis(), btScalar(0.00001), 20);
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
btConvexTriangleMeshShape.java | 74 public void calculatePrincipalAxisTransform(Matrix4 principal, Vector3 inertia, SWIGTYPE_p_float volume) { 75 CollisionJNI.btConvexTriangleMeshShape_calculatePrincipalAxisTransform(swigCPtr, this, principal, inertia, SWIGTYPE_p_float.getCPtr(volume));
|
btCompoundShape.java | 150 public void calculatePrincipalAxisTransform(java.nio.FloatBuffer masses, Matrix4 principal, Vector3 inertia) { 153 CollisionJNI.btCompoundShape_calculatePrincipalAxisTransform(swigCPtr, this, masses, principal, inertia);
|
/external/jetty/src/java/org/eclipse/jetty/security/authentication/ |
ClientCertAuthenticator.java | 23 import java.security.Principal; 120 Principal principal = cert.getSubjectDN(); local 121 if (principal == null) principal = cert.getIssuerDN(); 122 final String username = principal == null ? "clientcert" : principal.getName();
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sts/ |
test_connection.py | 219 principal = 'arn:aws:iam::000240903217:role/Principal' 225 principal_arn=principal, 230 'PrincipalArn': principal,
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
AttributeCertificateIssuer.java | 32 public AttributeCertificateIssuer(X500Name principal) 34 form = new V2Form(new GeneralNames(new GeneralName(principal)));
|
AttributeCertificateHolder.java | 82 * Create a holder using the entityName option based on the passed in principal. 84 * @param principal the entityName to be associated with the attribute certificate. 86 public AttributeCertificateHolder(X500Name principal) 88 holder = new Holder(generateGeneralNames(principal)); 189 private GeneralNames generateGeneralNames(X500Name principal) 191 return new GeneralNames(new GeneralName(principal)); 230 * Return any principal objects inside the attribute certificate holder 233 * @return an array of Principal objects (usually X500Principal), null if no
|
/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...] |
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_kay.c | 279 if (participant->principal) 283 wpa_printf(MSG_DEBUG, "KaY: principal participant is not founded"); 1112 ieee802_1x_mka_get_lpn(struct ieee802_1x_mka_participant *principal, 1119 dl_list_for_each(rxsc, &principal->rxsc_list, struct receive_sc, list) { 1123 secy_get_receive_lowest_pn(principal->kay, 1251 if (!participant->principal) { 1252 wpa_printf(MSG_WARNING, "KaY: Participant is not principal"); 2589 struct ieee802_1x_mka_participant *principal; local 2624 struct ieee802_1x_mka_participant *principal; local 2660 struct ieee802_1x_mka_participant *principal; local 2718 struct ieee802_1x_mka_participant *principal; local 2766 struct ieee802_1x_mka_participant *principal; local 2794 struct ieee802_1x_mka_participant *principal; local 2824 struct ieee802_1x_mka_participant *principal; local [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/ |
OkHostnameVerifier.java | 109 X500Principal principal = certificate.getSubjectX500Principal(); local 111 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn");
|
/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; 136 public Principal getIssuerDN() {
|