You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/05/04 23:17:48 UTC
svn commit: r168195 -
/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
Author: elecharny
Date: Wed May 4 14:17:47 2005
New Revision: 168195
URL: http://svn.apache.org/viewcvs?rev=168195&view=rev
Log:
Added a MechListMICExpected length member
Modified:
directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java?rev=168195&r1=168194&r2=168195&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/pojo/SpnegoNegTokenInitPOJO.java Wed May 4 14:17:47 2005
@@ -69,7 +69,7 @@
/** The integrity flag */
private boolean integFlag;
- /** The req falgs expected length */
+ /** The req flags expected length */
private int reqFlagsExpectedLength;
/** The mechanism tokens */
@@ -80,6 +80,9 @@
/** The mechanism list MIC */
private OctetString mechListMIC;
+
+ /** The mechanism List MIC expected length */
+ private int mechListMICExpectedLength;
//~ Constructors -------------------------------------------------------------------------------
@@ -114,6 +117,9 @@
// Set the mechToken expected length
mechTokenExpectedLength = 0;
+
+ // Set the mechListMIC expected length
+ mechListMICExpectedLength = 0;
}
//~ Methods ------------------------------------------------------------------------------------
@@ -148,11 +154,13 @@
mechTypeListCurrentSize = 0;
+ // Reset the expected lengths
negTokenInitSequenceExpectedLength = 0;
mechTypesExpectedLength = 0;
mechTypeListExpectedLength = 0;
mechTokenExpectedLength = 0;
reqFlagsExpectedLength = 0;
+ mechListMICExpectedLength = 0;
// Resets the flag to false.
delegFlag = false;
@@ -459,5 +467,19 @@
*/
public void setReqFlagsExpectedLength(int reqFlagsExpectedLength) {
this.reqFlagsExpectedLength = reqFlagsExpectedLength;
+ }
+
+ /**
+ * @return Returns the mechListMICExpectedLength.
+ */
+ public int getMechListMICExpectedLength() {
+ return mechListMICExpectedLength;
+ }
+
+ /**
+ * @param mechListMICExpectedLength The mechListMICExpectedLength to set.
+ */
+ public void setMechListMICExpectedLength(int mechListMICExpectedLength) {
+ this.mechListMICExpectedLength = mechListMICExpectedLength;
}
}