Additional top-level classes in compilation unit: SaslClientWrapper, SaslServerWrapper.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static SaslWrapper | Returns: the wrapperthe SASL client saslClient)Create a SASL wrapper for a SASL client. |
| public static SaslWrapper | Returns: the wrapperthe SASL server saslServer)Create a SASL wrapper for a SASL server. |
| public abstract byte[] | Returns: the unwrap resultthe incoming message bytes, int the offset into the byte array off, int the length of the byte array to wrap len)Unwrap a message. |
| public final byte[] | |
| public abstract byte[] | Returns: the unwrap resultthe buffer from which bytes should be read source)Unwrap a message. |
| public final void | unwrap(ByteBuffer
the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Unwrap a message. |
| public abstract byte[] | Returns: the wrap resultthe incoming message bytes, int the offset into the byte array off, int the length of the byte array to wrap len)Wrap a message. |
| public final byte[] | |
| public abstract byte[] | Returns: the wrap resultthe buffer from which bytes should be read source)Wrap a message. |
| public final void | wrap(ByteBuffer
the buffer into which bytes should be written destination, ByteBuffer the buffers from which bytes should be read source)Wrap a message. |
| SaslWrapper | back to summary |
|---|---|
| public SaslWrapper() | |
| create | back to summary |
|---|---|
| public static SaslWrapper create(SaslClient saslClient) Create a SASL wrapper for a SASL client.
| |
| create | back to summary |
|---|---|
| public static SaslWrapper create(SaslServer saslServer) Create a SASL wrapper for a SASL server.
| |
| unwrap | back to summary |
|---|---|
| public abstract byte[] unwrap(byte[] bytes, int off, int len) throws SaslException Unwrap a message.
| |
| unwrap | back to summary |
|---|---|
| public final byte[] unwrap(byte[] bytes) throws SaslException Unwrap a message.
| |
| unwrap | back to summary |
|---|---|
| public abstract byte[] unwrap(ByteBuffer source) throws SaslException Unwrap a message.
| |
| unwrap | back to summary |
|---|---|
| public final void unwrap(ByteBuffer destination, ByteBuffer source) throws SaslException Unwrap a message. Unwrapping occurs from the source buffer to the destination idea.
The
| |
| wrap | back to summary |
|---|---|
| public abstract byte[] wrap(byte[] bytes, int off, int len) throws SaslException Wrap a message.
| |
| wrap | back to summary |
|---|---|
| public final byte[] wrap(byte[] bytes) throws SaslException Wrap a message.
| |
| wrap | back to summary |
|---|---|
| public abstract byte[] wrap(ByteBuffer source) throws SaslException Wrap a message.
| |
| wrap | back to summary |
|---|---|
| public final void wrap(ByteBuffer destination, ByteBuffer source) throws SaslException Wrap a message. Wrapping occurs from the source buffer to the destination idea.
The
| |