Class DuoWeb
java.lang.Object
com.duosecurity.duoweb.DuoWeb
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
signRequest
(String ikey, String skey, String akey, String username) static String
signRequest
(String ikey, String skey, String akey, String username, long time) static String
verifyResponse
(String ikey, String skey, String akey, String sig_response) static String
verifyResponse
(String ikey, String skey, String akey, String sig_response, long time)
-
Field Details
-
ERR_USER
- See Also:
-
ERR_IKEY
- See Also:
-
ERR_SKEY
- See Also:
-
ERR_AKEY
- See Also:
-
ERR_UNKNOWN
- See Also:
-
-
Constructor Details
-
DuoWeb
public DuoWeb()
-
-
Method Details
-
signRequest
-
signRequest
-
verifyResponse
public static String verifyResponse(String ikey, String skey, String akey, String sig_response) throws DuoWebException, NoSuchAlgorithmException, InvalidKeyException, IOException -
verifyResponse
public static String verifyResponse(String ikey, String skey, String akey, String sig_response, long time) throws DuoWebException, NoSuchAlgorithmException, InvalidKeyException, IOException
-