oath-toolkit-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OATH-Toolkit-help] OATH Toolkit 2.6.0


From: David Woodhouse
Subject: Re: [OATH-Toolkit-help] OATH Toolkit 2.6.0
Date: Tue, 19 May 2015 22:10:57 +0100

On Tue, 2015-05-19 at 23:06 +0200, Simon Josefsson wrote:
> 
> Thanks.  So how would an ideal API look like?  Does this make sense:
> 
> otp_global_init (int flags);
> otp_global_deinit (void);
> otp_generate_oath_from_pskc (const char *pskcfilename, char **otp);
> otp_generate_oath_from_ykneo (const char *accountid, char **otp);
> otp_generate_stoken (const char *stokendatabase, char **otp);
> 
> Or should the interface be cut at some other abstraction level?

Perhaps a URI of some form? Some of these already exist for stoken.

-- 
dwmw2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]