Searched refs:Identity (Results 1 – 14 of 14) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScope2Test.java | 20 import java.security.Identity; 44 Hashtable<Identity, Identity> identities; 52 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 57 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 62 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 68 identities = new Hashtable<Identity, Identity>(); in IdentityScopeSubclass() 75 public Identity getIdentity(String name) { in getIdentity() 76 Enumeration<Identity> en = identities(); in getIdentity() 78 Identity current = (Identity) en.nextElement(); in getIdentity() 85 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 | 70 class IdentityScope extends Identity { 188 public abstract Identity getIdentity(String name); in getIdentity() 201 public Identity getIdentity(Principal principal) { in getIdentity() 213 public abstract Identity getIdentity(PublicKey key); in getIdentity() 224 public abstract void addIdentity(Identity identity) in addIdentity() 235 public abstract void removeIdentity(Identity identity) in removeIdentity() 243 public abstract Enumeration<Identity> identities(); in identities()
|
D | Identity.java | 63 public abstract class Identity implements Principal, Serializable { class 106 protected Identity() { in Identity() method in Identity 119 public Identity(String name, IdentityScope scope) throws in Identity() method in Identity 133 public Identity(String name) { in Identity() method in Identity 347 if (identity instanceof Identity) { in equals() 348 Identity i = (Identity)identity; in equals() 371 protected boolean identityEquals(Identity identity) { in identityEquals()
|
D | Signer.java | 50 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], Boolean.valueOf(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 | 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 | 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 | IdentityStub.java | 25 import java.security.Identity; 35 public class IdentityStub extends Identity { 81 public boolean identityEquals(Identity identity) { in identityEquals()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ClassValue.java | 266 static class Identity { class in ClassValue 274 final Identity identity = new Identity(); 424 static class ClassValueMap extends WeakHashMap<ClassValue.Identity, Entry<?>> {
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | Basic-X.java.template | 525 throw new RuntimeException("Identity 1"); 528 throw new RuntimeException("Identity 2");
|
/libcore/api/ |
D | current.txt | 8040 …@Deprecated public abstract class Identity implements java.security.Principal java.io.Serializable… 8041 ctor @Deprecated protected Identity(); 8042 …ctor @Deprecated public Identity(String, java.security.IdentityScope) throws java.security.KeyMana… 8043 ctor @Deprecated public Identity(String); 8052 method @Deprecated protected boolean identityEquals(java.security.Identity); 8060 @Deprecated public abstract class IdentityScope extends java.security.Identity { 8064 …method @Deprecated public abstract void addIdentity(java.security.Identity) throws java.security.K… 8065 method @Deprecated public abstract java.security.Identity getIdentity(String); 8066 method @Deprecated public java.security.Identity getIdentity(java.security.Principal); 8067 method @Deprecated public abstract java.security.Identity getIdentity(java.security.PublicKey); [all …]
|
/libcore/ |
D | openjdk_java_files.bp | 630 "ojluni/src/main/java/java/security/Identity.java",
|
D | EXPECTED_UPSTREAM | 558 …luni/src/main/java/java/security/Identity.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes/j…
|