com.googlecode.jinahya.twitter.xauth
Interface Authenticator
- All Known Implementing Classes:
- BouncyCastleAuthenticator, Client, JCAAuthenticator
public interface Authenticator
Interface for HMAC-SHA1 authentication.
- Author:
- Jin Kwon
|
Method Summary |
byte[] |
authenticate(byte[] key,
byte[] input)
Generates HMAC-SAH1 signature with given key and
input. |
authenticate
byte[] authenticate(byte[] key,
byte[] input)
throws Exception
- Generates HMAC-SAH1 signature with given
key and
input.
- Parameters:
key - keyinput - input
- Returns:
- signature
- Throws:
Exception - if any error occurs.
Copyright © 2011. All Rights Reserved.