org.ietf.jgss

Class MessageProp

    • Constructor Summary

      Constructors 
      Constructor and Description
      MessageProp(boolean privState)
      Constructor which sets the desired privacy state.
      MessageProp(int qop, boolean privState)
      Constructor which sets the values for the qop and privacy state.

        

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int getMinorStatus()
      Retrieves the minor status code that the underlying mechanism might have set for this per-message operation.
      String getMinorString()
      Retrieves a string explaining the minor status code.
      boolean getPrivacy()
      Retrieves the privacy state.
      int getQOP()
      Retrieves the QOP value.
      boolean isDuplicateToken()
      Tests if this is a duplicate of an earlier token.
      boolean isGapToken()
      Tests if an expected token was not received, i.e., one or more predecessor tokens have not yet been successfully processed.
      boolean isOldToken()
      Tests if this token's validity period has expired, i.e., the token is too old to be checked for duplication.
      boolean isUnseqToken()
      Tests if a later token had already been processed.
      void setPrivacy(boolean privState)
      Sets the privacy state.
      void setQOP(int qop)
      Sets the QOP value.
      void setSupplementaryStates(boolean duplicate, boolean old, boolean unseq, boolean gap, int minorStatus, String minorString)
      This method sets the state for the supplementary information flags and the minor status in MessageProp.

        

    • Constructor Detail

      • MessageProp

        public MessageProp(boolean privState)
        Constructor which sets the desired privacy state. The QOP value used is 0.
        Parameters:
        privState - the privacy (i.e. confidentiality) state
      • MessageProp

        public MessageProp(int qop,
                   boolean privState)
        Constructor which sets the values for the qop and privacy state.
        Parameters:
        qop - the QOP value
        privState - the privacy (i.e. confidentiality) state
    • Method Detail

      • getQOP

        public int getQOP()
        Retrieves the QOP value.
        Returns:
        an int representing the QOP value
        See Also:
        setQOP(int)
      • getPrivacy

        public boolean getPrivacy()
        Retrieves the privacy state.
        Returns:
        true if the privacy (i.e., confidentiality) state is true, false otherwise.
        See Also:
        setPrivacy(boolean)
      • setQOP

        public void setQOP(int qop)
        Sets the QOP value.
        Parameters:
        qop - the int value to set the QOP to
        See Also:
        getQOP()
      • setPrivacy

        public void setPrivacy(boolean privState)
        Sets the privacy state.
        Parameters:
        privState - true is the privacy (i.e., confidentiality) state is true, false otherwise.
        See Also:
        getPrivacy()
      • isDuplicateToken

        public boolean isDuplicateToken()
        Tests if this is a duplicate of an earlier token.
        Returns:
        true if this is a duplicate, false otherwise.
      • isOldToken

        public boolean isOldToken()
        Tests if this token's validity period has expired, i.e., the token is too old to be checked for duplication.
        Returns:
        true if the token's validity period has expired, false otherwise.
      • isUnseqToken

        public boolean isUnseqToken()
        Tests if a later token had already been processed.
        Returns:
        true if a later token had already been processed, false otherwise.
      • isGapToken

        public boolean isGapToken()
        Tests if an expected token was not received, i.e., one or more predecessor tokens have not yet been successfully processed.
        Returns:
        true if an expected per-message token was not received, false otherwise.
      • getMinorStatus

        public int getMinorStatus()
        Retrieves the minor status code that the underlying mechanism might have set for this per-message operation.
        Returns:
        the int minor status
      • getMinorString

        public String getMinorString()
        Retrieves a string explaining the minor status code.
        Returns:
        a String corresponding to the minor status code. null will be returned when no minor status code has been set.
      • setSupplementaryStates

        public void setSupplementaryStates(boolean duplicate,
                                  boolean old,
                                  boolean unseq,
                                  boolean gap,
                                  int minorStatus,
                                  String minorString)
        This method sets the state for the supplementary information flags and the minor status in MessageProp. It is not used by the application but by the GSS implementation to return this information to the caller of a per-message context method.
        Parameters:
        duplicate - true if the token was a duplicate of an earlier token, false otherwise
        old - true if the token's validity period has expired, false otherwise
        unseq - true if a later token has already been processed, false otherwise
        gap - true if one or more predecessor tokens have not yet been successfully processed, false otherwise
        minorStatus - the int minor status code for the per-message operation
        minorString - the textual representation of the minorStatus value

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/11/2024 21:44:03 Cette version de la page est en cache (à la date du 21/11/2024 21:44:03) afin d'accélérer le traitement. Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la dernère version de la page.

Document créé le 29/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-org/ietf/jgss/messageprop.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, MessageProp

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut