Module jcifs

Class AvTimestamp

java.lang.Object
org.codelibs.jcifs.smb.ntlmssp.av.AvPair
org.codelibs.jcifs.smb.ntlmssp.av.AvTimestamp

public class AvTimestamp extends AvPair
NTLMSSP AV pair representing timestamp information in NTLM authentication. Contains time-based data used to prevent replay attacks and ensure message freshness.
Author:
mbechler
  • Constructor Details

    • AvTimestamp

      public AvTimestamp(byte[] raw)
      Constructs an AvTimestamp from raw byte data
      Parameters:
      raw - the raw byte data for the timestamp AV pair
    • AvTimestamp

      public AvTimestamp(long ts)
      Constructs an AvTimestamp with the specified timestamp value
      Parameters:
      ts - the timestamp value in Windows FILETIME format
  • Method Details

    • getTimestamp

      public long getTimestamp()
      Gets the timestamp value from this AV pair
      Returns:
      the timestamp