All Downloads are FREE. Search and download functionalities are using the official Maven repository.

se.wfh.libs.common.web.ejb.interfaces.TotpAuthenticatorBean Maven / Gradle / Ivy

package se.wfh.libs.common.web.ejb.interfaces;

import java.io.Serializable;
import java.security.GeneralSecurityException;

public interface TotpAuthenticatorBean extends Serializable {

	boolean checkCode(String secret, long code, long timeMsec)
			throws GeneralSecurityException;

	boolean checkCode(String secret, String code) throws GeneralSecurityException;

	@Deprecated
	String generateSecretKey();

	String generateSecretKey(int length);

	@Deprecated
	String getQRBarcodeURL(String label, String issuer, String secret);

	String getQRBarcodeURL(int size, String label, String issuer, String secret);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy