Functions | |
| ops_boolean_t | ops_write_ss_header (unsigned length, ops_content_tag_t type, ops_create_info_t *info) |
| void | ops_fast_create_user_id (ops_user_id_t *id, unsigned char *user_id) |
| ops_fast_create_user_id() sets id->user_id to the given user_id. | |
| void | ops_fast_create_rsa_public_key (ops_public_key_t *key, time_t time, BIGNUM *n, BIGNUM *e) |
| void | ops_build_public_key (ops_memory_t *out, const ops_public_key_t *key, ops_boolean_t make_packet) |
| void | ops_fast_create_rsa_secret_key (ops_secret_key_t *key, time_t time, BIGNUM *d, BIGNUM *p, BIGNUM *q, BIGNUM *u, BIGNUM *n, BIGNUM *e) |
| Create an RSA secret key structure. | |
| ops_create_info_t * | ops_create_info_new (void) |
| Create a new ops_create_info_t structure. | |
| void | ops_create_info_delete (ops_create_info_t *info) |
| Delete an ops_create_info_t strucut and associated resources. | |
| ops_boolean_t | ops_calc_session_key_checksum (ops_pk_session_key_t *session_key, unsigned char cs[2]) |
| Calculate the checksum for a session key. | |
| ops_boolean_t | encode_m_buf (const unsigned char *M, size_t mLen, const ops_public_key_t *pkey, unsigned char *EM) |
| implementation of EME-PKCS1-v1_5-ENCODE, as defined in OpenPGP RFC | |
| ops_pk_session_key_t * | ops_create_pk_session_key (const ops_keydata_t *key) |
| Creates an ops_pk_session_key_t struct from keydata. | |
| void | ops_packet_free (ops_packet_t *packet) |
| Free allocated memory. | |
| void | ops_headers_free (ops_headers_t *headers) |
| Free allocated memory. | |
| void | ops_signed_cleartext_trailer_free (ops_signed_cleartext_trailer_t *trailer) |
| Free allocated memory. | |
| void | ops_cmd_get_passphrase_free (ops_secret_key_passphrase_t *skp) |
| Free allocated memory. | |
| void | ops_parser_content_free (ops_parser_content_t *c) |
| Free allocated memory. | |
| void | ops_pk_session_key_free (ops_pk_session_key_t *sk) |
| Free allocated memory. | |
| void | ops_public_key_free (ops_public_key_t *p) |
| Free allocated memory. | |
| void | ops_ss_regexp_free (ops_ss_regexp_t *regexp) |
| Free allocated memory. | |
| void | ops_ss_policy_url_free (ops_ss_policy_url_t *policy_url) |
| Free allocated memory. | |
| void | ops_ss_preferred_key_server_free (ops_ss_preferred_key_server_t *preferred_key_server) |
| Free allocated memory. | |
| void | ops_user_attribute_free (ops_user_attribute_t *user_att) |
| Free allocated memory. | |
| void | ops_user_id_free (ops_user_id_t *id) |
| Free allocated memory. | |
| void | free_unknown_sig_pka (ops_unknown_signature_t *unknown_sig) |
| Free the memory used when parsing a private/experimental PKA signature. | |
| void | ops_signature_free (ops_signature_t *sig) |
| Free the memory used when parsing a signature. | |
| void | ops_ss_preferred_ska_free (ops_ss_preferred_ska_t *ss_preferred_ska) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_preferred_hash_free (ops_ss_preferred_hash_t *ss_preferred_hash) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_preferred_compression_free (ops_ss_preferred_compression_t *ss_preferred_compression) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_key_flags_free (ops_ss_key_flags_t *ss_key_flags) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_features_free (ops_ss_features_t *ss_features) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_key_server_prefs_free (ops_ss_key_server_prefs_t *ss_key_server_prefs) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_userdefined_free (ops_ss_userdefined_t *ss_userdefined) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_reserved_free (ops_ss_unknown_t *ss_unknown) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_notation_data_free (ops_ss_notation_data_t *ss_notation_data) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_ss_revocation_reason_free (ops_ss_revocation_reason_t *ss_revocation_reason) |
| Free the memory used when parsing this signature sub-packet type. | |
| void | ops_trust_free (ops_trust_t *trust) |
| Free the memory used when parsing this packet type. | |
| void | ops_secret_key_free (ops_secret_key_t *key) |
| ops_secret_key_free() frees the memory associated with "key". | |
| ops_boolean_t | encode_hash_buf (const unsigned char *M, size_t mLen, const ops_hash_algorithm_t hash_alg, unsigned char *EM) |
| implementation of EMSA-PKCS1-v1_5, as defined in OpenPGP RFC | |
|
||||||||||||||||||||
|
implementation of EMSA-PKCS1-v1_5, as defined in OpenPGP RFC
|
|
||||||||||||||||||||
|
implementation of EME-PKCS1-v1_5-ENCODE, as defined in OpenPGP RFC
|
|
|
Free the memory used when parsing a private/experimental PKA signature.
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Calculate the checksum for a session key.
|
|
|
Delete an ops_create_info_t strucut and associated resources. Delete an ops_create_info_t structure. If a writer is active, then that is also deleted.
|
|
|
Create a new ops_create_info_t structure.
|
|
|
Creates an ops_pk_session_key_t struct from keydata.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||||||||||||||
|
Create an RSA secret key structure. If a parameter is marked as [OPTIONAL], then it can be omitted and will be calculated from other parameters - or, in the case of e, will default to 0x10001. Parameters are _not_ copied, so will be freed if the structure is freed.
|
|
||||||||||||
|
ops_fast_create_user_id() sets id->user_id to the given user_id. This is fast because it is only copying a char*. However, if user_id is changed or freed in the future, this could have injurious results.
|
|
|
Free allocated memory. Free packet memory, set pointer to NULL |
|
|
Free allocated memory. Free any memory allocated when parsing the packet content |
|
|
Free allocated memory. Free the memory used when parsing a public key |
|
|
ops_secret_key_free() frees the memory associated with "key". Note that the key itself is not freed.
|
|
|
Free the memory used when parsing a signature.
|
|
|
Free allocated memory. Free the memory used when parsing this signature sub-packet type |
|
|
Free the memory used when parsing this signature sub-packet type.
|
|
|
Free allocated memory. Free the memory used when parsing this signature sub-packet type |
|
|
Free the memory used when parsing this signature sub-packet type.
|
|
|
Free allocated memory. Free the memory used when parsing this signature sub-packet type |
|
|
Free allocated memory. Free the memory used when parsing this packet type |
|
|
Free allocated memory. Free the memory used when parsing this packet type |
|
||||||||||||||||
|
|
1.4.6