java.lang.Object
org.codelibs.jcifs.smb.ntlmssp.av.AvPair
org.codelibs.jcifs.smb.ntlmssp.av.AvTimestamp
NTLMSSP AV pair representing timestamp information in NTLM authentication.
Contains time-based data used to prevent replay attacks and ensure message freshness.
- Author:
- mbechler
-
Field Summary
Fields inherited from class org.codelibs.jcifs.smb.ntlmssp.av.AvPair
MsvAvChannelBindings, MsvAvEOL, MsvAvFlags, MsvAvSingleHost, MsvAvTargetName, MsvAvTimestamp -
Constructor Summary
ConstructorsConstructorDescriptionAvTimestamp(byte[] raw) Constructs an AvTimestamp from raw byte dataAvTimestamp(long ts) Constructs an AvTimestamp with the specified timestamp value -
Method Summary
-
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
-