Class MessageProp

    • Constructor Summary

      Constructors 
      Constructor Description
      MessageProp()
      Default constructor for the class.
      MessageProp​(int qop, boolean privState)
      Constructor allowing the setting of the qop and the privacy state.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getPrivacy()
      Retrieves the privacy state.
      int getQOP()
      Retrieves the QOP value.
      boolean isDuplicateToken()
      Method to signal supplementary information.
      boolean isGapToken()
      Method to signal supplementary information.
      boolean isOldToken()
      Method to signal supplementary information.
      boolean isUnseqToken()
      Method to signal supplementary information.
      void setDuplicateTokenStatus()
      Used by mechanism packages to set supplementary status value.
      void setGapTokenStatus()
      Used by mechanism packages to set supplementary status value.
      void setOldTokenState()
      Used by mechanism packages to set supplementary status value.
      void setPrivacy​(boolean privState)
      Sets the privacy state.
      void setQOP​(int qopVal)
      Sets the QOP value.
      void setUnseqTokenStatus()
      Used by mechanism packages to set supplementary status value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessageProp

        public MessageProp()
        Default constructor for the class. QOP is set to 0 and confidentiality to false.
      • MessageProp

        public MessageProp​(int qop,
                           boolean privState)
        Constructor allowing the setting of the qop and the privacy state.
        Parameters:
        qop - the qop value for the message
        privState - indicates privacy request/applied state
    • Method Detail

      • getQOP

        public int getQOP()
        Retrieves the QOP value.
        Returns:
        the QOP value
      • getPrivacy

        public boolean getPrivacy()
        Retrieves the privacy state.
        Returns:
        true indicates privacy has been applied
      • setQOP

        public void setQOP​(int qopVal)
        Sets the QOP value.
        Parameters:
        QOP - value to store.
      • setPrivacy

        public void setPrivacy​(boolean privState)
        Sets the privacy state.
        Parameters:
        privacy - value to store.
      • isDuplicateToken

        public boolean isDuplicateToken()
        Method to signal supplementary information. Returns true if this is a duplicate of an earlier token.
      • isOldToken

        public boolean isOldToken()
        Method to signal supplementary information. Returns true if the token's validity period has expired.
      • isUnseqToken

        public boolean isUnseqToken()
        Method to signal supplementary information. Returns true if a later token has already been processed.
      • isGapToken

        public boolean isGapToken()
        Method to signal supplementary information. Returns true if an expected per-message token was not received.
      • setGapTokenStatus

        public void setGapTokenStatus()
        Used by mechanism packages to set supplementary status value. Indicates that an expected per-message token was not received.
      • setDuplicateTokenStatus

        public void setDuplicateTokenStatus()
        Used by mechanism packages to set supplementary status value. Indicates this is a duplicate of an earlier token.
      • setOldTokenState

        public void setOldTokenState()
        Used by mechanism packages to set supplementary status value. Indicates that the token's validity period has expired.
      • setUnseqTokenStatus

        public void setUnseqTokenStatus()
        Used by mechanism packages to set supplementary status value. Indicates that a later token has already been processed.