パッケージ jcifs.ntlmssp.av

クラス AvPairs


  • public final class AvPairs
    extends Object
    作成者:
    mbechler
    • メソッドの詳細

      • decode

        public static List<AvPair> decode​(byte[] data)
                                   throws CIFSException
        Decode a list of AvPairs
        パラメータ:
        data -
        戻り値:
        individual pairs
        例外:
        CIFSException
      • contains

        public static boolean contains​(List<AvPair> pairs,
                                       int type)
        パラメータ:
        pairs -
        type -
        戻り値:
        whether the list contains a pair of that type
      • get

        public static AvPair get​(List<AvPair> pairs,
                                 int type)
        パラメータ:
        pairs -
        type -
        戻り値:
        first occurance of the given type
      • remove

        public static void remove​(List<AvPair> pairs,
                                  int type)
        Remove all occurances of the given type
        パラメータ:
        pairs -
        type -
      • replace

        public static void replace​(List<AvPair> pairs,
                                   AvPair rep)
        Replace all occurances of the given type
        パラメータ:
        pairs -
        rep -
      • encode

        public static byte[] encode​(List<AvPair> pairs)
        パラメータ:
        pairs -
        戻り値:
        encoded avpairs