/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
UserPrincipal.java | 28 import java.security.Principal; 31 * A {@code Principal} representing an identity used to determine access rights 44 * account name that it represents. User principal objects may be obtained using 54 public interface UserPrincipal extends Principal { }
|
/libcore/ojluni/src/main/java/java/security/acl/ |
Group.java | 29 import java.security.Principal; 32 * This interface is used to represent a group of principals. (A principal 35 * Note that Group extends Principal. Thus, either a Principal or a Group can 36 * be passed as an argument to methods containing a Principal parameter. For 37 * example, you can add either a Principal or a Group to a Group object by 39 * Principal or Group. 43 public interface Group extends Principal { 48 * @param user the principal to add to this group. 51 * false if the principal was already a member [all...] |
Owner.java | 28 import java.security.Principal; 34 * interface.) The initial owner Principal should be specified as an 44 * principal must be an owner of the ACL in order to invoke this method. 48 * @param caller the principal invoking this method. It must be an owner 54 * @exception NotOwnerException if the caller principal is not an owner 57 public boolean addOwner(Principal caller, Principal owner) 64 * The caller principal must be an owner of the ACL in order to invoke 67 * @param caller the principal invoking this method. It must be an owner 75 * @exception NotOwnerException if the caller principal is not an owne [all...] |
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. 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...] |
AclEntry.java | 29 import java.security.Principal; 37 * with a particular principal. (A principal represents an entity such as 40 * to be granted to the associated principal. If negative, the permissions 41 * are to be denied. Each principal can have at most one positive ACL entry 43 * entries are not allowed for any principal. 57 * Specifies the principal for which permissions are granted or denied 58 * by this ACL entry. If a principal was already set for this ACL entry, 61 * @param user the principal to be set for this entry. 63 * @return true if the principal is set, false if there wa [all...] |
/external/apache-http/src/org/apache/http/auth/ |
Credentials.java | 33 import java.security.Principal; 50 Principal getUserPrincipal();
|
BasicUserPrincipal.java | 33 import java.security.Principal; 38 * Basic user principal used for HTTP authentication 49 public final class BasicUserPrincipal implements Principal { 88 buffer.append("[principal: ");
|
/libcore/ojluni/src/main/java/java/net/ |
SecureCacheResponse.java | 30 import java.security.Principal; 78 * Returns the server's principal which was established as part of 82 * @return the server's principal. Returns an X500Principal of the 91 public abstract Principal getPeerPrincipal() 95 * Returns the principal that was sent to the server during 99 * @return the principal sent to the server. Returns an X500Principal 101 * KerberosPrincipal for Kerberos cipher suites. If no principal was 107 public abstract Principal getLocalPrincipal();
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
X509ExtendedKeyManager.java | 28 import java.security.Principal; 68 Principal[] issuers, SSLEngine engine) { 91 Principal[] issuers, SSLEngine engine) {
|
X509KeyManager.java | 29 import java.security.Principal; 65 public String[] getClientAliases(String keyType, Principal[] issuers); 83 public String chooseClientAlias(String[] keyType, Principal[] issuers, 97 public String[] getServerAliases(String keyType, Principal[] issuers); 114 public String chooseServerAlias(String keyType, Principal[] issuers,
|
HandshakeCompletedEvent.java | 30 import java.security.Principal; 166 * @return the peer's principal. Returns an X500Principal of the 178 public Principal getPeerPrincipal() 181 Principal principal; local 183 principal = session.getPeerPrincipal(); 188 principal = ((X509Certificate)certs[0]).getSubjectX500Principal(); 190 return principal; 194 * Returns the principal that was sent to the peer during handshaking. 196 * @return the principal sent to the peer. Returns an X500Principa 208 Principal principal; local [all...] |
SSLSession.java | 28 import java.security.Principal; 283 * @return the peer's principal. Returns an X500Principal of the 295 public Principal getPeerPrincipal() 299 * Returns the principal that was sent to the peer during handshaking. 301 * @return the principal sent to the peer. Returns an X500Principal 303 * KerberosPrincipal for Kerberos cipher suites. If no principal was 311 public Principal getLocalPrincipal();
|
/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...] |
/frameworks/base/core/java/android/webkit/ |
ClientCertRequest.java | 19 import java.security.Principal; 53 public abstract Principal[] getPrincipals();
|
/libcore/ojluni/src/main/java/java/security/ |
Certificate.java | 34 * An identity certificate is a guarantee by a principal that 35 * a public key is that of another principal. (A principal represents 44 * public key, the principal whose key it is, and the guarantor 46 * principal. So an implementation of X.509 certificates and an 69 * Returns the guarantor of the certificate, that is, the principal 71 * is that of the principal associated with this certificate. For X.509 75 * @return the guarantor which guaranteed the principal-key 78 public abstract Principal getGuarantor(); 81 * Returns the principal of the principal-key pair being guaranteed b [all...] |
ProtectionDomain.java | 43 Principal[] principals) { } 49 public final Principal[] getPrincipals() { return null; }
|
Principal.java | 31 * This interface represents the abstract notion of a principal, which 39 public interface Principal { 42 * Compares this principal to the specified object. Returns true 43 * if the object passed in matches the principal represented by 46 * @param another principal to compare with. 48 * @return true if the principal passed in is the same as that 49 * encapsulated by this principal, and false otherwise. 54 * Returns a string representation of this principal. 56 * @return a string representation of this principal. 61 * Returns a hashcode for this principal [all...] |
/external/conscrypt/testing/src/main/java/libcore/javax/net/ssl/ |
ForwardingX509ExtendedKeyManager.java | 18 import java.security.Principal; 33 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 37 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 45 public String[] getClientAliases(String keyType, Principal[] issuers) { 49 public String[] getServerAliases(String keyType, Principal[] issuers) { 53 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { 57 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) {
|
FakeSSLSession.java | 20 import java.security.Principal; 64 public Principal getLocalPrincipal() { 94 public Principal getPeerPrincipal() {
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
ForwardingX509ExtendedKeyManager.java | 20 import java.security.Principal; 38 public String chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) { 43 public String chooseServerAlias(String keyType, Principal[] issuers, Socket socket) { 53 public String[] getClientAliases(String keyType, Principal[] issuers) { 58 public String[] getServerAliases(String keyType, Principal[] issuers) { 63 public String chooseEngineClientAlias(String[] keyType, Principal[] issuers, SSLEngine engine) { 68 public String chooseEngineServerAlias(String keyType, Principal[] issuers, SSLEngine engine) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
X509ExtendedKeyManagerTest.java | 21 import java.security.Principal; 41 * @see javax.net.ssl.X509KeyManager#chooseClientAlias(java.lang.String[], java.security.Principal[], java.net.Socket) 43 public String chooseClientAlias(String[] arg0, Principal[] arg1, Socket arg2) { 49 * @see javax.net.ssl.X509KeyManager#chooseServerAlias(java.lang.String, java.security.Principal[], java.net.Socket) 51 public String chooseServerAlias(String arg0, Principal[] arg1, Socket arg2) { 65 * @see javax.net.ssl.X509KeyManager#getClientAliases(java.lang.String, java.security.Principal[]) 67 public String[] getClientAliases(String arg0, Principal[] arg1) { 81 * @see javax.net.ssl.X509KeyManager#getServerAliases(java.lang.String, java.security.Principal[]) 83 public String[] getServerAliases(String arg0, Principal[] arg1) { 103 * java.security.Principal[], javax.net.ssl.SSLEngine [all...] |
/libcore/ojluni/src/main/java/javax/security/auth/ |
PrivateCredentialPermission.java | 30 import java.security.Principal; 40 Set<Principal> principals) { super(""); }
|
/libcore/luni/src/test/java/libcore/java/security/ |
PrincipalTest.java | 21 import java.security.Principal; 30 * Default implementation of {@code implies} returns true iff the principal is one 34 HashSet<Principal> subjectPrincipals = new HashSet<>(); 42 Principal principalA = new PrincipalWithEqualityByName("a"); 44 Principal principalC = new PrincipalWithEqualityByName("c"); 49 private static class PrincipalWithEqualityByName implements Principal {
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
FakeSSLSession.java | 19 import java.security.Principal; 57 public Principal getLocalPrincipal() { 85 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
SecureCacheResponseTest.java | 22 import java.security.Principal; 55 public Principal getLocalPrincipal() { 61 public Principal getPeerPrincipal() throws SSLPeerUnverifiedException {
|