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

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/
H A DWrapper.java16 public byte[] unwrap(byte[] in, int inOff, int inLen) method in interface:Wrapper
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLEngine.java80 * called by {@code wrap} or {@code unwrap} if the initial handshake has not
327 public abstract SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length) 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);
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
H A DSSLEngineTest.java552 * @tests javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
559 method = "unwrap",
569 clientEngine.engine.unwrap(bbs, new ByteBuffer[] { bbd }, 0, 1);
577 * @tests javax.net.ssl.SSLEngine#unwrap(ByteBuffer src, ByteBuffer[] dsts,
584 method = "unwrap",
598 sse.unwrap(bb, bbA, -1, 3);
604 sse.unwrap(bb, bbA, 0, -3);
610 sse.unwrap(bb, bbA, bbA.length + 1, bbA.length);
616 sse.unwrap(bb, bbA, 0, bbA.length + 1);
624 * @tests javax.net.ssl.SSLEngine#unwrap(ByteBuffe
[all...]
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DCipherWrapThread.java42 Key decrypted = cip.unwrap(output, getAlgName(), Cipher.SECRET_KEY);
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java138 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:MySSLContextSpi.tmpSSLEngine
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java136 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:MySSLContextSpi.tmpSSLEngine
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLRecordProtocol.java332 protected int unwrap() throws IOException { method in class:SSLRecordProtocol
334 logger.println("SSLRecordProtocol.unwrap: BEGIN [");
351 "SSLRecordProtocol:unwrap ] END, SSLv2 type");
413 handshakeProtocol.unwrap(fragment);
418 "TLSCiphertext.unwrap: APP DATA["+length+"]:");
430 logger.println("SSLRecordProtocol:unwrap ] END, type: " + type);
H A DSSLEngineImpl.java418 * @see javax.net.ssl.SSLEngine#unwrap(ByteBuffer,ByteBuffer[],int,int)
422 public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, method in class:SSLEngineImpl
475 // unwrap the record contained in source buffer, pass it
478 int type = recordProtocol.unwrap();
H A DHandshakeProtocol.java259 public abstract void unwrap(byte[] bytes); method in class:HandshakeProtocol
H A DClientHandshakeImpl.java144 public void unwrap(byte[] bytes) { method in class:ClientHandshakeImpl
H A DServerHandshakeImpl.java101 public void unwrap(byte[] bytes) { method in class:ServerHandshakeImpl
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
H A DAESWrapEngine.java105 public byte[] unwrap( method in class:AESWrapEngine
120 throw new InvalidCipherTextException("unwrap data must be a multiple of 8 bytes");
H A DDESedeWrapEngine.java200 * Method unwrap
208 public byte[] unwrap(byte[] in, int inOff, int inLen) method in class:DESedeWrapEngine
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DWrapCipherSpi.java312 encoded = wrapEngine.unwrap(wrappedKey, 0, wrappedKey.length);
H A DJDKPKCS12KeyStore.java578 out = (PrivateKey)cipher.unwrap(data, "", Cipher.PRIVATE_KEY);
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
H A DCipherTest.java1186 method = "unwrap",
1212 c.unwrap(arDES, "DES", Cipher.SECRET_KEY);
1219 assertTrue(cipherKeyDES.equals(c.unwrap(arDES, "DES", Cipher.SECRET_KEY)));
1220 assertFalse(cipherKeyDES.equals(c.unwrap(ar, "DES", Cipher.SECRET_KEY)));
1223 c.unwrap(arDES, "RSA38", Cipher.PUBLIC_KEY);
1232 c.unwrap(arDES, "DESede", Cipher.SECRET_KEY);
/dalvik/libcore/crypto/src/main/java/javax/crypto/
H A DCipher.java1311 * the wrapped key to unwrap.
1328 public final Key unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, method in class:Cipher

Completed in 291 milliseconds