Home
last modified time | relevance | path

Searched refs:identity (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/org/apache/harmony/security/
DSystemScope.java100 public synchronized void addIdentity(Identity identity) throws KeyManagementException { in addIdentity() argument
101 if (identity == null) { in addIdentity()
105 String name = identity.getName(); in addIdentity()
110 PublicKey key = identity.getPublicKey(); in addIdentity()
115 names.put(name, identity); in addIdentity()
117 keys.put(key, identity); in addIdentity()
124 public synchronized void removeIdentity(Identity identity) in removeIdentity() argument
128 if (identity == null) { in removeIdentity()
132 String name = identity.getName(); in removeIdentity()
140 PublicKey key = identity.getPublicKey(); in removeIdentity()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DIdentityStub.java81 public boolean identityEquals(Identity identity) { in identityEquals() argument
82 return super.identityEquals(identity); in identityEquals()
DIdentityScopeStub.java94 public void addIdentity(Identity identity) throws KeyManagementException { in addIdentity() argument
103 public void removeIdentity(Identity identity) throws KeyManagementException { in removeIdentity() argument
/libcore/luni/src/main/java/java/security/
DIdentity.java181 protected boolean identityEquals(Identity identity) { in identityEquals() argument
182 if (!name.equals(identity.name)) { in identityEquals()
187 return (identity.publicKey == null); in identityEquals()
190 return checkKeysEqual(publicKey, identity.publicKey); in identityEquals()
DIdentityScope.java158 public abstract void addIdentity(Identity identity) in addIdentity() argument
169 public abstract void removeIdentity(Identity identity) in removeIdentity() argument
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DPSKKeyManagerProxy.java47 protected SecretKey getKey(String identityHint, String identity, Socket socket) { in getKey() argument
52 protected SecretKey getKey(String identityHint, String identity, SSLEngine engine) { in getKey() argument
DSSLEngineTest.java121 protected SecretKey getKey(String identityHint, String identity, SSLEngine engine) { in test_SSLEngine_getSupportedCipherSuites_connect()
DSSLSocketTest.java109 protected SecretKey getKey(String identityHint, String identity, Socket socket) { in test_SSLSocket_getSupportedCipherSuites_connect()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...