Here are the examples of the java api class com.google.android.apps.authenticator.PasscodeGenerator.Signer taken from open source projects.
1. AccountDbTest#testSigningOracle()
Project: google-authenticator-android
File: AccountDbTest.java
File: AccountDbTest.java
public void testSigningOracle() throws Exception { Signer signer = AccountDb.getSigningOracle(SECRET); assertEquals(SIGNATURE, Base32String.encode(signer.sign(MESSAGE.getBytes()))); }