Searched refs:getIdentity (Results 1 – 6 of 6) sorted by relevance
120 public abstract Identity getIdentity(String name); in getIdentity() method in IdentityScope133 public Identity getIdentity(Principal principal) { in getIdentity() method in IdentityScope134 return getIdentity(principal.getName()); in getIdentity()147 public abstract Identity getIdentity(PublicKey key); in getIdentity() method in IdentityScope
239 Identity i = scope.getIdentity(key); in setPublicKey()
74 public Identity getIdentity(String name) { in getIdentity() method in IdentityScope2Test.IdentityScopeSubclass84 public Identity getIdentity(PublicKey pk) { in getIdentity() method in IdentityScope2Test.IdentityScopeSubclass102 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 …]
77 public Identity getIdentity(String name) { in getIdentity() method in IdentityScopeStub86 public Identity getIdentity(PublicKey key) { in getIdentity() method in IdentityScopeStub
80 public synchronized Identity getIdentity(String name) { in getIdentity() method in SystemScope90 public synchronized Identity getIdentity(PublicKey key) { in getIdentity() method in SystemScope
113 assertSame(i, s.getIdentity(i.getName())); in testIdentityStringIdentityScope()232 Identity i2 = IdentityScope.getSystemScope().getIdentity(name); in testIdentityEquals()