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 booleanconfidential-
Fields inherited from interface org.wildfly.security.sasl.util.SaslWrapper
IDENTITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDigestWrapper(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:
wrapin interfaceSaslWrapper- Throws:
SaslException
-
unwrap
public byte[] unwrap(byte[] incoming, int offset, int len) throws SaslException- Specified by:
unwrapin interfaceSaslWrapper- Throws:
SaslException
-
-