public static org.ietf.jgss.GSSManager getInstance()
createCredential
public org.ietf.jgss.GSSCredential createCredential(int usage)
throws org.ietf.jgss.GSSException
Specified by:
createCredential in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createCredential
public org.ietf.jgss.GSSCredential createCredential(org.ietf.jgss.GSSName name,
int lifetime,
org.ietf.jgss.Oid mech,
int usage)
throws org.ietf.jgss.GSSException
Specified by:
createCredential in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createCredential
public org.ietf.jgss.GSSCredential createCredential(org.ietf.jgss.GSSName name,
int lifetime,
org.ietf.jgss.Oid[] mechs,
int usage)
throws org.ietf.jgss.GSSException
Specified by:
createCredential in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createContext
public org.ietf.jgss.GSSContext createContext(org.ietf.jgss.GSSName peer,
org.ietf.jgss.Oid mech,
org.ietf.jgss.GSSCredential cred,
int lifetime)
throws org.ietf.jgss.GSSException
Specified by:
createContext in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createContext
public org.ietf.jgss.GSSContext createContext(org.ietf.jgss.GSSCredential cred)
throws org.ietf.jgss.GSSException
Specified by:
createContext in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createContext
public org.ietf.jgss.GSSContext createContext(byte[] interProcessToken)
throws org.ietf.jgss.GSSException
Specified by:
createContext in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
checkMechanism
public static void checkMechanism(org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
org.ietf.jgss.GSSException
getMechs
public org.ietf.jgss.Oid[] getMechs()
Specified by:
getMechs in class org.ietf.jgss.GSSManager
getNamesForMech
public org.ietf.jgss.Oid[] getNamesForMech(org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
Specified by:
getNamesForMech in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
getMechsForName
public org.ietf.jgss.Oid[] getMechsForName(org.ietf.jgss.Oid nameType)
Specified by:
getMechsForName in class org.ietf.jgss.GSSManager
createName
public org.ietf.jgss.GSSName createName(java.lang.String nameStr,
org.ietf.jgss.Oid nameType)
throws org.ietf.jgss.GSSException
Specified by:
createName in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createName
public org.ietf.jgss.GSSName createName(byte[] name,
org.ietf.jgss.Oid nameType)
throws org.ietf.jgss.GSSException
Specified by:
createName in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createName
public org.ietf.jgss.GSSName createName(java.lang.String nameStr,
org.ietf.jgss.Oid nameType,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
Specified by:
createName in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
createName
public org.ietf.jgss.GSSName createName(byte[] name,
org.ietf.jgss.Oid nameType,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
Specified by:
createName in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
addProviderAtFront
public void addProviderAtFront(java.security.Provider p,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
Specified by:
addProviderAtFront in class org.ietf.jgss.GSSManager
org.ietf.jgss.GSSException
addProviderAtEnd
public void addProviderAtEnd(java.security.Provider p,
org.ietf.jgss.Oid mech)
throws org.ietf.jgss.GSSException
Specified by:
addProviderAtEnd in class org.ietf.jgss.GSSManager