org.apache.directory.server.kerberos.shared.io.decoder
Class EncryptedTimestampDecoder
java.lang.Object
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
}
- Version:
- $Rev: 502338 $, $Date: 2007-02-01 20:59:43 +0100 (Thu, 01 Feb 2007) $
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EncryptedTimestampDecoder
public EncryptedTimestampDecoder()
getDecoder
public Decoder getDecoder()
- Description copied from interface:
DecoderFactory
- Returns the
Decoder
.
- Specified by:
getDecoder
in interface DecoderFactory
- Returns:
- The
Decoder
.
decode
public Encodable decode(byte[] encodedEncryptedTimestamp)
throws java.io.IOException
- Description copied from interface:
Decoder
- Decodes the byte array into an
Encodable
object.
- Specified by:
decode
in interface Decoder
- Returns:
- The
Encodable
object.
- Throws:
java.io.IOException
decodeEncryptedTimestamp
protected EncryptedTimeStamp decodeEncryptedTimestamp(org.apache.directory.shared.asn1.der.DERSequence sequence)
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.