SSLEngine.wrap() | Java

 

Descripción

Sintaxis

public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst) throws SSLException
public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst) throws SSLException
public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst) throws SSLException

Parámetros

  • ByteBuffer src,
  • int length,
  • ByteBuffer dst,
  • int offset,
  • ByteBuffer[] srcs,

Excepciones

IllegalArgumentException, SSLException, IndexOutOfBoundsException, IllegalStateException, ReadOnlyBufferException

Clase Padre

SSLEngine

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.