p≡p JSON adapter
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
4.1 KiB

  1. ### Function reference for the p≡p JSON Server Adapter. Version “(38) Frankenberg”, API version 0.15.0 ###
  2. Output parameters are denoted by a **⇑** , InOut parameters are denoted by a **⇕** after the parameter type.
  3. #### Message API ####
  4. | Function name | Return Type | Parameters |
  5. |---------------|-------------|------------|
  6. | MIME_encrypt_message | PEP_STATUS | String, Integer, StringList, String⇑, PEP_enc_format, Integer |
  7. | MIME_encrypt_message_for_self | PEP_STATUS | Identity, String, Integer, StringList, String⇑, PEP_enc_format, Integer |
  8. | MIME_decrypt_message | PEP_STATUS | String, Integer, String⇑, StringList⇑, PEP_rating⇑, Integer⇕, String⇑ |
  9. | startKeySync | Void | |
  10. | stopKeySync | Void | |
  11. | startKeyserverLookup | Void | |
  12. | stopKeyserverLookup | Void | |
  13. | encrypt_message | PEP_STATUS | Message, StringList, Message⇑, PEP_enc_format, Integer |
  14. | encrypt_message_for_self | PEP_STATUS | Identity, Message, StringList, Message⇑, PEP_enc_format, Integer |
  15. | decrypt_message | PEP_STATUS | Message⇕, Message⇑, StringList⇑, PEP_rating⇑, Integer⇕ |
  16. | outgoing_message_rating | PEP_STATUS | Message, PEP_rating⇑ |
  17. | identity_rating | PEP_STATUS | Identity, PEP_rating⇑ |
  18. #### pEp Engine Core API ####
  19. | Function name | Return Type | Parameters |
  20. |---------------|-------------|------------|
  21. | get_trustwords | PEP_STATUS | Identity, Identity, Language, String⇑, Integer⇑, Bool |
  22. | get_languagelist | PEP_STATUS | String⇑ |
  23. | is_pep_user | PEP_STATUS | Identity, Bool⇑ |
  24. | config_passive_mode | Void | Bool |
  25. | config_unencrypted_subject | Void | Bool |
  26. #### Identity Management API ####
  27. | Function name | Return Type | Parameters |
  28. |---------------|-------------|------------|
  29. | get_identity | PEP_STATUS | String, String, Identity⇑ |
  30. | set_identity | PEP_STATUS | Identity |
  31. | mark_as_comprimized | PEP_STATUS | String |
  32. | identity_rating | PEP_STATUS | Identity, PEP_rating⇑ |
  33. | outgoing_message_rating | PEP_STATUS | Message, PEP_rating⇑ |
  34. | set_identity_flags | PEP_STATUS | Identity⇕, Integer |
  35. | unset_identity_flags | PEP_STATUS | Identity⇕, Integer |
  36. #### Low level Key Management API ####
  37. | Function name | Return Type | Parameters |
  38. |---------------|-------------|------------|
  39. | generate_keypair | PEP_STATUS | Identity⇕ |
  40. | delete_keypair | PEP_STATUS | String |
  41. | import_key | PEP_STATUS | String, Integer, IdentityList⇑ |
  42. | export_key | PEP_STATUS | String, String⇑, Integer⇑ |
  43. | find_keys | PEP_STATUS | String, StringList⇑ |
  44. | get_trust | PEP_STATUS | Identity⇕ |
  45. | own_key_is_listed | PEP_STATUS | String, Bool⇑ |
  46. | own_identities_retrieve | PEP_STATUS | IdentityList⇑ |
  47. | set_own_key | PEP_STATUS | Identity⇕, String |
  48. | undo_last_mistrust | PEP_STATUS | |
  49. | myself | PEP_STATUS | Identity⇕ |
  50. | update_identity | PEP_STATUS | Identity⇕ |
  51. | trust_personal_key | PEP_STATUS | Identity |
  52. | key_mistrusted | PEP_STATUS | Identity |
  53. | key_reset_trust | PEP_STATUS | Identity |
  54. | least_trust | PEP_STATUS | String, PEP_comm_type⇑ |
  55. | get_key_rating | PEP_STATUS | String, PEP_comm_type⇑ |
  56. | renew_key | PEP_STATUS | String, Timestamp |
  57. | revoke | PEP_STATUS | String, String |
  58. | key_expired | PEP_STATUS | String, Integer, Bool⇑ |
  59. #### from blacklist.h & OpenPGP_compat.h ####
  60. | Function name | Return Type | Parameters |
  61. |---------------|-------------|------------|
  62. | blacklist_add | PEP_STATUS | String |
  63. | blacklist_delete | PEP_STATUS | String |
  64. | blacklist_is_listed | PEP_STATUS | String, Bool⇑ |
  65. | blacklist_retrieve | PEP_STATUS | StringList⇑ |
  66. | OpenPGP_list_keyinfo | PEP_STATUS | String, StringPairList⇑ |
  67. #### Event Listener & Results ####
  68. | Function name | Return Type | Parameters |
  69. |---------------|-------------|------------|
  70. | registerEventListener | Void | String, Integer, String |
  71. | unregisterEventListener | Void | String, Integer, String |
  72. | deliverHandshakeResult | PEP_STATUS | Identity, PEP_sync_handshake_result |
  73. #### Other ####
  74. | Function name | Return Type | Parameters |
  75. |---------------|-------------|------------|
  76. | serverVersion | ServerVersion | |
  77. | version | String | |
  78. | getGpgEnvironment | GpgEnvironment | |
  79. | shutdown | Void | |