Ocamlnet 4 Reference Manual : Netsys_crypto_types.PUBKEY_CRYPTO

`sig
type public_key
type private_key
type pin_callback
type algorithm
val supported_x509 : int array list
val algorithm_x509 :
int array -> string option -> Netsys_crypto_types.PUBKEY_CRYPTO.algorithm
val import_public_key_x509 :
string -> Netsys_crypto_types.PUBKEY_CRYPTO.public_key
val import_public_key_uri :
string -> Netsys_crypto_types.PUBKEY_CRYPTO.public_key
val import_public_key_uri_with_pin :
Netsys_crypto_types.PUBKEY_CRYPTO.pin_callback ->
string -> Netsys_crypto_types.PUBKEY_CRYPTO.public_key
type x509_private_key = string * string
val import_private_key_x509 :
Netsys_crypto_types.PUBKEY_CRYPTO.x509_private_key ->
Netsys_crypto_types.PUBKEY_CRYPTO.private_key
val import_private_key_uri :
string -> Netsys_crypto_types.PUBKEY_CRYPTO.private_key
val import_private_key_uri_with_pin :
Netsys_crypto_types.PUBKEY_CRYPTO.pin_callback ->
string -> Netsys_crypto_types.PUBKEY_CRYPTO.private_key
val import_public_key_from_private :
Netsys_crypto_types.PUBKEY_CRYPTO.private_key ->
Netsys_crypto_types.PUBKEY_CRYPTO.public_key
val simple_pin_callback :
(unit -> string) -> Netsys_crypto_types.PUBKEY_CRYPTO.pin_callback
val encrypt :
Netsys_crypto_types.PUBKEY_CRYPTO.algorithm ->
Netsys_crypto_types.PUBKEY_CRYPTO.public_key -> string -> string
val decrypt :
Netsys_crypto_types.PUBKEY_CRYPTO.algorithm ->
Netsys_crypto_types.PUBKEY_CRYPTO.private_key -> string -> string
val verify :
Netsys_crypto_types.PUBKEY_CRYPTO.algorithm ->
Netsys_crypto_types.PUBKEY_CRYPTO.public_key -> string -> string -> bool
val sign :
Netsys_crypto_types.PUBKEY_CRYPTO.algorithm ->
Netsys_crypto_types.PUBKEY_CRYPTO.private_key -> string -> string
end`