private KrbAsReqBuilder resolve() throws KrbException, Asn1Exception, IOException {
  if (ktab != null) {
    rep.decryptUsingKeyTab(ktab,req,cname);
  }
 else {
    rep.decryptUsingPassword(password,req,cname);
  }
  if (rep.getPA() != null) {
    if (paList == null || paList.length == 0) {
      paList=rep.getPA();
    }
 else {
      int extraLen=rep.getPA().length;
      if (extraLen > 0) {
        int oldLen=paList.length;
        paList=Arrays.copyOf(paList,paList.length + extraLen);
        System.arraycopy(rep.getPA(),0,paList,oldLen,extraLen);
      }
    }
  }
  return this;
}

private KrbAsReqBuilder resolve ( ) throws KrbException , Asn1Exception , IOException { if ( ktab != null ) { rep . decryptUsingKeyTab ( ktab , req , cname ) ; } else { rep . decryptUsingPassword ( password , req , cname ) ; } if ( rep . getPA ( ) != null ) { if ( paList == null || paList . length == 0 ) { paList = rep . getPA ( ) ; } else { int extraLen = rep . getPA ( ) . length ; if ( extraLen > 0 ) { int oldLen = paList . length ; paList = Arrays . copyOf ( paList , paList . length + extraLen ) ; System . arraycopy ( rep . getPA ( ) , 0 , paList , oldLen , extraLen ) ; } } } return this ; }
parses as - rep , decrypts enc - part , retrieves ticket and session key
