logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

shishi_key_print - API function

Arguments

       Shishi * handle
                   Shishi handle as allocated by shishi_init().

       FILE * fh   File handle open for writing.

       const Shishi_key * key
                   Key to print.

Description

       Prints an ASCII representation of a key structure key to the file descriptor fh.  Example output:


       -----BEGIN SHISHI KEY-----

Keytype

       18 (aes256-cts-hmac-sha1-96)

Name

       shishi_key_print - API function

Principal

       host/latte.josefsson.org

Realm

       JOSEFSSON.ORG Key-Version-Number: 1

Reporting Bugs

       Report  bugs  to <bug-shishi@gnu.org>.  GNU Shishi home page: http://www.gnu.org/software/shishi/ General
       help using GNU software: http://www.gnu.org/gethelp/

Return Value

       Returns SHISHI_OK if successful.  The only failure is SHISHI_MALLOC_ERROR.

See Also

       The full documentation for shishi is maintained as a Texinfo manual.  If the info and shishi programs are
       properly installed at your site, the command

              infoshishi

       should give you access to the complete manual.

shishi                                                1.0.3                                  shishi_key_print(3)

Synopsis

#include<shishi.h>intshishi_key_print(Shishi*handle,FILE*fh,constShishi_key*key);

Timestamp

       20130420150337Z


       P1QdeW/oSiag/bTyVEBAY2msiGSTmgLXlopuCKoppDs= -----END SHISHI KEY-----

See Also