org.apache.directory.shared.kerberos.codec.actions
Class AbstractReadEncryptionKey<E extends org.apache.directory.shared.asn1.ber.Asn1Container>

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>
      extended by org.apache.directory.shared.kerberos.codec.actions.AbstractReadEncryptionKey<E>
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.grammar.Action<E>
Direct Known Subclasses:
StoreKey, StoreKey, StoreKey, StoreSubKey, StoreSubKey

public abstract class AbstractReadEncryptionKey<E extends org.apache.directory.shared.asn1.ber.Asn1Container>
extends org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>

The action used to set the EncryptionKey

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
AbstractReadEncryptionKey(String name)
          Instantiates a new AbstractReadEncryptionKey action.
 
Method Summary
 void action(E container)
          
protected abstract  void setEncryptionKey(EncryptionKey encryptionKey, E container)
          set the EncryptionKey on the ASN.1 object of the container
 
Methods inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReadEncryptionKey

public AbstractReadEncryptionKey(String name)
Instantiates a new AbstractReadEncryptionKey action.

Method Detail

setEncryptionKey

protected abstract void setEncryptionKey(EncryptionKey encryptionKey,
                                         E container)
set the EncryptionKey on the ASN.1 object of the container

Parameters:
encryptionKey - the EncryptionKey object
container - container holding the ASN.1 object

action

public final void action(E container)
                  throws org.apache.directory.shared.asn1.DecoderException

Throws:
org.apache.directory.shared.asn1.DecoderException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.