Searched refs:IdentityScope (Results 1 - 13 of 13) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
H A DIdentityScope.java38 * <p>An IdentityScope can contain Identity objects of all kinds, including
67 class IdentityScope extends Identity { class in inherits:Identity
72 private static IdentityScope scope;
90 scope = (IdentityScope) Class.forName(classname).newInstance();
103 protected IdentityScope() { method in class:IdentityScope
112 public IdentityScope(String name) { method in class:IdentityScope
125 public IdentityScope(String name, IdentityScope scope) method in class:IdentityScope
138 public static IdentityScope getSystemScope() {
163 protected static void setSystemScope(IdentityScope scop
[all...]
H A DIdentity.java50 * @see IdentityScope
92 IdentityScope scope;
117 public Identity(String name, IdentityScope scope) throws
149 public final IdentityScope getScope() {
H A DSigner.java87 public Signer(String name, IdentityScope scope)
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DIdentityScopeTest.java25 import java.security.IdentityScope;
36 * Tests for <code>IdentityScope</code>
49 IdentityScope is;
59 * test default constructor void IdentityScope()
66 * check that void IdentityScope(String) creates instance with given name
75 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope
78 IdentityScope scope = new IdentityScopeStub("my scope");
86 * just call IdentityScope.getSystemScope()
92 IdentityScope scop
[all...]
H A DIdentityScope2Test.java21 import java.security.IdentityScope;
41 public static class IdentityScopeSubclass extends IdentityScope {
64 public IdentityScopeSubclass(String name, IdentityScope scope)
117 * java.security.IdentityScope#IdentityScope()
124 * java.security.IdentityScope#IdentityScope(java.lang.String)
134 assertTrue(iss instanceof IdentityScope);
142 * java.security.IdentityScope#IdentityScope(jav
[all...]
H A DSignerTest.java25 import java.security.IdentityScope;
100 * verify Signer(String, IdentityScope) creates instance
103 IdentityScope identityScope = new SystemScope();
112 // exception, provided that the underlying IdentityScope does (that is, check that
H A DIdentity2Test.java25 import java.security.IdentityScope;
132 public IdentitySubclass(String name, IdentityScope scope)
165 * java.security.IdentityScope)
203 IdentityScope scope = new IdentityScopeSubclass();
205 IdentityScope returnedScope = sub.getScope();
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSignerStub.java25 import java.security.IdentityScope;
59 public SignerStub(String name, IdentityScope scope)
H A DIdentityScopeStub.java26 import java.security.IdentityScope;
32 * This is stub implementation of IdentityScope for testing purposes
35 public class IdentityScopeStub extends IdentityScope {
59 public IdentityScopeStub(String name, IdentityScope scope)
66 * @see java.security.IdentityScope#size()
75 * @see java.security.IdentityScope#getIdentity(java.lang.String)
84 * @see java.security.IdentityScope#getIdentity(java.security.PublicKey)
92 * @see java.security.IdentityScope#addIdentity(java.security.Identity)
101 * @see java.security.IdentityScope#removeIdentity(java.security.Identity)
110 * @see java.security.IdentityScope#identitie
[all...]
H A DIdentityStub.java26 import java.security.IdentityScope;
63 public IdentityStub(String name, IdentityScope scope)
H A DSystemScope.java26 import java.security.IdentityScope;
35 * @see java.security.IdentityScope
38 public class SystemScope extends IdentityScope {
52 * @see java.security.IdentityScope#IdentityScope()
58 * @see java.security.IdentityScope#IdentityScope(String)
65 * @see java.security.IdentityScope#IdentityScope(String, IdentityScope)
[all...]
/libcore/luni/src/test/java/tests/java/security/
H A DIdentityTest.java26 import java.security.IdentityScope;
72 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope());
106 * verify Identity(String, IdentityScope) creates instance with given name and in give scope
109 IdentityScope s = new SystemScope();
216 IdentityScope identityScope = new SystemScope();
243 IdentityScope identityScope = new SystemScope();
256 IdentityScope s = IdentityScope.getSystemScope();
268 Identity i2 = new IdentityStub("testSetPublicKey2_2", IdentityScope.getSystemScope());
284 // Identity i1 = new IdentityStub("testSetPublicKey3_1", IdentityScope
[all...]
/libcore/
H A Dopenjdk_java_files.mk483 ojluni/src/main/java/java/security/IdentityScope.java \

Completed in 212 milliseconds