Package org.wildfly.security.sasl.util
Interface SaslWrapper
-
- All Known Implementing Classes:
AbstractDelegatingSaslClient
,AbstractDelegatingSaslServer
,AbstractDigestMechanism
,AbstractDigestMechanism.DigestWrapper
,AbstractGssapiMechanism
,AbstractGssapiMechanism.GssapiWrapper
,AbstractSaslClient
,AbstractSaslParticipant
,AbstractSaslServer
,AnonymousSaslClient
,AnonymousSaslServer
,AuthenticationContextSaslClient
,AuthenticationContextSaslClient
,AuthenticationContextSaslServer
,AuthenticationContextSaslServer
,AuthenticationTimeoutSaslServerFactory.DelegatingTimeoutSaslServer
,ClientSaslWrapper
,DigestSaslClient
,DigestSaslServer
,EntitySaslClient
,EntitySaslServer
,ExternalSaslClient
,Gs2SaslClient
,Gs2SaslServer
,GssapiClient
,GssapiServer
,LocalPrincipalSaslClientFactory.LocalPrincipalSaslClient
,LocalUserClient
,LocalUserServer
,OAuth2SaslClient
,OAuth2SaslServer
,OTPSaslClient
,OTPSaslServer
,PlainSaslClient
,PlainSaslServer
,PrivilegedSaslClient
,PrivilegedSaslServer
,ScramSaslClient
,ScramSaslServer
,ServerSaslWrapper
public interface SaslWrapper
- Author:
- David M. Lloyd
-
-
Field Summary
Fields Modifier and Type Field Description static SaslWrapper
IDENTITY
The 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
-
-