1 17 package org.alfresco.filesys.server.auth.ntlm; 18 19 24 public class NTLM 25 { 26 28 public static final byte[] Signature = "NTLMSSP\u0000".getBytes(); 29 30 32 public static final int Type1 = 1; 33 public static final int Type2 = 2; 34 public static final int Type3 = 3; 35 36 38 public static final int FlagNegotiateUnicode = 0x00000001; 39 public static final int FlagNegotiateOEM = 0x00000002; 40 public static final int FlagRequestTarget = 0x00000004; 41 public static final int FlagNegotiateSign = 0x00000010; 42 public static final int FlagNegotiateSeal = 0x00000020; 43 public static final int FlagDatagramStyle = 0x00000040; 44 public static final int FlagLanManKey = 0x00000080; 45 public static final int FlagNegotiateNTLM = 0x00000200; 46 public static final int FlagDomainSupplied = 0x00001000; 47 public static final int FlagWorkstationSupplied = 0x00002000; 48 public static final int FlagLocalCall = 0x00004000; 49 public static final int FlagAlwaysSign = 0x00008000; 50 public static final int FlagTypeDomain = 0x00010000; 51 public static final int FlagTypeServer = 0x00020000; 52 public static final int FlagTypeShare = 0x00040000; 53 public static final int FlagNTLM2Key = 0x00080000; 54 public static final int FlagTargetInfo = 0x00800000; 55 public static final int Flag128Bit = 0x20000000; 56 public static final int FlagKeyExchange = 0x40000000; 57 public static final int Flag56Bit = 0x80000000; 58 59 61 public static final int TargetServer = 0x0001; 62 public static final int TargetDomain = 0x0002; 63 public static final int TargetFullDNS = 0x0003; 64 public static final int TargetDNSDomain = 0x0004; 65 } 66 | Popular Tags |