org.apache.directory.server.kerberos.shared.io.encoder
Class EncApRepPartEncoder

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.encoder.EncApRepPartEncoder
All Implemented Interfaces:
Encoder, EncoderFactory

public class EncApRepPartEncoder
extends java.lang.Object
implements Encoder, EncoderFactory

Version:
$Rev: 540371 $, $Date: 2007-05-22 02:00:43 +0200 (Di, 22 Mai 2007) $
Author:
Apache Directory Project

Field Summary
static int APPLICATION_CODE
          The application code constant for the EncApRepPart (27).
 
Constructor Summary
EncApRepPartEncoder()
           
 
Method Summary
 byte[] encode(Encodable apRepPart)
          Encodes an ASN.1 Encodable object into a byte array.
 Encoder getEncoder()
          Returns an Encoder.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APPLICATION_CODE

public static final int APPLICATION_CODE
The application code constant for the EncApRepPart (27).

See Also:
Constant Field Values
Constructor Detail

EncApRepPartEncoder

public EncApRepPartEncoder()
Method Detail

getEncoder

public Encoder getEncoder()
Description copied from interface: EncoderFactory
Returns an Encoder.

Specified by:
getEncoder in interface EncoderFactory
Returns:
The Encoder.

encode

public byte[] encode(Encodable apRepPart)
              throws java.io.IOException
Description copied from interface: Encoder
Encodes an ASN.1 Encodable object into a byte array.

Specified by:
encode in interface Encoder
Returns:
The byte array.
Throws:
java.io.IOException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.