/libcore/support/src/test/java/libcore/javax/net/ssl/ |
FakeSSLSession.java | 22 import java.security.Principal; 55 public Principal getLocalPrincipal() { 79 public Principal getPeerPrincipal() {
|
TestKeyManager.java | 21 import java.security.Principal; 63 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 104 private void dumpIssuers(Principal[] issuers) { 110 for (Principal issuer : issuers) { 139 public String[] getClientAliases(String keyType, Principal[] issuers) { 148 public String[] getServerAliases(String keyType, Principal[] issuers) { 177 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { 190 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine e) {
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
RecordedRequest.java | 21 import java.security.Principal; 44 private final Principal sslLocalPrincipal; 45 private final Principal sslPeerPrincipal; 65 Principal peerPrincipal = null; 203 * Returns the SSL connection's local principal retrieved using 207 public Principal getSslLocalPrincipal() { 221 * Returns the SSL connection's peer principal retrieved using 225 public Principal getSslPeerPrincipal() {
|
/external/apache-http/android/src/android/net/http/ |
DelegatingSSLSession.java | 19 import java.security.Principal; 82 public Principal getLocalPrincipal() { 113 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
|
/external/apache-http/src/org/apache/http/impl/client/ |
DefaultUserTokenHandler.java | 33 import java.security.Principal; 56 Principal userPrincipal = null; 83 private static Principal getAuthPrincipal(final AuthState authState) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLSessionBindingEventTest.java | 20 import java.security.Principal; 133 public Principal getLocalPrincipal() { 177 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
KeyManagerImpl.java | 24 import java.security.Principal; 87 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 93 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 118 public String[] getClientAliases(String keyType, Principal[] issuers) { 123 public String[] getServerAliases(String keyType, Principal[] issuers) { 139 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine engine) { 145 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) { 150 private String[] chooseAlias(String[] keyTypes, Principal[] issuers) { 154 List<Principal> issuersList = (issuers == null) ? null : Arrays.asList(issuers); 207 * getIssuerX500Principal as opposed to Principal [all...] |
DelegatingExtendedSSLSession.java | 20 import java.security.Principal; 164 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException { 169 public Principal getLocalPrincipal() {
|
SSLNullSession.java | 20 import java.security.Principal; 90 public Principal getLocalPrincipal() { 121 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
|
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 21 import java.security.Principal; 62 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 88 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 104 private void dumpIssuers(Principal[] issuers) { 110 for (Principal issuer : issuers) { 141 public String[] getClientAliases(String keyType, Principal[] issuers) { 151 public String[] getServerAliases(String keyType, Principal[] issuers) { 182 public String chooseEngineClientAlias(String[] keyTypes, Principal[] issuers, SSLEngine e) { 196 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine e) {
|
/external/apache-http/src/org/apache/http/auth/ |
NTUserPrincipal.java | 33 import java.security.Principal; 38 /** NT (MS Windows specific) user principal used for HTTP authentication 49 public class NTUserPrincipal implements Principal {
|
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...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/ |
X509Principal.java | 4 import java.security.Principal; 26 implements Principal
|
/libcore/ojluni/src/main/java/java/security/cert/ |
X509Certificate.java | 198 * as an implementation specific Principal object, which should not be 232 * @return a Principal whose name is the issuer distinguished name. 234 public abstract Principal getIssuerDN(); 256 * as an implementation specific Principal object, which should not be 263 * {@code Principal} object returns an empty string (""). 273 * @return a Principal whose name is the subject name. 275 public abstract Principal getSubjectDN();
|
X509CRL.java | 32 import java.security.Principal; 275 * as an implementation specific Principal object, which should not be 309 * @return a Principal whose name is the issuer distinguished name. 311 public abstract Principal getIssuerDN();
|
/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...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
ClientKeyManager.java | 13 import java.security.Principal; 53 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 62 public String[] getClientAliases(String keyType, Principal[] issuers) { 72 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 77 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
WiFiKeyManager.java | 10 import java.security.Principal; 84 public String chooseClientAlias(String[] keyTypes, Principal[] issuers, Socket socket) { 94 for (Principal issuer : issuers) { 118 public String[] getClientAliases(String keyType, Principal[] issuers) { 121 for (Principal issuer : issuers) { 138 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 143 public String[] getServerAliases(String keyType, Principal[] issuers) {
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
X509KeyManagerImpl.java | 10 import java.security.Principal; 116 public String[] getClientAliases(String s, Principal[] aprincipal) { 140 public String chooseClientAlias(String[] as, Principal[] aprincipal, Socket socket) { 160 public String[] getServerAliases(String s, Principal aprincipal[]) { 184 public String chooseServerAlias(String as, Principal[] aprincipal, Socket socket) {
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Handshake.java | 20 import java.security.Principal; 87 public Principal peerPrincipal() { 99 public Principal localPrincipal() {
|
/libcore/benchmarks/src/benchmarks/regression/ |
HostnameVerifierBenchmark.java | 23 import java.security.Principal; 120 public Principal getLocalPrincipal() { 138 public Principal getPeerPrincipal() {
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
HttpsURLConnection.java | 31 import java.security.Principal; 121 * Returns the server's principal which was established as part of 130 * @return the server's principal. Returns an X500Principal of the 143 public Principal getPeerPrincipal() 151 * Returns the principal that was sent to the server during handshaking. 158 * @return the principal sent to the server. Returns an X500Principal 160 * KerberosPrincipal for Kerberos cipher suites. If no principal was 171 public Principal getLocalPrincipal() {
|
/libcore/ojluni/src/main/java/javax/security/cert/ |
X509Certificate.java | 40 import java.security.Principal; 360 * @return a Principal whose name is the issuer distinguished name. 362 public abstract Principal getIssuerDN(); 375 * @return a Principal whose name is the subject name. 378 public abstract Principal getSubjectDN();
|
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificateTest.java | 23 import java.security.Principal; 70 public Principal getIssuerDN() { 120 public Principal getSubjectDN() { 124 class MockPrincipal implements Principal {
|