Module jcifs

Class AvTargetName

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

public class AvTargetName extends AvPair
NTLMSSP AV pair representing target name information in NTLM authentication. Contains the name of the target server or service being authenticated against.
Author:
mbechler
  • Constructor Details

    • AvTargetName

      public AvTargetName(byte[] raw)
      Constructs an AvTargetName from raw byte data
      Parameters:
      raw - the raw byte data for the target name AV pair
    • AvTargetName

      public AvTargetName(String targetName)
      Constructs an AvTargetName with the specified target name
      Parameters:
      targetName - the target name string to encode
  • Method Details

    • getTargetName

      public String getTargetName()
      Gets the target name from this AV pair
      Returns:
      the target name