Examples of update()


Examples of com.itextpdf.text.pdf.PdfPKCS7.update()

        }
      }

      PdfPKCS7 pkcs7 = new PdfPKCS7(privateKey, chain, null, digestType.getAlgorithm(), null, false);
      byte[] authenticatedAttributes = pkcs7.getAuthenticatedAttributeBytes(hash, calendar, oscp);
      pkcs7.update(authenticatedAttributes, 0, authenticatedAttributes.length);
      pkcs7.setLocation(this.request.getLocation());
      pkcs7.setReason(this.request.getReason());

      if (tsc == null) {
        pkcs7.setSignDate(calendar);
View Full Code Here

Examples of com.jbidwatcher.auction.AuctionEntry.update()

  public void messageAction(Object deQ) {
    if (deQ instanceof String && StringTools.isNumberOnly((String)deQ)) {
      AuctionEntry ae = EntryCorral.getInstance().takeForRead((String) deQ);
      if (ae != null) {
        boolean lostAuction = !ae.hasAuction();
        ae.update();
        if (lostAuction) AuctionsManager.getInstance().addEntry(ae);
        return;
      }
    }
View Full Code Here

Examples of com.jcabi.github.Contents.update()

            contents.create(
                MkContentsTest.content(path, message, initial).build()
            ).json().getString(cont),
            Matchers.is(initial)
        );
        contents.update(
            path, MkContentsTest.content(path, message, updated).build()
        );
        MatcherAssert.assertThat(
            contents.get(path, "master").json().getString(cont),
            Matchers.is(updated)
View Full Code Here

Examples of com.jcasey.controller.Manager.update()

    book.setTitle("Gone with the wind");
   
    book = manager.addBook(book);
   
    book.setAuthor("Margaret Mitchell");
    book = manager.update(book);
   
    book.setTitle("Gone With The Wind");
    book = manager.update(book);
   
    manager.deleteBook(book.getBookId());
View Full Code Here

Examples of com.jcraft.jzlib.CRC32.update()

      }
      return reply_int(0);
    }
    case CRC32_1: {
      CRC32 crc = new CRC32();
      crc.update(cmd.array(), cmd.arrayOffset()+cmd.position(), cmd.remaining());
      return reply_int((int) crc.getValue());
    }
    case CRC32_2: {
      CRC32 crc = new CRC32();
      long init = cmd.getInt() & 0xffffffffL;
View Full Code Here

Examples of com.jme.renderer.Camera.update()

    Camera cam = renderer.getCamera();

    // initialize the perspective
    cam.setFrustumPerspective(60.0f, (float) display.getWidth()
        / (float) display.getHeight(), nearFrustrum, farFrustrum);
    cam.update();

    // initialize the control scheme
    chaseCam = new MouseLookCamera(cam, player.getControlledObject(), root,
        15, 0, 0);
  }
View Full Code Here

Examples of com.jme3.renderer.Camera.update()

        head.attachChild(cameraBody);
       
        Camera cam = defaultCamera.clone();
        cam.setViewPort(0f, 0.5f, 0.5f, 1.0f);
        cam.setFrustumFar(500);
        cam.update();
       
        CameraNode camNode = new CameraNode("camera", cam);
        camNode.setControlDir(CameraControl.ControlDirection.SpatialToCamera);
        camNode.rotate((float) Math.PI / 2, (float) Math.PI, 0);
        camNode.move(-6, -50 / 2 + 15 / 2, 8 + 3);
View Full Code Here

Examples of com.knowgate.jcifs.util.HMACT64.update()

            byte[] hash = new byte[16];
            byte[] response = new byte[24];
            MD4 md4 = new MD4();
            md4.update(password.getBytes("UnicodeLittleUnmarked"));
            HMACT64 hmac = new HMACT64(md4.digest());
            hmac.update(user.toUpperCase().getBytes("UnicodeLittleUnmarked"));
            hmac.update(domain.toUpperCase().getBytes("UnicodeLittleUnmarked"));
            hmac = new HMACT64(hmac.digest());
            hmac.update(challenge);
            hmac.update(clientChallenge);
            hmac.digest(response, 0, 16);
View Full Code Here

Examples of com.knowgate.jcifs.util.MD4.update()

        } catch( UnsupportedEncodingException uee ) {
            if( DebugFile.trace )
                new ErrorHandler(uee);
        }
        MD4 md4 = new MD4();
        md4.update( uni );
        try {
            md4.digest(p21, 0, 16);
        } catch (Exception ex) {
            if( DebugFile.trace )
                new ErrorHandler(ex);
View Full Code Here

Examples of com.knowgate.misc.MD5.Update()

  public static String computeContentMD5(byte[] byArray) {
    String sContentMD5;
    MD5 oMd5 = new MD5();
    oMd5.Init();
    oMd5.Update(byArray);
    sContentMD5 = Gadgets.toHexString(oMd5.Final());
    oMd5 = null;
    return sContentMD5;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.