cPanel API 2 Modules - Gpg
Warning:
The cPanel API 2 system is deprecated. We strongly recommend that you use UAPI instead of cPanel API 2.
Introduction
The Gpg
module creates and manages GnuPG keys.
Important:
When you enable a non-Standard Node server profile, the system disables API calls associated with that profile's disabled roles.
Available functions
-
cPanel API 2 Functions -
Gpg::listgpgkeys
— This function retrieves public GPG keys. -
cPanel API 2 Functions -
Gpg::listsecretgpgkeys
— This function retrieves a user's private GPG keys. -
cPanel API 2 Functions -
Gpg::number_of_private_keys
— This function retrieves the number of private GPG keys. -
cPanel API 2 Functions -
Gpg::number_of_public_keys
— This function retrieves the number of public GPG keys.