| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | inquireSecContext(InquireType type)
Implements com. Return the mechanism-specific attribute associated with |
| ExtendedGSSContextImpl | back to summary |
|---|---|
| public ExtendedGSSContextImpl(GSSContextImpl old) | |
| inquireSecContext | back to summary |
|---|---|
| public Object inquireSecContext(InquireType type) throws GSSException Implements com. Doc from com. Return the mechanism-specific attribute associated with Example:
GSSContext ctxt = m.createContext(...)
// Establishing the context
if (ctxt instanceof ExtendedGSSContext) {
ExtendedGSSContext ex = (ExtendedGSSContext)ctxt;
try {
Key key = (key)ex.inquireSecContext(
InquireType.KRB5_GET_SESSION_KEY);
// read key info
} catch (GSSException gsse) {
// deal with exception
}
}
| |