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
}
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()
- 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-2009 Apache Software Foundation. All Rights Reserved.