|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||||||||
JavaTM 2 Platform Std. Ed. v1.4.2
org.ietf.jgss
|
Constructor Summary | |
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 | |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MessageProp(boolean privState)
privState
- the privacy (i.e. confidentiality) statepublic MessageProp(int qop, boolean privState)
qop
- the QOP valueprivState
- the privacy (i.e. confidentiality) stateMethod Detail |
public int getQOP()
setQOP(int)
public boolean getPrivacy()
setPrivacy(boolean)
public void setQOP(int qop)
qop
- the int value to set the QOP togetQOP()
public void setPrivacy(boolean privState)
privState
- true is the privacy (i.e., confidentiality) state
is true, false otherwise.getPrivacy()
public boolean isDuplicateToken()
public boolean isOldToken()
public boolean isUnseqToken()
public boolean isGapToken()
public int getMinorStatus()
public String getMinorString()
null
will be returned when no minor status code
has been set.public void setSupplementaryStates(boolean duplicate, boolean old, boolean unseq, boolean gap, int minorStatus, String minorString)
duplicate
- true if the token was a duplicate of an earlier
token, false otherwiseold
- true if the token's validity period has expired, false
otherwiseunseq
- true if a later token has already been processed, false
otherwisegap
- true if one or more predecessor tokens have not yet been
successfully processed, false otherwiseminorStatus
- the int minor status code for the per-message
operationminorString
- the textual representation of the minorStatus value