> You do not have to update the public key file or reverse bytes.  You do need
> to prepend the proper key header, as described in the Cyberflex SDK manual.
> In my copy of the SDK release 2 Programmer's manual, it's on page 289,
> "Private RSA Key - CRT."  The key can be either exponent/modulus or CRT.
> 
> There is working sample code in OpenBSD's libsectok.  See
> cyberflex_load_rsa_priv() in cyberflex.c.  On the web, it's at
> http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libsectok/cyberflex.c


Thank you for your help. Sorry, I have made a mistake. We use the 
*CrypotFlex 16* and not the Cyberflex 16. Sorry again.
I have downloaded the code, but it seems that both cards use a different 
type of layout for the private key files.


Arno




-- 
       _                 __      ___ _ _        _
      /_\  _ _ _ _  ___  \ \    / (_) | |_  ___| |_ __
     / _ \| '_| ' \/ _ \  \ \/\/ /| | | ' \/ -_) | '  \
    /_/ \_\_| |_||_\___/   \_/\_/ |_|_|_||_\___|_|_|_|_|

    tel://+43/512/394545/72
    fax://+43/512/394545/20
    mail:[EMAIL PROTECTED]
    http://www.phion.com


***************************************************************
Unix Smart Card Developers - M.U.S.C.L.E.
(Movement for the Use of Smart Cards in a Linux Environment)
http://www.linuxnet.com/
To unsubscribe send an email to [EMAIL PROTECTED] with
unsubscribe sclinux
***************************************************************

Reply via email to