Searched refs:Identity (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScope2Test.java | 20 import java.security.Identity; 43 Hashtable<Identity, Identity> identities; 51 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 56 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 61 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 67 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 74 public Identity getIdentity(String name) { in getIdentity() 75 Enumeration<Identity> en = identities(); in getIdentity() 77 Identity current = (Identity) en.nextElement(); in getIdentity() 84 public Identity getIdentity(PublicKey pk) { in getIdentity() [all …]
|
D | Identity2Test.java | 24 import java.security.Identity; 121 public static class IdentitySubclass extends Identity { 155 assertTrue(is instanceof Identity); in test_ConstructorLjava_lang_String() 177 assertTrue(is instanceof Identity); in test_ConstructorLjava_lang_StringLjava_security_IdentityScope()
|
/libcore/ojluni/src/main/java/java/security/ |
D | IdentityScope.java | 67 class IdentityScope extends Identity { 183 public abstract Identity getIdentity(String name); in getIdentity() 196 public Identity getIdentity(Principal principal) { in getIdentity() 208 public abstract Identity getIdentity(PublicKey key); in getIdentity() 219 public abstract void addIdentity(Identity identity) in addIdentity() 230 public abstract void removeIdentity(Identity identity) in removeIdentity() 238 public abstract Enumeration<Identity> identities(); in identities()
|
D | Identity.java | 61 public abstract class Identity implements Principal, Serializable { class 104 protected Identity() { in Identity() method in Identity 117 public Identity(String name, IdentityScope scope) throws in Identity() method in Identity 131 public Identity(String name) { in Identity() method in Identity 345 if (identity instanceof Identity) { in equals() 346 Identity i = (Identity)identity; in equals() 369 protected boolean identityEquals(Identity identity) { in identityEquals()
|
D | Signer.java | 48 public abstract class Signer extends Identity {
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | IdentityScopeStub.java | 25 import java.security.Identity; 77 public Identity getIdentity(String name) { in getIdentity() 86 public Identity getIdentity(PublicKey key) { in getIdentity() 94 public void addIdentity(Identity identity) throws KeyManagementException { in addIdentity() 103 public void removeIdentity(Identity identity) throws KeyManagementException { in removeIdentity()
|
D | SystemScope.java | 25 import java.security.Identity; 82 public synchronized Identity getIdentity(String name) { in getIdentity() 86 return (Identity) names.get(name); in getIdentity() 92 public synchronized Identity getIdentity(PublicKey key) { in getIdentity() 96 return (Identity) keys.get(key); in getIdentity() 102 public synchronized void addIdentity(Identity identity) throws KeyManagementException { in addIdentity() 126 public synchronized void removeIdentity(Identity identity) in removeIdentity()
|
D | IdentityStub.java | 25 import java.security.Identity; 35 public class IdentityStub extends Identity { 81 public boolean identityEquals(Identity identity) { in identityEquals()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | IdentityTest.java | 25 import java.security.Identity; 72 Identity i2 = new IdentityStub("testEquals", IdentityScope.getSystemScope()); in testEquals() 74 Identity i3 = new IdentityStub("testEquals3"); in testEquals() 97 Identity i = new IdentityStub("iii"); in testIdentityString() 110 Identity i = new IdentityStub("iii2", s); in testIdentityStringIdentityScope() 123 Identity i = new IdentityStub("iii"); in testAddCertificate1() 142 Identity i = new IdentityStub("iii"); in testAddCertificate2() 193 Identity i = new IdentityStub("iii"); in testCertificates() 231 assertEquals(value[k+1], new Boolean(i.identityEquals((Identity)value[k]))); in testIdentityEquals() 234 Identity i2 = identityScope.getIdentity(name); in testIdentityEquals() [all …]
|
/libcore/ |
D | openjdk_java_files.mk | 482 ojluni/src/main/java/java/security/Identity.java \
|