Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/security/
DIdentity.java41 private IdentityScope scope; field in Identity
73 public Identity(String name, IdentityScope scope) in Identity() argument
76 if (scope != null) { in Identity()
77 scope.addIdentity(this); in Identity()
78 this.scope = scope; in Identity()
221 return scope; in getScope()
238 if ((scope != null) && (key != null)) { in setPublicKey()
239 Identity i = scope.getIdentity(key); in setPublicKey()
303 if (Objects.equal(name, i.name) && (Objects.equal(scope, i.scope))) { in equals()
333 if (scope != null) { in hashCode()
[all …]
DIdentityScope.java65 public IdentityScope(String name, IdentityScope scope) in IdentityScope() argument
67 super(name, scope); in IdentityScope()
100 protected static void setSystemScope(IdentityScope scope) { in setSystemScope() argument
101 systemScope = scope; in setSystemScope()
DSigner.java62 public Signer(String name, IdentityScope scope) throws KeyManagementException { in Signer() argument
63 super(name, scope); in Signer()
Dsecurity.properties59 # system.scope is used to specify implementation class of IdentityScope
60 system.scope=org.apache.harmony.security.SystemScope
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java78 IdentityScope scope = new IdentityScopeStub("my scope"); in testIdentityScopeStringIdentityScope() local
79 is = new IdentityScopeStub("Aleksei Semenov", scope); in testIdentityScopeStringIdentityScope()
82 assertEquals(scope.getName(), is.getScope().getName()); in testIdentityScopeStringIdentityScope()
91 IdentityScope scope = IdentityScope.getSystemScope(); in testGetSystemScope() local
92 assertNotNull(scope); in testGetSystemScope()
93 assertEquals(name, scope.getClass().getName()); in testGetSystemScope()
DIdentity2Test.java133 public IdentitySubclass(String name, IdentityScope scope) in IdentitySubclass() argument
135 super(name, scope); in IdentitySubclass()
204 IdentityScope scope = new IdentityScopeSubclass(); in test_getScope() local
205 IdentitySubclass sub = new IdentitySubclass("test", scope); in test_getScope()
207 assertEquals("Wrong Scope returned", scope, returnedScope); in test_getScope()
DIdentityScope2Test.java64 public IdentityScopeSubclass(String name, IdentityScope scope) in IdentityScopeSubclass() argument
66 super(name, scope); in IdentityScopeSubclass()
319 IdentityScope scope = IdentityScope.getSystemScope(); in test_getIdentity() local
321 scope.getIdentity((String) null); in test_getIdentity()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityScopeStub.java59 public IdentityScopeStub(String name, IdentityScope scope) in IdentityScopeStub() argument
61 super(name, scope); in IdentityScopeStub()
120 public static void mySetSystemScope(IdentityScope scope) { in mySetSystemScope() argument
122 IdentityScope.setSystemScope(scope); in mySetSystemScope()
DSignerStub.java59 public SignerStub(String name, IdentityScope scope) in SignerStub() argument
61 super(name, scope); in SignerStub()
DIdentityStub.java63 public IdentityStub(String name, IdentityScope scope) in IdentityStub() argument
65 super(name, scope); in IdentityStub()
/libcore/luni/src/main/java/org/apache/harmony/security/
DSystemScope.java65 public SystemScope(String name, IdentityScope scope) in SystemScope() argument
67 super(name, scope); in SystemScope()
/libcore/luni/src/main/java/java/sql/
DDatabaseMetaData.java585 String table, int scope, boolean nullable) throws SQLException; in getBestRowIdentifier() argument