Implement some utility methods needed for protection domains and signed bundles (FELIX-21)(FELIX-22).