Searched refs:unwrap (Results 1 - 15 of 15) sorted by relevance

/libcore/luni/src/main/java/java/sql/
H A DWrapper.java39 <T> T unwrap(Class<T> iface) throws SQLException; method in interface:Wrapper
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLEngine.java78 * called by {@code wrap} or {@code unwrap} if the initial handshake has not
325 public abstract SSLEngineResult unwrap(ByteBuffer src, method in class:SSLEngine
382 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst) throws SSLException { method in class:SSLEngine
383 return unwrap(src, new ByteBuffer[] { dst }, 0, 1);
407 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts) throws SSLException { method in class:SSLEngine
411 return unwrap(src, dsts, 0, dsts.length);
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLEngineTest.java384 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
395 clientEngine.engine.unwrap(bbs, new ByteBuffer[] { bbd }, 0, 1);
403 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
418 sse.unwrap(bb, bbA, -1, 3);
424 sse.unwrap(bb, bbA, 0, -3);
430 sse.unwrap(bb, bbA, bbA.length + 1, bbA.length);
436 sse.unwrap(bb, bbA, 0, bbA.length + 1);
444 * javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
460 sse.unwrap(bb, bbA, 0, bbA.length);
470 * javax.net.ssl.SSLEngine#unwrap(ByteBuffe
[all...]
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherWrapThread.java42 Key decrypted = cip.unwrap(output, getAlgName(), Cipher.SECRET_KEY);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java148 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:MySSLContextSpi.tmpSSLEngine
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java146 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:MySSLContextSpi.tmpSSLEngine
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLRecordProtocol.java327 protected int unwrap() throws IOException { method in class:SSLRecordProtocol
329 logger.println("SSLRecordProtocol.unwrap: BEGIN [");
346 "SSLRecordProtocol:unwrap ] END, SSLv2 type");
408 handshakeProtocol.unwrap(fragment);
413 "TLSCiphertext.unwrap: APP DATA["+length+"]:");
425 logger.println("SSLRecordProtocol:unwrap ] END, type: " + type);
H A DSSLEngineImpl.java404 * @see javax.net.ssl.SSLEngine#unwrap(ByteBuffer,ByteBuffer[],int,int)
408 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:SSLEngineImpl
461 // unwrap the record contained in source buffer, pass it
464 int type = recordProtocol.unwrap();
H A DSSLSocketImpl.java574 // read and unwrap the record contained in the transport
578 switch (type = recordProtocol.unwrap()) {
607 // warning alert occurred during wrap or unwrap
674 * message from another peer. Each of this stages (wrap/unwrap) change
701 // read and unwrap the record contained in the transport
705 switch (type = recordProtocol.unwrap()) {
737 // warning alert occurred during wrap or unwrap
H A DHandshakeProtocol.java254 public abstract void unwrap(byte[] bytes); method in class:HandshakeProtocol
H A DClientHandshakeImpl.java146 public void unwrap(byte[] bytes) { method in class:ClientHandshakeImpl
H A DServerHandshakeImpl.java95 public void unwrap(byte[] bytes) { method in class:ServerHandshakeImpl
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLEnginePair.java146 SSLEngineResult unwrapResult = engine.unwrap(input, scratch);
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherTest.java842 c.unwrap(arDES, "DES", Cipher.SECRET_KEY);
848 assertTrue(cipherKeyDES.equals(c.unwrap(arDES, "DES", Cipher.SECRET_KEY)));
849 assertFalse(cipherKeyDES.equals(c.unwrap(ar, "DES", Cipher.SECRET_KEY)));
852 c.unwrap(arDES, "RSA38", Cipher.PUBLIC_KEY);
860 c.unwrap(arDES, "DESede", Cipher.SECRET_KEY);
/libcore/luni/src/main/java/javax/crypto/
H A DCipher.java1292 * the wrapped key to unwrap.
1309 public final Key unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, method in class:Cipher

Completed in 155 milliseconds