|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.gssapi.MessageProp
public class MessageProp
This class conveys information about the per-message security services requested/provided through the GSSContext class in the wrap and getMIC methods. It allows the caller to specify the desired per-message Quality of Protection (QOP) and privacy state. Upon return from these calls, this object indicates the actual applied QOP and confidentiality state. Instances of this class are also used by the unwrap and verifyMIC methods to obtain the message protection applied by the peer. The QOP indicates the algorithm used to protect the message. The privacy flag indicates if message privacy has been applied. Methods are also provided to query for supplementary status information for the processed token.
GSSContext.wrap(byte[], int, int, com.sun.gssapi.MessageProp)
,
GSSContext.unwrap(byte[], int, int, com.sun.gssapi.MessageProp)
,
GSSContext.getMIC(byte[], int, int, com.sun.gssapi.MessageProp)
,
GSSContext.verifyMIC(byte[], int, int, byte[], int, int, com.sun.gssapi.MessageProp)
Constructor Summary | |
---|---|
MessageProp()
Default constructor for the class. |
|
MessageProp(int qop,
boolean privState)
Constructor allowing the setting of the qop and the privacy state. |
Method Summary | |
---|---|
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 |
---|
public MessageProp()
public MessageProp(int qop, boolean privState)
qop
- the qop value for the messageprivState
- indicates privacy request/applied stateMethod Detail |
---|
public int getQOP()
public boolean getPrivacy()
public void setQOP(int qopVal)
QOP
- value to store.public void setPrivacy(boolean privState)
privacy
- value to store.public boolean isDuplicateToken()
public boolean isOldToken()
public boolean isUnseqToken()
public boolean isGapToken()
public void setGapTokenStatus()
public void setDuplicateTokenStatus()
public void setOldTokenState()
public void setUnseqTokenStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |