1 7 8 package org.ietf.jgss; 9 10 import sun.security.jgss.spi.*; 11 import java.util.Vector ; 12 import java.util.Enumeration ; 13 14 80 public interface GSSName { 81 82 92 public static final Oid NT_HOSTBASED_SERVICE 93 = Oid.getInstance("1.3.6.1.5.6.2"); 94 95 102 public static final Oid NT_USER_NAME 103 = Oid.getInstance("1.2.840.113554.1.2.1.1"); 104 105 113 public static final Oid NT_MACHINE_UID_NAME 114 = Oid.getInstance("1.2.840.113554.1.2.1.2"); 115 116 125 public static final Oid NT_STRING_UID_NAME 126 = Oid.getInstance("1.2.840.113554.1.2.1.3"); 127 128 134 public static final Oid NT_ANONYMOUS 135 = Oid.getInstance("1.3.6.1.5.6.3"); 136 137 145 public static final Oid NT_EXPORT_NAME 146 = Oid.getInstance("1.3.6.1.5.6.4"); 147 148 162 public boolean equals(GSSName another) throws GSSException ; 163 164 175 public boolean equals(Object another); 176 177 182 public int hashCode(); 183 184 201 public GSSName canonicalize(Oid mech) throws GSSException ; 202 203 235 public byte[] export() throws GSSException ; 236 237 245 public String toString(); 246 247 259 public Oid getStringNameType() throws GSSException ; 260 261 266 public boolean isAnonymous(); 267 268 275 public boolean isMN(); 276 277 } 278 | Popular Tags |