Home
last modified time | relevance | path

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

1234

/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/wpa_supplicant_8/src/pae/
Dieee802_1x_kay.c309 if (participant->principal) in ieee802_1x_kay_get_principal_participant()
1230 ieee802_1x_mka_get_lpn(struct ieee802_1x_mka_participant *principal, in ieee802_1x_mka_get_lpn() argument
1236 dl_list_for_each(txsa, &principal->txsc->sa_list, in ieee802_1x_mka_get_lpn()
1257 secy_get_transmit_next_pn(principal->kay, txsa); in ieee802_1x_mka_get_lpn()
1371 if (!participant->principal) { in ieee802_1x_mka_decode_sak_use_body()
1656 if (!participant->principal) { in ieee802_1x_mka_decode_dist_sak_body()
2277 participant->principal = TRUE; in ieee802_1x_kay_elect_key_server()
2297 participant->principal = TRUE; in ieee802_1x_kay_elect_key_server()
2304 participant->principal = FALSE; in ieee802_1x_kay_elect_key_server()
2730 struct ieee802_1x_mka_participant *principal; in ieee802_1x_kay_set_latest_sa_attr() local
[all …]
/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.java282 X500Principal principal) in convertPrincipal() argument
286 return new X509Principal(principal.getEncoded()); in convertPrincipal()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/x509/
DAttributeCertificateHolder.java94 public AttributeCertificateHolder(X509Principal principal) in AttributeCertificateHolder() argument
96 holder = new Holder(generateGeneralNames(principal)); in AttributeCertificateHolder()
99 public AttributeCertificateHolder(X500Principal principal) in AttributeCertificateHolder() argument
101 this(X509Util.convertPrincipal(principal)); in AttributeCertificateHolder()
204 private GeneralNames generateGeneralNames(X509Principal principal) in generateGeneralNames() argument
206 return GeneralNames.getInstance(new DERSequence(new GeneralName(principal))); in generateGeneralNames()
DAttributeCertificateIssuer.java43 public AttributeCertificateIssuer(X500Principal principal) in AttributeCertificateIssuer() argument
46 this(new X509Principal(principal.getEncoded())); in AttributeCertificateIssuer()
49 public AttributeCertificateIssuer(X509Principal principal) in AttributeCertificateIssuer() argument
51 form = new V2Form(GeneralNames.getInstance(new DERSequence(new GeneralName(principal)))); in AttributeCertificateIssuer()
/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/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/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/grpc-grpc-java/android-interop-testing/app/src/main/java/io/grpc/android/integrationtest/
DTesterOkHttpChannelBuilder.java78 X500Principal principal = cert.getSubjectX500Principal(); in getTrustManagers() local
79 ks.setCertificateEntry(principal.getName("RFC2253"), cert); in getTrustManagers()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/
DTestUtils.java125 X500Principal principal = cert.getSubjectX500Principal();
126 ks.setCertificateEntry(principal.getName("RFC2253"), cert);
/external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
DOkHostnameVerifier.java112 X500Principal principal = certificate.getSubjectX500Principal(); in verifyHostName() local
114 String cn = new DistinguishedNameParser(principal).findMostSpecific("cn"); in verifyHostName()
DDistinguishedNameParser.java42 public DistinguishedNameParser(X500Principal principal) { in DistinguishedNameParser() argument
46 this.dn = principal.getName(X500Principal.RFC2253); in DistinguishedNameParser()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DTestUtils.java195 X500Principal principal = cert.getSubjectX500Principal(); in newSslSocketFactoryForCa() local
196 ks.setCertificateEntry(principal.getName("RFC2253"), cert); in newSslSocketFactoryForCa()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/tls/
DDistinguishedNameParser.java40 public DistinguishedNameParser(X500Principal principal) { in DistinguishedNameParser() argument
44 this.dn = principal.getName(X500Principal.RFC2253); in DistinguishedNameParser()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/tls/
DDistinguishedNameParser.java39 public DistinguishedNameParser(X500Principal principal) { in DistinguishedNameParser() argument
43 this.dn = principal.getName(X500Principal.RFC2253); in DistinguishedNameParser()
/external/conscrypt/common/src/main/java/org/conscrypt/
DNativeCrypto.java356 static int X509_NAME_hash(X500Principal principal) { in X509_NAME_hash() argument
357 return X509_NAME_hash(principal, "SHA1"); in X509_NAME_hash()
360 public static int X509_NAME_hash_old(X500Principal principal) { in X509_NAME_hash_old() argument
361 return X509_NAME_hash(principal, "MD5"); in X509_NAME_hash_old()
363 private static int X509_NAME_hash(X500Principal principal, String algorithm) { in X509_NAME_hash() argument
365 byte[] digest = MessageDigest.getInstance(algorithm).digest(principal.getEncoded()); in X509_NAME_hash()
/external/curl/docs/cmdline-opts/
Dsocks5-gssapi-service.d12 principal name.
/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/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DNativeCrypto.java372 static int X509_NAME_hash(X500Principal principal) { in X509_NAME_hash() argument
373 return X509_NAME_hash(principal, "SHA1"); in X509_NAME_hash()
376 public static int X509_NAME_hash_old(X500Principal principal) { in X509_NAME_hash_old() argument
377 return X509_NAME_hash(principal, "MD5"); in X509_NAME_hash_old()
379 private static int X509_NAME_hash(X500Principal principal, String algorithm) { in X509_NAME_hash() argument
381 byte[] digest = MessageDigest.getInstance(algorithm).digest(principal.getEncoded()); in X509_NAME_hash()
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-gssapi28 # principal. ktutil(8)'s "list" command will list the

1234