HomeSort by relevance Sort by last modified time
    Searched refs:Identity (Results 1 - 22 of 22) sorted by null

  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
IdentityScopeStub.java 25 import java.security.Identity;
77 public Identity getIdentity(String name) {
86 public Identity getIdentity(PublicKey key) {
92 * @see java.security.IdentityScope#addIdentity(java.security.Identity)
94 public void addIdentity(Identity identity) throws KeyManagementException {
101 * @see java.security.IdentityScope#removeIdentity(java.security.Identity)
103 public void removeIdentity(Identity identity) throws KeyManagementException {
117 * Sets the system's identity scop
    [all...]
IdentityStub.java 25 import java.security.Identity;
31 * Stub for abstract class Identity
35 public class IdentityStub extends Identity {
81 public boolean identityEquals(Identity identity) {
82 return super.identityEquals(identity);
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
IdentityScope2Test.java 20 import java.security.Identity;
48 Hashtable<Identity, Identity> identities;
56 identities = new Hashtable<Identity, Identity>();
61 identities = new Hashtable<Identity, Identity>();
66 identities = new Hashtable<Identity, Identity>();
72 identities = new Hashtable<Identity, Identity>()
    [all...]
Identity2Test.java 25 import java.security.Identity;
43 @TestTargetClass(value=Identity.class,
184 public static class IdentitySubclass extends Identity {
202 * @tests java.security.Identity#Identity()
207 method = "Identity",
215 * @tests java.security.Identity#Identity(java.lang.String)
220 method = "Identity",
230 assertTrue(is instanceof Identity);
    [all...]
  /libcore/luni/src/main/java/java/security/
IdentityScope.java 24 * {@code IdentityScope} represents a scope for {@link Identity} objects.
31 public abstract class IdentityScope extends Identity {
65 * if an identity with the same key already exists.
115 * Returns the number of {@code Identity} objects in this scope.
117 * @return the number of {@code Identity} objects in this scope.
122 * Returns the {@code Identity} with the specified name or {@code null} if
123 * no {@code Identity} with the specified name is present in this scope.
126 * the name of the {@code Identity} to be returned.
127 * @return the {@code Identity} with the specified name or {@code null} if
130 public abstract Identity getIdentity(String name)
    [all...]
Identity.java 26 * {@code Identity} represents an identity like a person or a company.
33 public abstract class Identity implements Principal, Serializable {
47 * Constructs a new instance of {@code Identity}.
49 protected Identity() {
53 * Creates a new instance of {@code Identity} with the specified name.
56 * the name of this {@code Identity}.
58 public Identity(String name) {
63 * Creates a new instance of {@code Identity} with the specified name and
64 * the scope of this {@code Identity}
    [all...]
Signer.java 21 * {@link Signer} represents an identity (individual or corporation) that owns a
29 public abstract class Signer extends Identity {
  /libcore/luni/src/main/java/org/apache/harmony/security/
SystemScope.java 25 import java.security.Identity;
43 // Identities hash: key is the identity name
81 public synchronized Identity getIdentity(String name) {
85 return (Identity) names.get(name);
91 public synchronized Identity getIdentity(PublicKey key) {
95 return (Identity) keys.get(key);
99 * @see java.security.IdentityScope#addIdentity(java.security.Identity)
101 public synchronized void addIdentity(Identity identity) throws KeyManagementException {
102 if (identity == null)
    [all...]
  /libcore/luni/src/test/java/tests/java/security/
IdentityTest.java 30 import java.security.Identity;
45 * Tests for class Identity
49 @TestTargetClass(Identity.class)
89 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope());
91 Identity i3 = new IdentityStub("testEquals3");
97 * verify Identity.toString()
110 * verify Identity() creates instance
115 method = "Identity",
123 * verify Identity(String) creates instance with given name
128 method = "Identity",
    [all...]
  /external/chromium/net/http/
http_auth.h 31 // Describes where the identity used for authentication came from.
33 // Came from nowhere -- the identity is not initialized.
36 // The identity came from the auth cache, by doing a path-based
40 // The identity was extracted from a URL of the form:
44 // The identity was retrieved from the auth cache, by doing a
48 // The identity was provided by RestartWithAuth -- it likely
54 // the current identity being used for authorization.
55 struct Identity {
56 Identity() : source(IDENT_SRC_NONE), invalid(true) { }
http_network_transaction.h 227 // The identity that was rejected is auth_identity_[target].
231 // Sets auth_identity_[target] to the next identity that the transaction
233 // and the URL for a username:password. Returns true if an identity
270 // the auth_handler_ to generate credentials. This identity can come from
272 HttpAuth::Identity auth_identity_[2];
315 // makes sure we use the embedded identity only once for the transaction,
http_network_transaction.cc 253 // the identity is valid yet, but if it is valid we want other transactions
258 // auth_identity_[target] contains no identity because identity is not
    [all...]
  /hardware/ti/wlan/wl1271/CUDK/configurationutility/inc/
wpa_core.h 64 S32 WpaCore_SetCredentials(THandle hWpaCore, PU8 Identity, PU8 Passward);
  /system/wlan/ti/wilink_6_1/CUDK/configurationutility/inc/
wpa_core.h 64 S32 WpaCore_SetCredentials(THandle hWpaCore, PU8 Identity, PU8 Passward);
  /hardware/ti/wlan/wl1271/CUDK/configurationutility/src/
wpa_core.c 76 U8 Identity[WPACORE_MAX_CERT_PASSWORD_LENGTH];
324 S32 WpaCore_SetCredentials(THandle hWpaCore, PU8 Identity, PU8 Passward)
328 os_memcpy((PVOID)pWpaCore->WpaSupplParams.Identity, (PVOID)Identity, os_strlen((PS8)Identity));
733 if (pWpaCore->WpaSupplParams.Identity[0])
735 os_sprintf(cmd, (PS8)"SET_NETWORK %d identity \"%s\"", NetworkID,pWpaCore->WpaSupplParams.Identity);
  /system/wlan/ti/wilink_6_1/CUDK/configurationutility/src/
wpa_core.c 76 U8 Identity[WPACORE_MAX_CERT_PASSWORD_LENGTH];
324 S32 WpaCore_SetCredentials(THandle hWpaCore, PU8 Identity, PU8 Passward)
328 os_memcpy((PVOID)pWpaCore->WpaSupplParams.Identity, (PVOID)Identity, os_strlen((PS8)Identity));
733 if (pWpaCore->WpaSupplParams.Identity[0])
735 os_sprintf(cmd, (PS8)"SET_NETWORK %d identity \"%s\"", NetworkID,pWpaCore->WpaSupplParams.Identity);
  /external/chromium/net/socket_stream/
socket_stream.h 42 // authentication identity for proxy URL first. If server requires proxy
43 // authentication, it will try authentication identity for realm that server
279 HttpAuth::Identity auth_identity_;
socket_stream.cc 861 auth_identity_ = HttpAuth::Identity();
  /frameworks/base/services/java/com/android/server/am/
ActivityManagerService.java 721 private class Identity {
725 Identity(int _pid, int _uid) {
730 private static ThreadLocal<Identity> sCallerIdentity = new ThreadLocal<Identity>();
    [all...]
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 678 milliseconds