Example #1
0
  private void init(int tokenId, Krb5Context context) throws GSSException {
    this.tokenId = tokenId;
    // Just for consistency check in Wrap
    this.confState = context.getConfState();

    this.initiator = context.isInitiator();

    this.have_acceptor_subkey = context.getKeySrc() == Krb5Context.ACCEPTOR_SUBKEY;

    this.cipherHelper = context.getCipherHelper(null);
    //    debug("In MessageToken.Cons");
  }