以下常量由此扩展定义,只有在扩展已编译到 PHP 或在运行时动态加载时才可用。
RNP_KEYSTORE_GPG
(string)RNP_KEYSTORE_KBX
(string)RNP_KEYSTORE_G10
(string)RNP_LOAD_SAVE_PUBLIC_KEYS
(integer)RNP_LOAD_SAVE_SECRET_KEYS
进行 OR 运算,以将公钥和私钥加载到 FFI 上下文或从上下文保存它们。
RNP_LOAD_SAVE_SECRET_KEYS
(integer)RNP_LOAD_SAVE_PUBLIC_KEYS
进行 OR 运算,以将公钥和私钥加载到 FFI 上下文或从上下文保存它们。
RNP_LOAD_SAVE_PERMISSIVE
(integer)RNP_LOAD_SAVE_SINGLE
(integer)RNP_LOAD_SAVE_BASE64
(integer)RNP_FEATURE_SYMM_ALG
(string)RNP_FEATURE_AEAD_ALG
(string)RNP_FEATURE_PROT_MODE
(string)RNP_FEATURE_PK_ALG
(string)RNP_FEATURE_HASH_ALG
(string)RNP_FEATURE_COMP_ALG
(string)RNP_FEATURE_CURVE
(string)RNP_DUMP_MPI
(integer)RNP_DUMP_RAW
(integer)RNP_DUMP_GRIP
(integer)RNP_JSON_DUMP_MPI
(integer)RNP_JSON_DUMP_RAW
(integer)RNP_JSON_DUMP_GRIP
(integer)RNP_ENCRYPT_NOWRAP
(integer)RNP_KEY_EXPORT_ARMORED
(integer)RNP_KEY_EXPORT_PUBLIC
(integer)RNP_KEY_EXPORT_SECRET
(integer)RNP_KEY_EXPORT_SUBKEYS
(integer)RNP_KEY_EXPORT_BASE64
(integer)RNP_KEY_REMOVE_PUBLIC
(integer)RNP_KEY_REMOVE_SECRET
(integer)RNP_KEY_REMOVE_SUBKEYS
(integer)