Instance Method

getChallenge()

Compute challenge according to format specified in OCRA suite for one-way use cases (challenge-response and signature).

Declaration

func getChallenge() throws -> String

Return Value

Formatted challenge.

Discussion

This method can be used by the client to provide the challenge to other parties (typically a server) so that it can authenticate the server using the asynchronous method.