Searched refs:Identity (Results 1 – 11 of 11) 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() 339 Identity sub = new IdentitySubclass("test", null); in test_toString() 350 Identity sub = new IdentitySubclass("test", null); in test_toStringZ()
|
/libcore/ojluni/src/main/java/java/security/ |
D | IdentityScope.java | 67 class IdentityScope extends Identity { 185 public abstract Identity getIdentity(String name); in getIdentity() 198 public Identity getIdentity(Principal principal) { in getIdentity() 210 public abstract Identity getIdentity(PublicKey key); in getIdentity() 221 public abstract void addIdentity(Identity identity) in addIdentity() 232 public abstract void removeIdentity(Identity identity) in removeIdentity() 240 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/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/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/api/ |
D | current.txt | 7349 …@Deprecated public abstract class Identity implements java.security.Principal java.io.Serializable… 7350 ctor @Deprecated protected Identity(); 7351 …ctor @Deprecated public Identity(String, java.security.IdentityScope) throws java.security.KeyMana… 7352 ctor @Deprecated public Identity(String); 7360 method @Deprecated protected boolean identityEquals(java.security.Identity); 7367 @Deprecated public abstract class IdentityScope extends java.security.Identity { 7371 …method @Deprecated public abstract void addIdentity(java.security.Identity) throws java.security.K… 7372 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); [all …]
|
/libcore/ |
D | openjdk_java_files.bp | 609 "ojluni/src/main/java/java/security/Identity.java",
|