public static byte[] GetNtlMv2Response(Type2Message type2, byte[] responseKeyNt, byte[] clientChallenge) { if (type2 == null || responseKeyNt == null || clientChallenge == null) { return(null); } long nanos1601 = (Runtime.CurrentTimeMillis() + MillisecondsBetween1970And1601) * 10000L; return(NtlmPasswordAuthentication.GetNtlMv2Response(responseKeyNt, type2.GetChallenge(), clientChallenge, nanos1601, type2.GetTargetInformation())); }
public static byte[] GetNtlMv2Response(Type2Message type2, byte[] responseKeyNt, byte[] clientChallenge) { if (type2 == null || responseKeyNt == null || clientChallenge == null) { return null; } long nanos1601 = (Runtime.CurrentTimeMillis() + MillisecondsBetween1970And1601 ) * 10000L; return NtlmPasswordAuthentication.GetNtlMv2Response(responseKeyNt, type2.GetChallenge (), clientChallenge, nanos1601, type2.GetTargetInformation()); }