@Test public void notNull() { RegistrationRequest regReq = new RegistrationRequestGeneration().createRegistrationRequest("Username", new NotaryImpl()); assertNotNull(regReq); logger.info(gson.toJson(regReq)); }
public RegistrationRequest createRegistrationRequest(String username, Notary notary) { String challenge = generateChallenge(); String serverDataString = generateServerData(username, challenge, notary); return createRegistrationRequest(username, serverDataString, challenge); }
RegistrationRequestGeneration { public RegistrationRequest createRegistrationRequest(String username, Notary notary) { String challenge = generateChallenge(); String serverDataString = generateServerData(username, challenge, notary); return createRegistrationRequest(username, serverDataString, challenge); } }
RegistrationRequestGeneration { public RegistrationRequest createRegistrationRequest(String username, Notary notary) { String challenge = generateChallenge(); String serverDataString = generateServerData(username, challenge, notary); return createRegistrationRequest(username, serverDataString, challenge); } RegistrationRequestGeneration();  RegistrationRequestGeneration(String appId);  RegistrationRequestGeneration(String appId, String[] acceptedAaids); }
RegistrationRequestGeneration { public RegistrationRequest createRegistrationRequest(String username, Notary notary) { String challenge = generateChallenge(); String serverDataString = generateServerData(username, challenge, notary); return createRegistrationRequest(username, serverDataString, challenge); } RegistrationRequestGeneration();  RegistrationRequestGeneration(String appId);  RegistrationRequestGeneration(String appId, String[] acceptedAaids); Policy constructAuthenticationPolicy(); RegistrationRequest createRegistrationRequest(String username,
			Notary notary); }
RegistrationRequestGeneration { public RegistrationRequest createRegistrationRequest(String username, Notary notary) { String challenge = generateChallenge(); String serverDataString = generateServerData(username, challenge, notary); return createRegistrationRequest(username, serverDataString, challenge); } RegistrationRequestGeneration();  RegistrationRequestGeneration(String appId);  RegistrationRequestGeneration(String appId, String[] acceptedAaids); Policy constructAuthenticationPolicy(); RegistrationRequest createRegistrationRequest(String username,
			Notary notary); static final String APP_ID; }