public Oid getMech() throws GSSException { if (mechCtxt != null) { return mechCtxt.getMech(); } return mechOid; }
/** * Creates a GSSContextImpl out of a previously exported GSSContext. * * @see #isTransferable */ public GSSContextImpl(GSSManagerImpl gssManager, byte[] interProcessToken) throws GSSException { this.gssManager = gssManager; mechCtxt = gssManager.getMechanismContext(interProcessToken); initiator = mechCtxt.isInitiator(); this.mechOid = mechCtxt.getMech(); }