| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential. |
| public int | Returns: the accept lifetime remaining in secondsReturns the accept lifetime remaining. |
| public int | Returns: the init lifetime remaining in secondsReturns the init lifetime remaining. |
| public Oid | Returns: the Oid for this credential mechanismReturns the oid representing the underlying credential mechanism oid. |
| public GSSNameSpi | Returns: GSSNameSpi representing principal name of this credentialReturns the principal name for this credential. |
| public Provider | |
| public GSSCredentialSpi | Returns: the new credentialthe client to impersonate name)Impersonates another client. |
| public boolean | Returns: true if it can be used for accepting contextsDetermines if this credential element can be used by a context acceptor. |
| public boolean | Returns: true if it can be used for initiating contextsDetermines if this credential element can be used by a context initiator. |
| dispose | back to summary |
|---|---|
| public void dispose() throws GSSException Called to invalidate this credential element and release any system recourses and cryptographic information owned by the credential.
| |
| getAcceptLifetime | back to summary |
|---|---|
| public int getAcceptLifetime() throws GSSException Returns the accept lifetime remaining.
| |
| getInitLifetime | back to summary |
|---|---|
| public int getInitLifetime() throws GSSException Returns the init lifetime remaining.
| |
| getMechanism | back to summary |
|---|---|
| public Oid getMechanism() Returns the oid representing the underlying credential mechanism oid.
| |
| getName | back to summary |
|---|---|
| public GSSNameSpi getName() throws GSSException Returns the principal name for this credential. The name is in mechanism specific format.
| |
| getProvider | back to summary |
|---|---|
| public Provider getProvider() | |
| impersonate | back to summary |
|---|---|
| public GSSCredentialSpi impersonate(GSSNameSpi name) throws GSSException Impersonates another client.
| |
| isAcceptorCredential | back to summary |
|---|---|
| public boolean isAcceptorCredential() throws GSSException Determines if this credential element can be used by a context acceptor.
| |
| isInitiatorCredential | back to summary |
|---|---|
| public boolean isInitiatorCredential() throws GSSException Determines if this credential element can be used by a context initiator.
| |