} );
String decodedPdu = Strings.dumpBytes(stream.array());
stream.flip();
PaEncTsEncContainer paEncTsEncContainer = new PaEncTsEncContainer();
try
{
krbDecoder.decode( stream, paEncTsEncContainer );
}
catch ( DecoderException de )
{
fail( de.getMessage() );
}
PaEncTsEnc paEncTsEnc = paEncTsEncContainer.getPaEncTsEnc();
assertEquals( "20101010234545Z", paEncTsEnc.getPaTimestamp().toString() );
assertEquals( -1, paEncTsEnc.getPausec() );
ByteBuffer bb = ByteBuffer.allocate( paEncTsEnc.computeLength() );