std_print.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005-2008 Nominet UK (www.nic.uk)
00003  * All rights reserved.
00004  * Contributors: Ben Laurie, Rachel Willmer. The Contributors have asserted
00005  * their moral rights under the UK Copyright Design and Patents Act 1988 to
00006  * be recorded as the authors of this copyright work.
00007  *
00008  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
00009  * use this file except in compliance with the License. 
00010  * 
00011  * You may obtain a copy of the License at 
00012  *     http://www.apache.org/licenses/LICENSE-2.0 
00013  * 
00014  * Unless required by applicable law or agreed to in writing, software 
00015  * distributed under the License is distributed on an "AS IS" BASIS, 
00016  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
00017  * 
00018  * See the License for the specific language governing permissions and
00019  * limitations under the License.
00020  */
00021 
00025 #ifndef OPS_STD_PRINT_H
00026 #define OPS_STD_PRINT_H
00027 
00028 #include "openpgpsdk/packet.h"
00029 #include "openpgpsdk/packet-parse.h"
00030 #include "openpgpsdk/keyring.h"
00031 
00032 void print_bn( const char *name, 
00033                       const BIGNUM *bn);
00034 void ops_print_pk_session_key(ops_content_tag_t tag,
00035                           const ops_pk_session_key_t *key);
00036 void ops_print_public_keydata(const ops_keydata_t *key);
00037 
00038 void ops_print_public_keydata_verbose(const ops_keydata_t *key);
00039 void ops_print_public_key(const ops_public_key_t *pkey);
00040 
00041 void ops_print_secret_keydata(const ops_keydata_t *key);
00042 void ops_print_secret_keydata_verbose(const ops_keydata_t *key);
00043 //void ops_print_secret_key(const ops_content_tag_t type, const ops_secret_key_t* skey);
00044 int ops_print_packet(const ops_parser_content_t *content_);
00045 void ops_list_packets(char *filename, ops_boolean_t armour, ops_keyring_t* pubring, ops_parse_cb_t* cb_get_passphrase);
00046 
00047 #endif

Generated on Fri May 24 00:00:03 2013 for OpenPGP:SDK by  doxygen 1.4.6