org.exoplatform.services.security.sso.spnego.message
Class AbstractSequence<T extends MessagePart>

java.lang.Object
  extended by org.exoplatform.services.security.sso.spnego.message.AbstractMessagePart
      extended by org.exoplatform.services.security.sso.spnego.message.AbstractSequence<T>
All Implemented Interfaces:
MessagePart
Direct Known Subclasses:
MechTypeList, NegTokenInit, NegTokenTarg

public abstract class AbstractSequence<T extends MessagePart>
extends AbstractMessagePart

Author:
Martin Algesten

Field Summary
 
Fields inherited from interface org.exoplatform.services.security.sso.spnego.message.MessagePart
TYPE_APPLICATION_CONSTRUCTED_OBJECT, TYPE_BIT_STRING, TYPE_ENUMERATED, TYPE_NEG_TOKEN_INIT, TYPE_NEG_TOKEN_TARG, TYPE_OCTET_STRING, TYPE_OID, TYPE_SEQUENCE
 
Constructor Summary
AbstractSequence()
           
 
Method Summary
protected abstract  T createInstance(ParseState state)
           
 int getDerType()
          
protected abstract  LinkedList<T> getParts()
           
 void parse(ParseState state)
          
protected abstract  void setParts(LinkedList<T> parts)
           
 int[] toDer()
          
 
Methods inherited from class org.exoplatform.services.security.sso.spnego.message.AbstractMessagePart
arraycopy, arraycopy, calculateDerLength, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSequence

public AbstractSequence()
Method Detail

getDerType

public int getDerType()


getParts

protected abstract LinkedList<T> getParts()

createInstance

protected abstract T createInstance(ParseState state)

setParts

protected abstract void setParts(LinkedList<T> parts)

toDer

public int[] toDer()


parse

public void parse(ParseState state)



Copyright © 2009 eXo Platform SAS. All Rights Reserved.