Class GSSUtils


  • public class GSSUtils
    extends Object
    Author:
    Sekhar Vajjhala (Almost complete rewrite of an old version)
    • Field Detail

      • GSSUP_MECH_OID

        public static final Oid GSSUP_MECH_OID
      • GSS_NT_EXPORT_NAME_OID

        public static final Oid GSS_NT_EXPORT_NAME_OID
      • GSS_NT_SCOPED_USERNAME_OID

        public static final Oid GSS_NT_SCOPED_USERNAME_OID
    • Constructor Detail

      • GSSUtils

        public GSSUtils()
    • Method Detail

      • dumpHex

        public static String dumpHex​(byte[] octets)
      • createMechIndToken

        public static byte[] createMechIndToken​(Oid mechoid,
                                                byte[] mechtok)
                                         throws GSSException
        Throws:
        GSSException
      • getMechToken

        public static byte[] getMechToken​(Oid oid,
                                          byte[] token)
      • getMechanism

        public static byte[] getMechanism()
        Return the ASN.1 encoded representation of a GSS mechanism identifier. Currently only the GSSUP Mechanism is supported.
      • main

        public static void main​(String[] args)