/libcore/support/src/test/java/libcore/javax/net/ssl/ |
H A D | TestKeyManager.java | 43 public static KeyManager[] wrap(KeyManager[] keyManagers) { method in class:TestKeyManager 46 result[i] = wrap(result[i]); 51 public static KeyManager wrap(KeyManager keyManager) { method in class:TestKeyManager
|
H A D | TestTrustManager.java | 39 public static TrustManager[] wrap(TrustManager[] trustManagers) { method in class:TestTrustManager 42 result[i] = wrap(result[i]); 47 public static TrustManager wrap(TrustManager trustManager) { method in class:TestTrustManager
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | MySSLContextSpi.java | 152 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, method in class:MySSLContextSpi.tmpSSLEngine
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
H A D | MySSLContextSpi.java | 150 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, method in class:MySSLContextSpi.tmpSSLEngine
|
/libcore/luni/src/main/java/java/nio/ |
H A D | ByteBuffer.java | 32 * <li>{@link #wrap(byte[]) Wrap} an existing byte array to create a new 75 * {@code wrap(array, 0, array.length)}. 81 public static ByteBuffer wrap(byte[] array) { method in class:ByteBuffer 103 public static ByteBuffer wrap(byte[] array, int start, int byteCount) { method in class:ByteBuffer
|
H A D | CharBuffer.java | 30 * <li>{@link #wrap(char[]) Wrap} an existing char array to create a new 32 * <li>{@link #wrap(CharSequence) Wrap} an existing char sequence to create a 61 * {@code wrap(array, 0, array.length)}. 67 public static CharBuffer wrap(char[] array) { method in class:CharBuffer 68 return wrap(array, 0, array.length); 89 public static CharBuffer wrap(char[] array, int start, int charCount) { method in class:CharBuffer 101 * {@code wrap(chseq, 0, chseq.length())}. 107 public static CharBuffer wrap(CharSequence chseq) { method in class:CharBuffer 130 public static CharBuffer wrap(CharSequence cs, int start, int end) { method in class:CharBuffer
|
H A D | DoubleBuffer.java | 29 * <li>{@link #wrap(double[]) Wrap} an existing double array to create a new 59 * {@code wrap(array, 0, array.length)}. 65 public static DoubleBuffer wrap(double[] array) { method in class:DoubleBuffer 66 return wrap(array, 0, array.length); 87 public static DoubleBuffer wrap(double[] array, int start, int doubleCount) { method in class:DoubleBuffer
|
H A D | FloatBuffer.java | 29 * <li>{@link #wrap(float[]) Wrap} an existing float array to create a new 58 * {@code wrap(array, 0, array.length)}. 64 public static FloatBuffer wrap(float[] array) { method in class:FloatBuffer 65 return wrap(array, 0, array.length); 88 public static FloatBuffer wrap(float[] array, int start, int floatCount) { method in class:FloatBuffer
|
H A D | IntBuffer.java | 29 * <li>{@link #wrap(int[]) Wrap} an existing int array to create a new buffer;</li> 56 * {@code wrap(array, 0, array.length)}. 62 public static IntBuffer wrap(int[] array) { method in class:IntBuffer 63 return wrap(array, 0, array.length); 84 public static IntBuffer wrap(int[] array, int start, int intCount) { method in class:IntBuffer
|
H A D | LongBuffer.java | 29 * <li>{@link #wrap(long[]) Wrap} an existing long array to create a new 58 * {@code wrap(array, 0, array.length)}. 64 public static LongBuffer wrap(long[] array) { method in class:LongBuffer 65 return wrap(array, 0, array.length); 86 public static LongBuffer wrap(long[] array, int start, int longCount) { method in class:LongBuffer
|
H A D | ShortBuffer.java | 29 * <li>{@link #wrap(short[]) Wrap} an existing short array to create a new 58 * {@code wrap(array, 0, array.length)}. 64 public static ShortBuffer wrap(short[] array) { method in class:ShortBuffer 65 return wrap(array, 0, array.length); 86 public static ShortBuffer wrap(short[] array, int start, int shortCount) { method in class:ShortBuffer
|
/libcore/luni/src/main/java/javax/crypto/ |
H A D | Cipher.java | 1271 * the key to wrap. 1277 * if this cipher instance can not wrap this key. 1281 public final byte[] wrap(Key key) throws IllegalBlockSizeException, method in class:Cipher
|
/libcore/luni/src/main/java/javax/net/ssl/ |
H A D | SSLEngine.java | 78 * called by {@code wrap} or {@code unwrap} if the initial handshake has not 359 public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst) method in class:SSLEngine 434 public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst) throws SSLException { method in class:SSLEngine 438 return wrap(srcs, 0, srcs.length, dst); 461 public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException { method in class:SSLEngine 462 return wrap(new ByteBuffer[] { src }, 0, 1, dst);
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
H A D | AlertProtocol.java | 132 // record protocol to be used to wrap the alerts 267 protected byte[] wrap() { method in class:AlertProtocol 268 byte[] res = recordProtocol.wrap(ContentType.ALERT, alert, 0, 2);
|
H A D | HandshakeProtocol.java | 266 public byte[] wrap() { method in class:HandshakeProtocol 275 return recordProtocol.wrap(ContentType.HANDSHAKE, io_stream); 282 return recordProtocol.wrap(ContentType.HANDSHAKE,
|
H A D | SSLEngineImpl.java | 543 // to another peer (by wrap method) 552 // to another peer (by wrap method) 569 * @see javax.net.ssl.SSLEngine#wrap(ByteBuffer[],int,int,ByteBuffer) method 573 public SSLEngineResult wrap(ByteBuffer[] srcs, int offset, method in class:SSLEngineImpl 613 byte[] alert_data = alertProtocol.wrap(); 673 recordProtocol.wrap(ContentType.APPLICATION_DATA, 694 remaining_hsh_data = handshakeProtocol.wrap(); 727 // to another peer (by wrap method)
|
H A D | SSLRecordProtocol.java | 183 protected byte[] wrap(byte content_type, DataStream dataStream) { method in class:SSLRecordProtocol 185 return wrap(content_type, fragment, 0, fragment.length); 195 protected byte[] wrap(byte content_type, method in class:SSLRecordProtocol 198 logger.println("SSLRecordProtocol.wrap: TLSPlaintext.fragment[" 220 logger.println("SSLRecordProtocol.wrap: TLSCiphertext.fragment["
|