1 7 8 package org.ietf.jgss; 9 10 import java.security.Provider ; 11 12 122 public abstract class GSSManager { 123 124 129 public static GSSManager getInstance() { 130 return new sun.security.jgss.GSSManagerImpl(); 131 } 132 133 146 public abstract Oid [] getMechs(); 147 148 170 public abstract Oid [] getNamesForMech(Oid mech) 171 throws GSSException ; 172 173 189 public abstract Oid [] getMechsForName(Oid nameType); 190 191 226 public abstract GSSName createName(String nameStr, Oid nameType) 227 throws GSSException ; 228 229 257 public abstract GSSName createName(byte name[], Oid nameType) 258 throws GSSException ; 259 260 290 public abstract GSSName createName(String nameStr, Oid nameType, 291 Oid mech) throws GSSException ; 292 293 320 public abstract GSSName createName(byte name[], Oid nameType, Oid mech) 321 throws GSSException ; 322 323 356 public abstract GSSCredential createCredential (int usage) 357 throws GSSException ; 358 359 405 public abstract GSSCredential createCredential (GSSName name, 406 int lifetime, Oid mech, int usage) 407 throws GSSException ; 408 409 462 public abstract GSSCredential createCredential(GSSName name, 463 int lifetime, Oid mechs[], int usage) 464 throws GSSException ; 465 466 504 public abstract GSSContext createContext(GSSName peer, Oid mech, 505 GSSCredential myCred, int lifetime) 506 throws GSSException ; 507 508 532 public abstract GSSContext createContext(GSSCredential myCred) 533 throws GSSException ; 534 535 567 public abstract GSSContext createContext(byte [] interProcessToken) 568 throws GSSException ; 569 570 643 public abstract void addProviderAtFront(Provider p, Oid mech) 644 throws GSSException ; 645 646 710 public abstract void addProviderAtEnd(Provider p, Oid mech) 711 throws GSSException ; 712 } 713 | Popular Tags |