Class SecretQuestion
java.lang.Object
com.tremolosecurity.proxy.auth.secret.SecretQuestion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkAnswer
(String alg, String userAnswer, String salt) byte[]
int
void
setAnswer
(byte[] answer) void
void
setQuestion
(int question)
-
Constructor Details
-
SecretQuestion
public SecretQuestion()
-
-
Method Details
-
getQuestion
public int getQuestion() -
setQuestion
public void setQuestion(int question) -
getAnswer
public byte[] getAnswer() -
setAnswer
public void setAnswer(byte[] answer) -
setAnswer
public void setAnswer(String alg, String answer, String salt) throws NoSuchAlgorithmException, UnsupportedEncodingException -
checkAnswer
-