/** * shishi_encapreppart_print: * @handle: shishi handle as allocated by shishi_init(). * @fh: file handle open for writing. * @encapreppart: EncAPRepPart to print. * * Print ASCII armored DER encoding of EncAPRepPart to file. * * Return value: Returns SHISHI_OK iff successful. **/ int shishi_encapreppart_print (Shishi * handle, FILE * fh, Shishi_asn1 encapreppart) { return _shishi_print_armored_data (handle, fh, encapreppart, "EncAPRepPart", NULL); }
/** * shishi_authenticator_print: * @handle: shishi handle as allocated by shishi_init(). * @fh: file handle open for writing. * @authenticator: authenticator as allocated by shishi_authenticator(). * * Print ASCII armored DER encoding of authenticator to file. * * Return value: Returns SHISHI_OK iff successful. **/ int shishi_authenticator_print (Shishi * handle, FILE * fh, Shishi_asn1 authenticator) { return _shishi_print_armored_data (handle, fh, authenticator, "Authenticator", NULL); }
/** * shishi_kdcreq_print: * @handle: shishi handle as allocated by shishi_init(). * @fh: file handle open for writing. * @kdcreq: KDC-REQ to print. * * Print ASCII armored DER encoding of KDC-REQ to file. * * Return value: Returns SHISHI_OK iff successful. **/ int shishi_kdcreq_print (Shishi * handle, FILE * fh, Shishi_asn1 kdcreq) { return _shishi_print_armored_data (handle, fh, kdcreq, "KDC-REQ", NULL); }
/** * shishi_apreq_print: * @handle: shishi handle as allocated by shishi_init(). * @fh: file handle open for writing. * @apreq: AP-REQ to print. * * Print ASCII armored DER encoding of AP-REQ to file. * * Return value: Returns SHISHI_OK iff successful. **/ int shishi_apreq_print (Shishi * handle, FILE * fh, Shishi_asn1 apreq) { return _shishi_print_armored_data (handle, fh, apreq, "AP-REQ", NULL); }