Home
last modified time | relevance | path

Searched refs:IdentityScope (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DIdentityScope.java67 class IdentityScope extends Identity { class
72 private static IdentityScope scope;
92 scope = (IdentityScope) Class.forName(classname).newInstance(); in initializeSystemScope()
105 protected IdentityScope() { in IdentityScope() method in IdentityScope
114 public IdentityScope(String name) { in IdentityScope() method in IdentityScope
127 public IdentityScope(String name, IdentityScope scope) in IdentityScope() method in IdentityScope
140 public static IdentityScope getSystemScope() { in getSystemScope()
165 protected static void setSystemScope(IdentityScope scope) { in setSystemScope()
167 IdentityScope.scope = scope; in setSystemScope()
DIdentity.java92 IdentityScope scope;
117 public Identity(String name, IdentityScope scope) throws in Identity()
149 public final IdentityScope getScope() { in getScope()
DSigner.java87 public Signer(String name, IdentityScope scope) in Signer()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScopeTest.java25 import java.security.IdentityScope;
49 IdentityScope is;
78 IdentityScope scope = new IdentityScopeStub("my scope"); in testIdentityScopeStringIdentityScope()
92 IdentityScope scope = IdentityScope.getSystemScope(); in testGetSystemScope()
103 IdentityScope systemScope = IdentityScope.getSystemScope(); in testSetSystemScope()
109 assertSame(is, IdentityScope.getSystemScope()); in testSetSystemScope()
DIdentityScope2Test.java21 import java.security.IdentityScope;
41 public static class IdentityScopeSubclass extends IdentityScope {
64 public IdentityScopeSubclass(String name, IdentityScope scope) in IdentityScopeSubclass()
134 assertTrue(iss instanceof IdentityScope); in test_ConstructorLjava_lang_String()
148 IdentityScope is; in test_ConstructorLjava_lang_StringLjava_security_IdentityScope()
149 IdentityScope iss = new IdentityScopeSubclass("test scope"); in test_ConstructorLjava_lang_StringLjava_security_IdentityScope()
155 assertTrue(is instanceof IdentityScope); in test_ConstructorLjava_lang_StringLjava_security_IdentityScope()
319 IdentityScope scope = IdentityScope.getSystemScope(); in test_getIdentity()
DIdentity2Test.java25 import java.security.IdentityScope;
132 public IdentitySubclass(String name, IdentityScope scope) in IdentitySubclass()
203 IdentityScope scope = new IdentityScopeSubclass(); in test_getScope()
205 IdentityScope returnedScope = sub.getScope(); in test_getScope()
DSignerTest.java25 import java.security.IdentityScope;
103 IdentityScope identityScope = new SystemScope(); in testSignerStringIdentityScope()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityScopeStub.java26 import java.security.IdentityScope;
35 public class IdentityScopeStub extends IdentityScope {
59 public IdentityScopeStub(String name, IdentityScope scope) in IdentityScopeStub()
120 public static void mySetSystemScope(IdentityScope scope) { in mySetSystemScope()
122 IdentityScope.setSystemScope(scope); in mySetSystemScope()
DSignerStub.java25 import java.security.IdentityScope;
59 public SignerStub(String name, IdentityScope scope) in SignerStub()
DSystemScope.java26 import java.security.IdentityScope;
38 public class SystemScope extends IdentityScope {
67 public SystemScope(String name, IdentityScope scope) in SystemScope()
DIdentityStub.java26 import java.security.IdentityScope;
63 public IdentityStub(String name, IdentityScope scope) in IdentityStub()
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java26 import java.security.IdentityScope;
72 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope()); in testEquals()
109 IdentityScope s = new SystemScope(); in testIdentityStringIdentityScope()
216 IdentityScope identityScope = new SystemScope(); in testIdentityEquals()
243 IdentityScope identityScope = new SystemScope(); in testToStringboolean()
256 IdentityScope s = IdentityScope.getSystemScope(); in testGetScope()
268 Identity i2 = new IdentityStub("testSetPublicKey2_2", IdentityScope.getSystemScope()); in testSetPublicKey2()
/libcore/api/
Dcurrent.txt7351 …ctor @Deprecated public Identity(String, java.security.IdentityScope) throws java.security.KeyMana…
7359 method @Deprecated public final java.security.IdentityScope getScope();
7367 @Deprecated public abstract class IdentityScope extends java.security.Identity {
7368 ctor @Deprecated protected IdentityScope();
7369 ctor @Deprecated public IdentityScope(String);
7370 …ctor @Deprecated public IdentityScope(String, java.security.IdentityScope) throws java.security.Ke…
7375 method @Deprecated public static java.security.IdentityScope getSystemScope();
7378 method @Deprecated protected static void setSystemScope(java.security.IdentityScope);
7910 …ctor @Deprecated public Signer(String, java.security.IdentityScope) throws java.security.KeyManage…
/libcore/
Dopenjdk_java_files.bp610 "ojluni/src/main/java/java/security/IdentityScope.java",