directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1034774 - in /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey: EncryptionKeyGrammar.java EncryptionKeyStatesEnum.java actions/EncryptionKeyKeyType.java
Date Sat, 13 Nov 2010 14:50:39 GMT
Author: elecharny
Date: Sat Nov 13 14:50:38 2010
New Revision: 1034774

URL: http://svn.apache.org/viewvc?rev=1034774&view=rev
Log:
Minor javadoc fixes

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyStatesEnum.java
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/actions/EncryptionKeyKeyType.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java?rev=1034774&r1=1034773&r2=1034774&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyGrammar.java
Sat Nov 13 14:50:38 2010
@@ -63,7 +63,7 @@ public final class EncryptionKeyGrammar 
         super.transitions = new GrammarTransition[EncryptionKeyStatesEnum.LAST_ENCKEY_STATE.ordinal()][256];
 
         // ============================================================================================
-        // PaData 
+        // EncryptionKey 
         // ============================================================================================
         // --------------------------------------------------------------------------------------------
         // Transition from EncryptionKey init to EncryptionKey SEQ OF
@@ -74,7 +74,7 @@ public final class EncryptionKeyGrammar 
             new EncryptionKeyInit() );
         
         // --------------------------------------------------------------------------------------------
-        // Transition from EncryptionKey SEQ to padata-type tag
+        // Transition from EncryptionKey SEQ to key-type tag
         // --------------------------------------------------------------------------------------------
         // EncryptionKey         ::= SEQUENCE {
         //       keytype     [0]
@@ -83,25 +83,26 @@ public final class EncryptionKeyGrammar 
             new CheckNotNullLength() );
         
         // --------------------------------------------------------------------------------------------
-        // Transition from EncryptionKey type tag to padata-type
+        // Transition from EncryptionKey type tag to key-type value
         // --------------------------------------------------------------------------------------------
         // EncryptionKey         ::= SEQUENCE {
-        //       keytype     [1] Int32
+        //       keytype     [0] Int32
         super.transitions[EncryptionKeyStatesEnum.ENCKEY_TYPE_TAG_STATE.ordinal()][UniversalTag.INTEGER.getValue()]
= new GrammarTransition(
             EncryptionKeyStatesEnum.ENCKEY_TYPE_TAG_STATE, EncryptionKeyStatesEnum.ENCKEY_TYPE_STATE,
UniversalTag.INTEGER.getValue(),
             new EncryptionKeyKeyType() );
         
         // --------------------------------------------------------------------------------------------
-        // Transition from padata-type to padata-value tag
+        // Transition from key-type to key-value tag
         // --------------------------------------------------------------------------------------------
         // EncryptionKey         ::= SEQUENCE {
+        //          ...
         //          keyvalue    [2]
         super.transitions[EncryptionKeyStatesEnum.ENCKEY_TYPE_STATE.ordinal()][KerberosConstants.ENCRYPTION_KEY_VALUE_TAG]
= new GrammarTransition(
             EncryptionKeyStatesEnum.ENCKEY_TYPE_STATE, EncryptionKeyStatesEnum.ENCKEY_VALUE_TAG_STATE,
KerberosConstants.ENCRYPTION_KEY_VALUE_TAG,
             new CheckNotNullLength() );
         
         // --------------------------------------------------------------------------------------------
-        // Transition from padata-value tag to padata-value
+        // Transition from key-value tag to key-value value
         // --------------------------------------------------------------------------------------------
         // EncryptionKey         ::= SEQUENCE {
         //          keyvalue    [2] OCTET STRING
@@ -111,9 +112,6 @@ public final class EncryptionKeyGrammar 
     }
 
 
-    // ~ Methods
-    // ------------------------------------------------------------------------------------
-
     /**
      * Get the instance of this grammar
      * 

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyStatesEnum.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyStatesEnum.java?rev=1034774&r1=1034773&r2=1034774&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyStatesEnum.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/EncryptionKeyStatesEnum.java
Sat Nov 13 14:50:38 2010
@@ -34,20 +34,20 @@ import org.apache.directory.shared.kerbe
 public enum EncryptionKeyStatesEnum implements States
 {
     // Start
-    START_STATE,                  // 0
+    START_STATE,             // 0
     
-    ENCKEY_SEQ_STATE,           // 1
+    ENCKEY_SEQ_STATE,        // 1
     
-    ENCKEY_TYPE_TAG_STATE,      // 2
+    ENCKEY_TYPE_TAG_STATE,   // 2
     
-    ENCKEY_TYPE_STATE,          // 3
+    ENCKEY_TYPE_STATE,       // 3
     
     ENCKEY_VALUE_TAG_STATE,  // 4
     
     ENCKEY_VALUE_STATE,      // 5
     
     // End
-    LAST_ENCKEY_STATE; // 6
+    LAST_ENCKEY_STATE;       // 6
 
     
     /**

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/actions/EncryptionKeyKeyType.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/actions/EncryptionKeyKeyType.java?rev=1034774&r1=1034773&r2=1034774&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/actions/EncryptionKeyKeyType.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/encryptionKey/actions/EncryptionKeyKeyType.java
Sat Nov 13 14:50:38 2010
@@ -79,7 +79,8 @@ public class EncryptionKeyKeyType extend
         }
 
         EncryptionKey encKey = encKeyContainer.getEncryptionKey();
-        // The PaData's type is an integer
+        
+        // The Key type is an integer
         Value value = tlv.getValue();
 
         try



Mime
View raw message