Home
last modified time | relevance | path

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

123

/external/apache-http/src/org/apache/http/auth/
DUsernamePasswordCredentials.java55 private final BasicUserPrincipal principal; field in UsernamePasswordCredentials
71 this.principal = new BasicUserPrincipal(usernamePassword.substring(0, atColon)); in UsernamePasswordCredentials()
74 this.principal = new BasicUserPrincipal(usernamePassword); in UsernamePasswordCredentials()
91 this.principal = new BasicUserPrincipal(userName); in UsernamePasswordCredentials()
96 return this.principal; in getUserPrincipal()
100 return this.principal.getName(); in getUserName()
109 return this.principal.hashCode(); in hashCode()
118 if (LangUtils.equals(this.principal, that.principal)) { in equals()
127 return this.principal.toString(); in toString()
DNTCredentials.java54 private final NTUserPrincipal principal; field in NTCredentials
84 this.principal = new NTUserPrincipal( in NTCredentials()
88 this.principal = new NTUserPrincipal( in NTCredentials()
113 this.principal = new NTUserPrincipal(domain, userName); in NTCredentials()
123 return this.principal; in getUserPrincipal()
127 return this.principal.getUsername(); in getUserName()
140 return this.principal.getDomain(); in getDomain()
155 hash = LangUtils.hashCode(hash, this.principal); in hashCode()
166 if (LangUtils.equals(this.principal, that.principal) in equals()
178 buffer.append(this.principal); in toString()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DCertificateStub.java40 Principal principal; field in CertificateStub
43 public CertificateStub(String format, Principal guarantor, Principal principal, PublicKey key) { in CertificateStub() argument
46 this.principal = principal; in CertificateStub()
92 return principal; in getPrincipal()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x501/
DNameTest.java69 Name principal = (Name) Name.ASN1.decode(mess); in testGetName1779() local
71 String s = principal.getName("RFC1779"); in testGetName1779()
81 Name principal = (Name) Name.ASN1.decode(is); in testStreamGetName1779() local
83 String s = principal.getName("RFC1779"); in testStreamGetName1779()
/external/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c279 if (participant->principal) in ieee802_1x_kay_get_principal_participant()
1112 ieee802_1x_mka_get_lpn(struct ieee802_1x_mka_participant *principal, in ieee802_1x_mka_get_lpn() argument
1119 dl_list_for_each(rxsc, &principal->rxsc_list, struct receive_sc, list) { in ieee802_1x_mka_get_lpn()
1123 secy_get_receive_lowest_pn(principal->kay, in ieee802_1x_mka_get_lpn()
1251 if (!participant->principal) { in ieee802_1x_mka_decode_sak_use_body()
1540 if (!participant->principal) { in ieee802_1x_mka_decode_dist_sak_body()
2146 participant->principal = FALSE; in ieee802_1x_kay_elect_key_server()
2161 participant->principal = TRUE; in ieee802_1x_kay_elect_key_server()
2181 participant->principal = TRUE; in ieee802_1x_kay_elect_key_server()
2589 struct ieee802_1x_mka_participant *principal; in ieee802_1x_kay_set_latest_sa_attr() local
[all …]
Dieee802_1x_kay_i.h192 Boolean principal; member
/external/jetty/src/java/org/eclipse/jetty/security/authentication/
DClientCertAuthenticator.java120 Principal principal = cert.getSubjectDN(); in validateRequest() local
121 if (principal == null) principal = cert.getIssuerDN(); in validateRequest()
122 final String username = principal == null ? "clientcert" : principal.getName(); in validateRequest()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
DAttributeCertificateHolder.java92 public AttributeCertificateHolder(X509Principal principal) in AttributeCertificateHolder() argument
94 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
97 public AttributeCertificateHolder(X500Principal principal) in AttributeCertificateHolder() argument
99 this(X509Util.convertPrincipal(principal)); in AttributeCertificateHolder()
202 private GeneralNames generateGeneralNames(X509Principal principal) in generateGeneralNames() argument
204 return GeneralNames.getInstance(new DERSequence(new GeneralName(principal))); in generateGeneralNames()
DAttributeCertificateIssuer.java41 public AttributeCertificateIssuer(X500Principal principal) in AttributeCertificateIssuer() argument
44 this(new X509Principal(principal.getEncoded())); in AttributeCertificateIssuer()
47 public AttributeCertificateIssuer(X509Principal principal) in AttributeCertificateIssuer() argument
49 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); in AttributeCertificateIssuer()
DX509Util.java284 X500Principal principal) in convertPrincipal() argument
288 return new X509Principal(principal.getEncoded()); in convertPrincipal()
/external/jetty/src/config/etc/
Dspnego.conf3 principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
13 principal="HTTP/vm.mortbay.org@MORTBAY.ORG"
/external/e2fsprogs/lib/et/test_cases/
Dheimdal.et14 ec KDC_NAME_EXP, "Kerberos principal expired"
21 ec KDC_PR_UNKNOWN, "Kerberos principal unknown"
22 ec KDC_PR_N_UNIQUE, "Kerberos principal not unique"
23 ec KDC_NULL_KEY, "Kerberos principal has null key"
Dheimdal2.et56 ec KADM_NOT_SERV_PRINC, "Invalid principal for change srvtab request"
57 ec KADM_IMMUTABLE, "Attempt do delete immutable principal"
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/
DAttributeCertificateHolder.java86 public AttributeCertificateHolder(X500Name principal) in AttributeCertificateHolder() argument
88 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
189 private GeneralNames generateGeneralNames(X500Name principal) in generateGeneralNames() argument
191 return new GeneralNames(new GeneralName(principal)); in generateGeneralNames()
DAttributeCertificateIssuer.java32 public AttributeCertificateIssuer(X500Name principal) in AttributeCertificateIssuer() argument
34 form = new V2Form(new GeneralNames(new GeneralName(principal))); in AttributeCertificateIssuer()
/external/jetty/src/java/org/eclipse/jetty/security/
DSpnegoUserIdentity.java34 public SpnegoUserIdentity( Subject subject, Principal principal, List<String> roles ) in SpnegoUserIdentity() argument
37 _principal = principal; in SpnegoUserIdentity()
DMappedLoginService.java222 UserPrincipal principal = (UserPrincipal)user.getUserPrincipal(); in login() local
223 if (principal.authenticate(credentials)) in login()
/external/openssh/openbsd-compat/
Dport-aix.c383 char *authname = NULL, *authdomain = NULL, *principal = NULL; in aix_krb5_get_principal_name() local
392 xasprintf(&principal, "%s@%s", authname ? authname : pw_name, authdomain); in aix_krb5_get_principal_name()
394 principal = xstrdup(authname); in aix_krb5_get_principal_name()
396 return principal; in aix_krb5_get_principal_name()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/cert/
DX509CRLSelectorTest.java57 private X500Principal principal = null; field in X509CRLSelectorTest.TestCRL
62 public TestCRL(X500Principal principal) { in TestCRL() argument
63 this.principal = principal; in TestCRL()
84 return principal; in getIssuerX500Principal()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DOkHostnameVerifier.java109 X500Principal principal = certificate.getSubjectX500Principal(); in verifyHostName() local
111 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); in verifyHostName()
DDistinguishedNameParser.java39 public DistinguishedNameParser(X500Principal principal) { in DistinguishedNameParser() argument
43 this.dn = principal.getName(X500Principal.RFC2253); in DistinguishedNameParser()
/external/conscrypt/src/main/java/org/conscrypt/
DNativeCrypto.java360 public static int X509_NAME_hash(X500Principal principal) { in X509_NAME_hash() argument
361 return X509_NAME_hash(principal, "SHA1"); in X509_NAME_hash()
363 public static int X509_NAME_hash_old(X500Principal principal) { in X509_NAME_hash_old() argument
364 return X509_NAME_hash(principal, "MD5"); in X509_NAME_hash_old()
366 private static int X509_NAME_hash(X500Principal principal, String algorithm) { in X509_NAME_hash() argument
368 byte[] digest = MessageDigest.getInstance(algorithm).digest(principal.getEncoded()); in X509_NAME_hash()
/external/ipsec-tools/src/racoon/doc/
DREADME.gssapi22 credential cache if it its principal matches the desired credential.
33 a string (a Kerberos 5 principal in this case), specifying the
91 is not a valid Kerberos 5 principal).
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-gssapi28 # principal. ktutil(8)'s "list" command will list the
/external/deqp/doc/testspecs/GLES2/
Dperformance.shaders.operator.txt60 part; the right part starts where the left parts ends. The principal task of

123