org.apache.directory.server.kerberos.shared.io.decoder
Class EncryptedTimestampDecoder

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.io.decoder.EncryptedTimestampDecoder
All Implemented Interfaces:
Decoder, DecoderFactory

public class EncryptedTimestampDecoder
extends java.lang.Object
implements Decoder, DecoderFactory

padata-type ::= PA-ENC-TIMESTAMP padata-value ::= EncryptedData -- PA-ENC-TS-ENC PA-ENC-TS-ENC ::= SEQUENCE { patimestamp[0] KerberosTime, -- client's time pausec[1] INTEGER OPTIONAL }


Constructor Summary
EncryptedTimestampDecoder()
           
 
Method Summary
 Encodable decode(byte[] encodedEncryptedTimestamp)
           
protected  EncryptedTimeStamp decodeEncryptedTimestamp(org.apache.directory.shared.asn1.der.DERSequence sequence)
           
 Decoder getDecoder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncryptedTimestampDecoder

public EncryptedTimestampDecoder()
Method Detail

getDecoder

public Decoder getDecoder()
Specified by:
getDecoder in interface DecoderFactory

decode

public Encodable decode(byte[] encodedEncryptedTimestamp)
                 throws java.io.IOException
Specified by:
decode in interface Decoder
Throws:
java.io.IOException

decodeEncryptedTimestamp

protected EncryptedTimeStamp decodeEncryptedTimestamp(org.apache.directory.shared.asn1.der.DERSequence sequence)


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