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

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

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

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
AuthenticatorEncoder()
           
 
Method Summary
 byte[] encode(Encodable authenticator)
          Encodes an Authenticator 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
 

Constructor Detail

AuthenticatorEncoder

public AuthenticatorEncoder()
Method Detail

encode

public byte[] encode(Encodable authenticator)
              throws java.io.IOException
Encodes an Authenticator into a byte array.

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

getEncoder

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

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


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