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

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

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

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

Constructor Summary
EncryptedTimestampEncoder()
           
 
Method Summary
 byte[] encode(Encodable encryptedTimestamp)
          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
 

Constructor Detail

EncryptedTimestampEncoder

public EncryptedTimestampEncoder()
Method Detail

encode

public byte[] encode(Encodable encryptedTimestamp)
              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

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.