GetTargetInformation() public method

Returns the target information block.
Returns the target information block.
public GetTargetInformation ( ) : byte[]
return byte[]
Example #1
0
        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()));
        }
Example #2
0
		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());
		}