Class containing Protocol related utility methods.

Constructors

Methods

  • Derives 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.

    Parameters

    Returns Promise<ProtocolDefinition>