-
public interface Auth.Lazy
-
-
Method Summary
-
-
Method Detail
-
cryptoAuthKeygen
abstract Key cryptoAuthKeygen()
Generate an authentication key.
-
cryptoAuth
abstract String cryptoAuth(String message, Key key)
Computes a tag for the message in.
- Parameters:
message- A message.key- The key as generated by cryptoAuthKeygen.
-
cryptoAuthVerify
abstract boolean cryptoAuthVerify(String tag, String message, Key key)
Verifies that the tagvalid tag for the message.
- Parameters:
tag- The tag.key- The key as generated by cryptoAuthKeygen.
-
cryptoAuthHMACShaKeygen
abstract Key cryptoAuthHMACShaKeygen(Auth.Type type)
-
cryptoAuthHMACSha
abstract String cryptoAuthHMACSha(Auth.Type type, String in, Key key)
-
cryptoAuthHMACShaVerify
abstract boolean cryptoAuthHMACShaVerify(Auth.Type type, String authenticator, String message, Key key)
-
cryptoAuthHMACShaInit
abstract boolean cryptoAuthHMACShaInit(Auth.StateHMAC256 state, Key key)
-
cryptoAuthHMACShaUpdate
abstract boolean cryptoAuthHMACShaUpdate(Auth.StateHMAC256 state, String in)
-
cryptoAuthHMACShaFinal
abstract String cryptoAuthHMACShaFinal(Auth.StateHMAC256 state)
-
cryptoAuthHMACShaInit
abstract boolean cryptoAuthHMACShaInit(Auth.StateHMAC512 state, Key key)
-
cryptoAuthHMACShaUpdate
abstract boolean cryptoAuthHMACShaUpdate(Auth.StateHMAC512 state, String in)
-
cryptoAuthHMACShaFinal
abstract String cryptoAuthHMACShaFinal(Auth.StateHMAC512 state)
-
cryptoAuthHMACShaInit
abstract boolean cryptoAuthHMACShaInit(Auth.StateHMAC512256 state, Key key)
-
cryptoAuthHMACShaUpdate
abstract boolean cryptoAuthHMACShaUpdate(Auth.StateHMAC512256 state, String in)
-
cryptoAuthHMACShaFinal
abstract String cryptoAuthHMACShaFinal(Auth.StateHMAC512256 state)
-
-
-
-