Class SecretQuestion
java.lang.Object
com.tremolosecurity.proxy.auth.secret.SecretQuestion
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckAnswer(String alg, String userAnswer, String salt) byte[]intvoidsetAnswer(byte[] answer) voidvoidsetQuestion(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
-