Package org.wildfly.security.sasl.digest
Class AbstractDigestMechanism.DigestWrapper
- java.lang.Object
-
- org.wildfly.security.sasl.digest.AbstractDigestMechanism.DigestWrapper
-
- All Implemented Interfaces:
SaslWrapper
- Enclosing class:
- AbstractDigestMechanism
protected class AbstractDigestMechanism.DigestWrapper extends Object implements SaslWrapper
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
confidential
-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DigestWrapper(boolean confidential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
unwrap(byte[] incoming, int offset, int len)
byte[]
wrap(byte[] outgoing, int offset, int len)
-
-
-
Method Detail
-
wrap
public byte[] wrap(byte[] outgoing, int offset, int len) throws SaslException
- Specified by:
wrap
in interfaceSaslWrapper
- Throws:
SaslException
-
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException
- Specified by:
unwrap
in interfaceSaslWrapper
- Throws:
SaslException
-
-