You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by ad...@apache.org on 2007/05/15 17:30:05 UTC

svn commit: r538217 [9/10] - in /labs/dungeon/trunk: ./ asn1-compiler/ asn1-compiler/src/ asn1-compiler/src/main/ asn1-compiler/src/main/antlr/ asn1-compiler/src/main/java/ asn1-compiler/src/main/java/org/ asn1-compiler/src/main/java/org/apache/ asn1-c...

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,80 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.ber;
+
+import com.acme.spnego.NegTokenInit;
+import com.acme.spnego.NegTokenTarg;
+import com.acme.spnego.NegotiationToken;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public class NegotiationTokenDecoder implements org.apache.asn1.encoding.ber.BERDecoder
+{
+    protected org.apache.asn1.encoding.ber.BERDecoder negTokenInitDecoder;
+    protected org.apache.asn1.encoding.ber.BERDecoder negTokenTargDecoder;
+
+    public NegotiationTokenDecoder()
+    {
+        negTokenInitDecoder = new NegTokenInitDecoder();
+        negTokenTargDecoder = new NegTokenTargDecoder();
+    }
+
+    public org.apache.asn1.runtime.ASN1Type decode( java.io.InputStream stream ) throws org.apache.asn1.encoding.DecoderException
+    {
+        return decode( new org.apache.asn1.encoding.ber.BERInputStream( stream ) );
+    }
+
+    public org.apache.asn1.runtime.ASN1Type decode( org.apache.asn1.encoding.ber.BERInputStream stream ) throws org.apache.asn1.encoding.DecoderException
+    {
+        NegotiationToken negotiationToken = new NegotiationToken();
+
+        try
+        {
+            stream.loadImplicitIdentificaiton();
+            if ( stream.getTypeClass() != org.apache.asn1.encoding.ber.TypeClass.CONTEXT_SPECIFIC ) throw new org.apache.asn1.encoding.DecoderException( "Invalid type class" );
+            if ( !stream.isConstructed() ) throw new org.apache.asn1.encoding.DecoderException( "Identifier not constructed" );
+
+            int tag = stream.getTag();
+            switch ( stream.getTag() )
+            {
+                case 0:
+                {
+                    negotiationToken.setNegTokenInit( (NegTokenInit) negTokenInitDecoder.decode( stream ) );
+                    break;
+                }
+                case 1:
+                {
+                    negotiationToken.setNegTokenTarg( (NegTokenTarg) negTokenTargDecoder.decode( stream ) );
+                    break;
+                }
+                default:
+                {
+                    throw new org.apache.asn1.encoding.DecoderException( "Invalid TAG read: " + tag );
+                }
+            }
+        }
+        catch ( java.io.IOException ioe )
+        {
+            throw new org.apache.asn1.encoding.DecoderException( ioe );
+        }
+
+        return negotiationToken;
+    }
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/ber/NegotiationTokenEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,106 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.ber;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public class NegotiationTokenEncoder implements org.apache.asn1.encoding.ber.BEREncoder
+{
+    protected final org.apache.asn1.encoding.ber.BEREncoder negTokenInitEncoder;
+    protected final org.apache.asn1.encoding.ber.BEREncoder negTokenTargEncoder;
+
+    public NegotiationTokenEncoder()
+    {
+        negTokenInitEncoder = new NegTokenInitEncoder();
+        negTokenTargEncoder = new NegTokenTargEncoder();
+    }
+
+    public void encode( java.io.OutputStream stream, org.apache.asn1.runtime.ASN1Type object ) throws org.apache.asn1.encoding.EncoderException
+    {
+        if ( !( object instanceof com.acme.spnego.NegotiationToken ) )
+        {
+            throw new org.apache.asn1.encoding.EncoderException( "Object not instance of NegotiationTokenType" );
+        }
+
+        com.acme.spnego.NegotiationToken negotiationToken = (com.acme.spnego.NegotiationToken) object;
+
+        if ( !negotiationToken.isConsistent() )
+        {
+            throw new org.apache.asn1.encoding.EncoderException( "NegotiationToken is not consistent." );
+        }
+
+        encode( new org.apache.asn1.encoding.ber.BEROutputStream( stream ), object );
+    }
+
+    public int length( int tagNumber, org.apache.asn1.runtime.ASN1Type object ) throws org.apache.asn1.encoding.EncoderException
+    {
+        com.acme.spnego.NegotiationToken negotiationToken = (com.acme.spnego.NegotiationToken) object;
+
+        int length;
+
+        length = contentLength( tagNumber, negotiationToken );
+
+        return length;
+    }
+
+    public void encode( org.apache.asn1.encoding.ber.BEROutputStream out, org.apache.asn1.runtime.ASN1Type object ) throws org.apache.asn1.encoding.EncoderException
+    {
+        com.acme.spnego.NegotiationToken negotiationToken = (com.acme.spnego.NegotiationToken) object;
+
+        try
+        {
+            if ( negotiationToken.getNegTokenInit() != null )
+            {
+                out.encodeExplicit( org.apache.asn1.encoding.ber.TypeClass.CONTEXT_SPECIFIC, false, 0 );
+                out.encodeLengthBegin( negTokenInitEncoder.length( 0, negotiationToken.getNegTokenInit() ) );
+                negTokenInitEncoder.encode( out, negotiationToken.getNegTokenInit() );
+                out.encodeLengthEnd();
+            }
+            if ( negotiationToken.getNegTokenTarg() != null )
+            {
+                out.encodeExplicit( org.apache.asn1.encoding.ber.TypeClass.CONTEXT_SPECIFIC, false, 1 );
+                out.encodeLengthBegin( negTokenTargEncoder.length( 1, negotiationToken.getNegTokenTarg() ) );
+                negTokenTargEncoder.encode( out, negotiationToken.getNegTokenTarg() );
+                out.encodeLengthEnd();
+            }
+        }
+        catch ( java.io.IOException ioe )
+        {
+            throw new org.apache.asn1.encoding.EncoderException( ioe );
+        }
+    }
+
+
+    protected int contentLength( int tagNumber, com.acme.spnego.NegotiationToken negotiationToken ) throws org.apache.asn1.encoding.EncoderException
+    {
+        int length = 0;
+
+        if ( negotiationToken.getNegTokenInit() != null )
+        {
+            length = org.apache.asn1.encoding.ber.Util.incrementLength( length, org.apache.asn1.encoding.ber.Util.calculateLength( tagNumber, negTokenInitEncoder.length( 0, negotiationToken.getNegTokenInit() ) ) );
+        }
+        if ( negotiationToken.getNegTokenTarg() != null )
+        {
+            length = org.apache.asn1.encoding.ber.Util.incrementLength( length, org.apache.asn1.encoding.ber.Util.calculateLength( tagNumber, negTokenTargEncoder.length( 1, negotiationToken.getNegTokenTarg() ) ) );
+        }
+
+        return length;
+    }
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.ContextFlagsDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/ContextFlagsEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.ContextFlagsDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.MechTypeDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.MechTypeEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.MechTypeListDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/MechTypeListEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.MechTypeListEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegTokenInitDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenInitEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.NegTokenInitEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegTokenTargDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegTokenTargEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.NegTokenTargEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegotiationTokenDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegotiationTokenDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/cer/NegotiationTokenEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.cer;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegotiationTokenEncoder extends org.apache.asn1.encoding.com.acme.spnego.der.NegotiationTokenEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.ContextFlagsDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/ContextFlagsEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.MechTypeDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.MechTypeListDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/MechTypeListEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegTokenInitDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenInitEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegTokenTargDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegTokenTargEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,26 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegotiationTokenDecoder extends org.apache.asn1.encoding.com.acme.spnego.ber.NegotiationTokenDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/der/NegotiationTokenEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,41 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.der;
+
+import java.io.OutputStream;
+
+import org.apache.asn1.encoding.Encoder;
+import org.apache.asn1.encoding.EncoderException;
+import org.apache.asn1.runtime.ASN1Type;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public class NegotiationTokenEncoder implements Encoder
+{
+    public void encode( OutputStream stream, ASN1Type object ) throws EncoderException
+    {
+        //todo: consider this autogenerated code
+    }
+
+    public int length( ASN1Type object ) throws EncoderException
+    {
+        return 0;  //todo: consider this autogenerated code
+    }
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/ContextFlagsEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class ContextFlagsEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/MechTypeListEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class MechTypeListEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenInitEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenInitEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargDecoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegTokenTargEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,25 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+/**
+ * @version $Revision: 123525 $ $Date: $
+ */
+public class NegTokenTargEncoder
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenDecoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenDecoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenDecoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenDecoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,36 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+import java.io.InputStream;
+
+import org.apache.asn1.encoding.Decoder;
+import org.apache.asn1.runtime.ASN1Type;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public class NegotiationTokenDecoder implements Decoder
+{
+    public ASN1Type decode( InputStream stream )
+    {
+        return null;  //todo: consider this autogenerated code
+    }
+
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenEncoder.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenEncoder.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenEncoder.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/encoding/com/acme/spnego/per/NegotiationTokenEncoder.java Tue May 15 08:29:41 2007
@@ -0,0 +1,41 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.encoding.com.acme.spnego.per;
+
+import java.io.OutputStream;
+
+import org.apache.asn1.encoding.Encoder;
+import org.apache.asn1.encoding.EncoderException;
+import org.apache.asn1.runtime.ASN1Type;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public class NegotiationTokenEncoder implements Encoder
+{
+    public void encode( OutputStream stream, ASN1Type object ) throws EncoderException
+    {
+        //todo: consider this autogenerated code
+    }
+
+    public int length( ASN1Type object ) throws EncoderException
+    {
+        return 0;  //todo: consider this autogenerated code
+    }
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/encoding/EncodingFactoryTest.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/encoding/EncodingFactoryTest.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/encoding/EncodingFactoryTest.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/encoding/EncodingFactoryTest.java Tue May 15 08:29:41 2007
@@ -0,0 +1,139 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.test.encoding;
+
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import com.acme.spnego.MechType;
+import com.acme.spnego.MechTypeList;
+import com.acme.spnego.NegTokenInit;
+import com.acme.spnego.NegotiationToken;
+import junit.framework.TestCase;
+
+import org.apache.asn1.encoding.Decoder;
+import org.apache.asn1.encoding.Encoder;
+import org.apache.asn1.encoding.EncodingFactory;
+import org.apache.asn1.encoding.EncodingFactoryDefault;
+import org.apache.asn1.runtime.ASN1ObjectIdentifier;
+import org.apache.asn1.runtime.ASN1OctetString;
+import org.apache.asn1.runtime.ASN1Type;
+
+
+/**
+ * @version $Revision: 531147 $ $Date: $
+ */
+public class EncodingFactoryTest extends TestCase
+{
+    public final static TestOID KERBEROS_V5_LEGACY = new TestOID( "1.2.840.48018.1.2.2" );
+    public final static byte[] header = new byte[]{(byte) 0xa0, (byte) 0x82, (byte) 0x05, (byte) 0xd8,
+            (byte) 0x30, (byte) 0x82, (byte) 0x05, (byte) 0xd4,
+            (byte) 0xA0, (byte) 0x18,
+            (byte) 0x30, (byte) 0x16,
+            (byte) 0x06, (byte) 0x09, (byte) 0x2a, (byte) 0x86, (byte) 0x48, (byte) 0x82, (byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02, (byte) 0x02,
+            (byte) 0x06, (byte) 0x09, (byte) 0x2a, (byte) 0x86, (byte) 0x48, (byte) 0x86, (byte) 0xf7, (byte) 0x12, (byte) 0x01, (byte) 0x02, (byte) 0x02,
+            (byte) 0xA2, (byte) 0x82, (byte) 0x05, (byte) 0xb6,
+            (byte) 0x04, (byte) 0x82, (byte) 0x05, (byte) 0xb2};
+
+
+    public void testGetEncoder() throws Exception
+    {
+        Encoder encoder = EncodingFactory.getEncoder( "ber", NegotiationToken.class );
+        Encoder encoderCopy = EncodingFactory.getEncoder( "ber", NegotiationToken.class );
+
+        assertSame( encoder, encoderCopy );
+    }
+
+    public void testNegotiationTokenEncoding() throws Exception
+    {
+        Encoder encoder = EncodingFactory.getEncoder( "ber", NegotiationToken.class );
+
+        NegotiationToken negotiationToken = new NegotiationToken();
+        NegTokenInit negTokenInit = new NegTokenInit();
+        negotiationToken.setNegTokenInit( negTokenInit );
+
+        negTokenInit.setMechTypes( new MechTypeList() );
+        negTokenInit.getMechTypes().add( new MechType( KERBEROS_V5_LEGACY ) );
+        negTokenInit.getMechTypes().add( new MechType( new int[]{1, 2, 840, 113554, 1, 2, 2} ) );
+        negTokenInit.setMechToken( new ASN1OctetString( new byte[1458] ) );
+
+        ByteArrayOutputStream out = new ByteArrayOutputStream();
+        encoder.encode( out, negotiationToken );
+
+        byte[] result = out.toByteArray();
+
+        assertEquals( 1500, result.length );
+
+        for ( int i = 0; i < header.length; i++ )
+        {
+            assertEquals( header[i], result[i] );
+        }
+
+        for ( int i = header.length; i < result.length; i++ )
+        {
+            assertEquals( 0x00, result[i] );
+        }
+    }
+
+    public void testGetDecoder() throws Exception
+    {
+        Decoder decoder = EncodingFactory.getDecoder( "ber", NegotiationToken.class );
+        Decoder decoderCopy = EncodingFactory.getDecoder( "ber", NegotiationToken.class );
+
+
+        assertSame( decoder, decoderCopy );
+    }
+
+    public void testNegotiationTokenDecoding() throws Exception
+    {
+        Decoder decoder = EncodingFactory.getDecoder( "ber", NegotiationToken.class );
+        byte[] message = new byte[1500];
+        System.arraycopy( header, 0, message, 0, header.length );
+
+        ASN1Type result = decoder.decode( new ByteArrayInputStream( message ) );
+    }
+
+    public void setUp()
+    {
+        EncodingFactory.register( new EncodingFactoryDefault( "ber" ) );
+    }
+
+    static class TestOID extends ASN1ObjectIdentifier
+    {
+        public TestOID( String oid )
+        {
+            super( oid );
+        }
+
+        public TestOID( ASN1ObjectIdentifier oid )
+        {
+            super( oid );
+        }
+
+        public TestOID( int id[] )
+        {
+            super( id );
+        }
+
+        public TestOID( ASN1ObjectIdentifier oid, int id[] )
+        {
+            super( oid, id );
+        }
+    }
+
+}
+

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/test/runtime/ASN1ObjectIdentifierTest.java Tue May 15 08:29:41 2007
@@ -0,0 +1,102 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.test.runtime;
+
+import junit.framework.TestCase;
+
+import org.apache.asn1.runtime.ASN1ObjectIdentifier;
+
+
+/**
+ * @version $Revision: 531147 $ $Date: $
+ */
+public class ASN1ObjectIdentifierTest extends TestCase
+{
+
+    public void testStringConstructor() throws Exception
+    {
+        ASN1ObjectIdentifier oid = new ASN1ObjectIdentifier( "1.3.6.1.5.5.2" );
+
+        assertTrue( oid.isConsistent() );
+        assertEquals( 7, oid.size() );
+        assertEquals( 1, oid.getId( 0 ) );
+        assertEquals( 3, oid.getId( 1 ) );
+        assertEquals( 6, oid.getId( 2 ) );
+        assertEquals( 1, oid.getId( 3 ) );
+        assertEquals( 5, oid.getId( 4 ) );
+        assertEquals( 5, oid.getId( 5 ) );
+        assertEquals( 2, oid.getId( 6 ) );
+
+        try
+        {
+            oid = new ASN1ObjectIdentifier( "1.34e.42.5" );
+            fail( "Misformated OID should have caused a NumberFormatException" );
+        }
+        catch ( NumberFormatException nfe )
+        {
+        }
+    }
+
+    public void testArrayConstructor() throws Exception
+    {
+        ASN1ObjectIdentifier oid = new ASN1ObjectIdentifier( new int[]{1, 3, 6, 1, 5, 5, 2} );
+
+        assertTrue( oid.isConsistent() );
+        assertEquals( 7, oid.size() );
+        assertEquals( 1, oid.getId( 0 ) );
+        assertEquals( 3, oid.getId( 1 ) );
+        assertEquals( 6, oid.getId( 2 ) );
+        assertEquals( 1, oid.getId( 3 ) );
+        assertEquals( 5, oid.getId( 4 ) );
+        assertEquals( 5, oid.getId( 5 ) );
+        assertEquals( 2, oid.getId( 6 ) );
+    }
+
+    public void testCopyConstructor() throws Exception
+    {
+        ASN1ObjectIdentifier oid1 = new ASN1ObjectIdentifier( new int[]{1, 3, 6, 1, 5, 5, 2} );
+        ASN1ObjectIdentifier oid2 = new ASN1ObjectIdentifier( oid1 );
+
+        assertTrue( oid2.isConsistent() );
+        assertEquals( 7, oid2.size() );
+        assertEquals( 1, oid2.getId( 0 ) );
+        assertEquals( 3, oid2.getId( 1 ) );
+        assertEquals( 6, oid2.getId( 2 ) );
+        assertEquals( 1, oid2.getId( 3 ) );
+        assertEquals( 5, oid2.getId( 4 ) );
+        assertEquals( 5, oid2.getId( 5 ) );
+        assertEquals( 2, oid2.getId( 6 ) );
+    }
+
+    public void testCopyArrayConstructor() throws Exception
+    {
+        ASN1ObjectIdentifier oid1 = new ASN1ObjectIdentifier( new int[]{1, 3, 6, 1, 5, 5, 2} );
+        ASN1ObjectIdentifier oid2 = new ASN1ObjectIdentifier( oid1, new int[]{1} );
+
+        assertTrue( oid2.isConsistent() );
+        assertEquals( 8, oid2.size() );
+        assertEquals( 1, oid2.getId( 0 ) );
+        assertEquals( 3, oid2.getId( 1 ) );
+        assertEquals( 6, oid2.getId( 2 ) );
+        assertEquals( 1, oid2.getId( 3 ) );
+        assertEquals( 5, oid2.getId( 4 ) );
+        assertEquals( 5, oid2.getId( 5 ) );
+        assertEquals( 2, oid2.getId( 6 ) );
+        assertEquals( 1, oid2.getId( 7 ) );
+    }
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/ContextFlagsType.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/ContextFlagsType.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/ContextFlagsType.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/ContextFlagsType.java Tue May 15 08:29:41 2007
@@ -0,0 +1,26 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.types.com.acme.spnego;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public interface ContextFlagsType extends org.apache.asn1.runtime.ASN1TypeFlag
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeListType.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeListType.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeListType.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeListType.java Tue May 15 08:29:41 2007
@@ -0,0 +1,26 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.types.com.acme.spnego;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public interface MechTypeListType extends org.apache.asn1.runtime.ASN1TypeFlag
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeType.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeType.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeType.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/MechTypeType.java Tue May 15 08:29:41 2007
@@ -0,0 +1,26 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.types.com.acme.spnego;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public interface MechTypeType extends org.apache.asn1.runtime.ASN1TypeFlag
+{
+}

Added: labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/NegTokenInitType.java
URL: http://svn.apache.org/viewvc/labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/NegTokenInitType.java?view=auto&rev=538217
==============================================================================
--- labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/NegTokenInitType.java (added)
+++ labs/dungeon/trunk/asn1-runtime/src/test/java/org/apache/asn1/types/com/acme/spnego/NegTokenInitType.java Tue May 15 08:29:41 2007
@@ -0,0 +1,26 @@
+/**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.asn1.types.com.acme.spnego;
+
+
+/**
+ * @version $Revision: 208868 $ $Date: $
+ */
+public interface NegTokenInitType extends org.apache.asn1.runtime.ASN1TypeFlag
+{
+}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org