| java.lang.Object sun.security.jgss.GSSCredentialImpl
GSSCredentialImpl | public class GSSCredentialImpl implements GSSCredential(Code) | | |
Inner Class :static class SearchKey | |
Constructor Summary | |
| GSSCredentialImpl(GSSManagerImpl gssManager, int usage) | | GSSCredentialImpl(GSSManagerImpl gssManager, GSSName name, int lifetime, Oid mech, int usage) | | GSSCredentialImpl(GSSManagerImpl gssManager, GSSName name, int lifetime, Oid mechs, int usage) | public | GSSCredentialImpl(GSSManagerImpl gssManager, GSSCredentialSpi mechElement) |
GSSCredentialImpl | GSSCredentialImpl(GSSManagerImpl gssManager, GSSName name, int lifetime, Oid mech, int usage) throws GSSException(Code) | | |
GSSCredentialImpl | GSSCredentialImpl(GSSManagerImpl gssManager, GSSName name, int lifetime, Oid mechs, int usage) throws GSSException(Code) | | |
add | public void add(GSSName name, int initLifetime, int acceptLifetime, Oid mech, int usage) throws GSSException(Code) | | |
dispose | public void dispose() throws GSSException(Code) | | |
getElement | public GSSCredentialSpi getElement(Oid mechOid, boolean initiate) throws GSSException(Code) | | Returns the specified mechanism's credential-element.
Parameters: mechOid - - the oid for mechanism to retrieve Parameters: throwExcep - - boolean indicating if the function isto throw exception or return null when element is notfound. mechanism credential object exception: GSSException - of invalid mechanism |
getMechs | public Oid[] getMechs() throws GSSException(Code) | | |
getName | public GSSName getName() throws GSSException(Code) | | |
getName | public GSSName getName(Oid mech) throws GSSException(Code) | | |
getRemainingAcceptLifetime | public int getRemainingAcceptLifetime(Oid mech) throws GSSException(Code) | | |
getRemainingInitLifetime | public int getRemainingInitLifetime(Oid mech) throws GSSException(Code) | | |
getRemainingLifetime | public int getRemainingLifetime() throws GSSException(Code) | | Returns the remaining lifetime of this credential. The remaining
lifetime is defined as the minimum lifetime, either for initiate or
for accept, across all elements contained in it. Not terribly
useful, but required by GSS-API.
|
getUsage | public int getUsage() throws GSSException(Code) | | Returns the usage mode for this credential. Returns
INITIATE_AND_ACCEPT if any one element contained in it supports
INITIATE_AND_ACCEPT or if two different elements exist where one
support INITIATE_ONLY and the other supports ACCEPT_ONLY.
|
getUsage | public int getUsage(Oid mech) throws GSSException(Code) | | |
hashCode | public int hashCode()(Code) | | Returns a hashcode value for this GSSCredential.
a hashCode value |
|
|