Core MSL Abstractions: MslControl, MslContext, and MessageContext
masterThe MSL stack is built around three primary configuration and control abstractions that manage how entities communicate securely:
MslControl: The primary application interface to the MSL stack. An application should typically use only one instance ofMslControl.MslContext: Represents the configuration for a single MSL network. An application can participate in multiple MSL networks by maintaining multiple instances ofMslContext.MessageContext: Used for message-specific configuration. This allows you to specify properties like the user or specific security requirements for an individual message.