Static
deriveDerives public encryptions keys and inject it in the $encryption
property for each protocol path segment of the given Protocol definition,
then returns the final encryption-enabled protocol definition.
NOTE: The original definition passed in is unmodified.
Class containing Protocol related utility methods.