Package org.takes.facets.auth.signatures
Interface Signature
-
- All Known Implementing Classes:
SiHmac
public interface Signature
Signature.All implementations of this interface must be immutable and thread-safe.
- Since:
- 1.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
sign(byte[] data)
Create signature for data bytes.
-
-
-
Method Detail
-
sign
byte[] sign(byte[] data) throws IOException
Create signature for data bytes.- Parameters:
data
- The data to be signed- Returns:
- Signature
- Throws:
IOException
- If anything fails
-
-