Class MessageChannelSecurityContext

  • All Implemented Interfaces:
    Iterable<BaseContext>

    public final class MessageChannelSecurityContext
    extends BaseContext
    A subcontext which carries information about whether the message channel in use is considered to have the active properties of confidentiality and integrity.

    This data is typically used to determine whether additional application- or protocol-specific signing and/or encryption operations are necessary.

    • Field Detail

      • confidentialityActive

        private boolean confidentialityActive
        Message channel confidentiality flag.
      • integrityActive

        private boolean integrityActive
        Message channel integrity flag.
    • Constructor Detail

      • MessageChannelSecurityContext

        public MessageChannelSecurityContext()
    • Method Detail

      • isConfidentialityActive

        public boolean isConfidentialityActive()
        Get whether message channel confidentiality is active.
        Returns:
        Returns the confidentialityActive.
      • setConfidentialityActive

        public void setConfidentialityActive​(boolean flag)
        Set whether message channel confidentiality is active.
        Parameters:
        flag - The confidentialityActive to set.
      • isIntegrityActive

        public boolean isIntegrityActive()
        Get whether message channel integrity is active.
        Returns:
        Returns the integrityActive.
      • setIntegrityActive

        public void setIntegrityActive​(boolean flag)
        Set whether message channel integrity is active.
        Parameters:
        flag - The integrityActive to set.