Class GSSUPName


  • public class GSSUPName
    extends Object
    This class implements the GSSAPI exported name functionality as required by CSIV2.

    GSSAPI stands for Generic Security Service Application Program Interface

    Author:
    Sekhar Vajjhala
    • Constructor Detail

      • GSSUPName

        public GSSUPName​(String username,
                         String realm)
      • GSSUPName

        public GSSUPName​(byte[] GSSExportedName)
        Construct a GSSUPName from an exported name. This constructor is for use on the server side.
    • Method Detail

      • getExportedName

        public byte[] getExportedName()
        returns and exported name as an array of 1 or more UTF8 characters.
      • getRealm

        public String getRealm()
      • getUser

        public String getUser()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • main

        public static void main​(String[] args)