Home
last modified time | relevance | path

Searched refs:getIdentity (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java74 public Identity getIdentity(String name) { in getIdentity() method in IdentityScope2Test.IdentityScopeSubclass
84 public Identity getIdentity(PublicKey pk) { in getIdentity() method in IdentityScope2Test.IdentityScopeSubclass
102 if (getIdentity(id.getPublicKey()) != null) in addIdentity()
239 sub.getIdentity((java.security.Principal) null); in test_getIdentityLjava_security_Principal()
245 Identity returnedId = sub.getIdentity(id); in test_getIdentityLjava_security_Principal()
251 assertNull("Test 3: Null value expected.", sub.getIdentity(id2)); in test_getIdentityLjava_security_Principal()
254 sub.getIdentity((java.security.Principal) null); in test_getIdentityLjava_security_Principal()
270 Identity returnedId = sub.getIdentity(getPubKey()); in test_getIdentityLjava_security_PublicKey()
273 assertNull("Test 2: Null value expected.", sub.getIdentity((PublicKey) null)); in test_getIdentityLjava_security_PublicKey()
276 assertNull("Test 3: Null value expected.", sub.getIdentity(anotherKey)); in test_getIdentityLjava_security_PublicKey()
[all …]
/libcore/ojluni/src/main/java/java/security/
DIdentityScope.java185 public abstract Identity getIdentity(String name); in getIdentity() method in IdentityScope
198 public Identity getIdentity(Principal principal) { in getIdentity() method in IdentityScope
199 return getIdentity(principal.getName()); in getIdentity()
210 public abstract Identity getIdentity(PublicKey key); in getIdentity() method in IdentityScope
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityScopeStub.java77 public Identity getIdentity(String name) { in getIdentity() method in IdentityScopeStub
86 public Identity getIdentity(PublicKey key) { in getIdentity() method in IdentityScopeStub
DSystemScope.java82 public synchronized Identity getIdentity(String name) { in getIdentity() method in SystemScope
92 public synchronized Identity getIdentity(PublicKey key) { in getIdentity() method in SystemScope
/libcore/luni/src/test/java/tests/java/security/
DIdentityTest.java114 assertSame(i, s.getIdentity(i.getName())); in testIdentityStringIdentityScope()
234 Identity i2 = identityScope.getIdentity(name); in testIdentityEquals()
/libcore/api/
Dcurrent.txt7372 method @Deprecated public abstract java.security.Identity getIdentity(String);
7373 method @Deprecated public java.security.Identity getIdentity(java.security.Principal);
7374 method @Deprecated public abstract java.security.Identity getIdentity(java.security.PublicKey);