domtrans_pattern($1, gpg_exec_t, gpg_t)
')
+######################################
+## <summary>
+## Execute gpg in the caller domain.
+## </summary>
+## <param name="domain">
+## <summary>
+## Domain allowed access.
+## </summary>
+## </param>
+#
+interface(`gpg_exec',`
+ gen_require(`
+ type gpg_exec_t;
+ ')
+
+ corecmd_search_bin($1)
+ can_exec($1, gpg_exec_t)
+')
+
######################################
## <summary>
## Transition to a gpg web domain.