Package org.wildfly.security.sasl.util
Interface SaslWrapper
- 
- All Known Implementing Classes:
 AbstractDelegatingSaslClient,AbstractDelegatingSaslServer,AbstractSaslClient,AbstractSaslParticipant,AbstractSaslServer,AuthenticationContextSaslClient,AuthenticationContextSaslClient,AuthenticationContextSaslServer,AuthenticationContextSaslServer,ClientSaslWrapper,PrivilegedSaslClient,PrivilegedSaslServer,ServerSaslWrapper
public interface SaslWrapper- Author:
 - David M. Lloyd
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static SaslWrapperIDENTITYThe identity wrapper which simply returns the same data that was passed in. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]unwrap(byte[] incoming, int offset, int len)byte[]wrap(byte[] outgoing, int offset, int len) 
 - 
 
- 
- 
Field Detail
- 
IDENTITY
static final SaslWrapper IDENTITY
The identity wrapper which simply returns the same data that was passed in. If the data is of a different size then a copy is made. 
 - 
 
- 
Method Detail
- 
wrap
byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException- Throws:
 SaslException
 
- 
unwrap
byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException- Throws:
 SaslException
 
 - 
 
 -