Chaum blind signature

Hello,
I'm trying to implement the chaum blind signature using java.security.Signature
Signature sig = Signature.getInstance("MD5WithRSA");
sig.initSign(Main.prvk);
sig.update(mesageCB.getTokenBlinded().toByteArray());
byte[] tokenSig = sig.sign();
but when I tryed to get the signed token, from the blinded signed token my signature won't validate anymore. So I printed
BigInteger d=((RSAPrivateCrtKeyImpl)Main.prvk).getPrivateExponent();
BigInteger e=((RSAPrivateCrtKeyImpl)Main.prvk).getPublicExponent();
BigInteger n=((RSAPrivateCrtKeyImpl)Main.prvk).getModulus();
"mesajCB.gettokenOrbit().modPow(d,n)" and it's difrent from
"new BigInteger(tokenSig)"
Is that normal? How is the rsa signature implemented? How can I get my blind signature to work using java.security.Signature.
Thank you, and I apologise for my bad english!

Hi, I'm implementing a blind signature service as well. In your code you use MD5WithRSA algorithm to sign the message, the result is different from
mesajCB.gettokenOrbit().modPow(d,n) because here you're signing the message without hashing it with MD5 algorithm.

Similar Messages

  • Plz Plz Help:

    Hi all
    i have posted a question before on Anonymous server as well. Can any one plz tell me , how can i implement Anonymous Server in java. Plzplz help its urgent..
    Thanks in anticipation
    regards
    waqas

    Hi ggainey
    Thanks a lot for ur time and help , wud plz answer my following few questions
    1- I've worked a bit in Socket programming,but i dont have a grip on it. My first question is can i build all of my server 's totally by using Sockets, i mean is it possible to build my servers with out using JSP's and Servlets...im askin u koz im new in network programming( Actaully i am thinking to build All of my Server's GUI on JBuilder and then communicate among them using Sockets..Is IT Possible??? if its not possible then what shud i do in order to build this Distributed System(Actually this is my undertgraduate project i.e. Secure Electronic Voting , and i have never use JAVA on such a large scale and im really confused what to do...so plz plz plz help me a little))
    2-What is JSF? and what do u mean by " You need to understand javax.mail.* and SMTP to be a mailer." ..do u mean that i have to study thouroughly java.mail.* Package and SMTP Protocol i.e. may be u mean to study its RFC
    3- Do you know any Java library besides Cryptix and IAIK which implement cryptographic protocols like "Bit Committment and Blind Signatures"
    thanks a lot for taking some time from ur valuable time...plz try to mail at ur earlies....take care
    regards
    waqas

  • IPad HTML signature problems

    I have finally created an HTML email signature for the iPad after many hours of investigation.
    There are a number of issues because the iPad completely changes the HTML that you create when you copy and paste a rendered page.
    I now have an image on a server which has a link to it and it all works okay however there are 2 issues.
    1. When an email is sent to Outlook, Outook uses the default Times Roman font no matter how you try and force the correct font through HTML
    2. The image works okay but it requires you to right click on the image and download images for it to display. I know the reasons behind this but if you attach a photo to an email on the iPad it embeds the image and displays perfectly in Outlook without the need to download images.
    Does anyone know whether it is possible to fix either or both of these issues?
    Thanks

    There is no way but it does not matter since the recipient controls the layout and format of the email. It is a good thing for several reasons. For example, say I am color blind and you send html formatted using colors I can not separate from your background. Or, maybe you are sending an html tracking bug in your html email. Recipients must have control over their email. The sender must not have control.
    If foramt and layout matter to you, send your email/html page as a pdf attachment.

  • When I try to make a signature Im asked for a password

    Hi ,
    This i my problem I have a new computer that Adobe acrobat pro was installed on , I have never made a digital signature since its a new set up. when trying to make a new Digital Id it asking for a password that was never set up. I wanted to find out if there is a way to reset this or a work around to be able to make this digital signature.

    Your message shows you are trying to add a digital id. You do this to prepare for signing.
    When you do this, you see a place for "password". This isn't one you chose before, it's a new one, just for this digital id.
    And below that, it says "confirm password". You type the same password there. This is usual when typing a password "blind" - you can't see what you type, so it's a double check.
    So, you have the message "passwords do not match". That means you didn't type the same thing in both boxes.

  • Preview won't capture signature

    When I go to add a signature in Preview, I hold the signature up to the camera and nothing happens. I've seen videos of people doing the same thing and Preview instantaneously shows a preview of their signature. I do not have the same luck. Pressing Accept just closes the window and doesn't add a signature. I'm unsure what to do now, as I need to add a signature to a PDF document and would rather not take a picture of the screenshot and paste it into the original Word document.

    I had the same problem, quit Preview multiple times, but finally got it to work via blind luck. I arranged a bright light above and behind the computer, but even that wouldn't work until I took my paper with sig and sort of angled it toward the light (no longer parallel to the computer) until my preview appeared, then I could move the paper back to parallel and click Accept. The eye hand coordination for this was a bit challanging, so doubt I could accomplish this with even a mild blood alchohol %, so please do try my fix only when sober.
    Alas, just another item in the long list of bugs and Apple slipping on quality control. There was a time when Apple meant it just works (and I have been using Macs since the early 90s), but now Apple is the new Microsoft in my life. Constant annoyances and headaches. Surely Apple can pay the best of the best. The loser who signed off on this should be fired because he/she failed.
    Sorry Apple, but if you are going to take us all to the cleaners and lock out all competition and innovation, can you at least make stuff that works again?

  • ITunes & Windows Vista Home - Error File C:\Program Data\Apple Computer\Installer\Cache\iTunes 10.5.142\iTunes.msi was rejected by digital signature policy.

    Tried
    https://discussions.apple.com/thread/2713232?start=0&tstart=0
    and
    http://www.vistax64.com/vista-general/159940-computer-blocking-anything-no-digit al-signature.html
    with no avail!!!
    iTunes opens after I click OK on the above message however I cannot do anything within the app its like Windows it preventing it from running.
    PLEASE HELP!!!

    Update:
    I tried what the diagnostic told me to do, and repaired the installation. I was able to burn a CD in iTunes, but after I restarted, the drives have disappeared again! Here's the diagnostic info now:
    Microsoft Windows Vista Home Edition (Build 6000)
    MICRO-STAR INC. MS-6728
    iTunes 7.6.0.29
    QuickTime 7.4
    CD Driver 2.0.6.1
    CD Driver DLL 2.0.6.2
    Apple Mobile Device 1.1.3.26
    iTunes Serial Number 20D6EAF059AB94B4
    Current user is not an administrator.
    The current local date and time is 2008-01-15 19:09:32.
    iTunes is not running in safe mode.
    Video Display Information
    ATI Technologies Inc., Radeon X1600/X1650 Series
    ATI Technologies Inc., Radeon X1600/1650 Series Secondary
    ** External Plug-ins Information **
    Plug-in Name: Last.fm iTunes plugin
    Plug-in Loaded: Yes
    Plug-in Version: 0.0.13
    Plug-in File Version: 2.0.13.0
    Plug-in Path: C:\Program Files\iTunes\Plug-ins\itw_scrobbler.dll
    No drives showed up to be tested.

  • How can I create more than one different signatures for one account or for one address?

    I want to vreate 2 jr more signatures for one account. For example, in different languages, with different text, etc.

    Take a look at this add-on.
    https://addons.mozilla.org/en-US/thunderbird/addon/signature-switch/

  • One person on one computer adding multiple electronic IDs or signatures to one document

    I recently created a simple form in Adobe LiveCycle Designer 8.  It has several places for signatures.  I sent along with the form the Adobe user guide instructions for creating electronic IDs and signatures.  However, in several instances, our executives have given their administrative assistants permission to sign for them.  The assistants are also required to add their own signatures.  Apparently, when they click on any signature field, their bosses' signatures come up.  Can someone tell me how one person can create multiple electronic signatures and be able to select from among them in order to fill out one of these forms?

    When a user is signing a form, the digital certificates that are installed (in Acrobat) on the computer being used to sign the PDF will be available to be used to create the signature.  If only the "bosses" certificate is on the machine, this will be the only on available.  Make sure all certificate that could be used to sign are installed on the machine being used to sign.
    This screen shot is from the security settings in Acrobat, it shows multiple certifcates are installed.
    And here is the signature dialog with the option to use one of the installed certificates on the machine...
    Hope this helps.
    Steve

  • How do i add a company logo to my email signature on my mac book pro

    how do i add a company logo to my email signature on my mac book pro

    I would like to know how to do this as well. All I'm able to do is add the link, but not the button. My colleague has done this on his Outlook on his HP. I'm not sure why this is so difficult!

  • How can I properly attach an Email 'business card' signature?

    Hi,
    I was wondering if there were any better ways to attach a business card signature with mail.
    Currently I have a small business card that I have optimized to around 60 kb, I use the signature feature in Mail to drag it in and add my standard business disclaimer stuff underneath.
    Thing is if I send it to another MacMail account it displays fine but if I send it to Gmail or Yahoo it appears as a seperate attachment that needs to be downloaded etc.
    Is there anyway round this? A way for it to just appear under the text of my email for any Email host or software without it appearing as an attachment. Outlook seems to allow the function and I'm allways receiving full page HTML graphical advertisments in my inbox, simular to the ones when you get a receipt etc, should I use the same principals?
    I'd also like to know if I can make it link to my website using some code from Image Shack or similar online host.
    Many thanks.

    Hi, have you gone to Mail>Edit>Attachments>Always send Windows friendly attachments?

  • How do I add a digital signature to Word 2011?

    I am at a loss at to adding a digital signature to Word 2011 docs on my macbook pro, any ideas???

    Formscentral does not support forms with digital signature workflows. I suggest you see if our Echosign product meets your needs.

  • Issue in Java concurrent program for Digital Signature Stamping

    Hi All,
    Im calling a Java concurrent program which does digital signature stamping on the PDF report generated.Program able to able to read the PDF file as input and also digital signature stored as file in the application but
    ends in error in create signature method , need help in this regard.
    Error:
    Parameter 0 is Request id of with out Digital signature file
    Parameter 1 is employee id of approver
    Parameter:0:99203256
    Parameter:1:1414603
    $$$$ start query fileinfo with callable statment
    programName>>>>>>>>BTPOPORPXML
    $$$$ Without digital Signature file Name $$$
    $/inst_top/finprod/apps/FINPROD_CPNQERPAAPZP10/logs/appl/conc/out/BTPOPORPXML_99203256_1.PDF
    PFX File Reading Start
    PFX File Reading Ends
    PFX File size is: 6460 Byte size is: 6460
    Elements present
    java.lang.NullPointerException
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.getAppearance
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at
    com.lowagie.text.pdf.PdfSignatureAppearance.preClose
    (Unknown Source)
    at com.lowagie.text.pdf.PdfStamper.close(Unknown
    Source)
    at
    btvl.oracle.apps.po.digsig.BTVLDigSign.runProgram
    (BTVLDigSign.java:151)
    at oracle.apps.fnd.cp.request.Run.main
    (Run.java:157)
    Edited by: 999033 on May 16, 2013 7:20 PM

    Hi Charls,
    I have successfully implemented at our end in 11i. Pl.try at your end.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST (passed your arguments... );
    COMMIT;
    IF NVL( v_request_id , 0 ) = 0 THEN
    DBMS_OUTPUT.PUT_LINE( 'Item Assignment to Organization Program Not Submitted');
    p_status := 'FAILURE' ;
    p_err_msg := 'ERROR RAISED AFTER SUBMITTING THE IMPORT ITEM ORG.ASSIGNMENT CONCURRENT REQUEST ... ' ;          
    ELSE
    v_finished := FND_CONCURRENT.WAIT_FOR_REQUEST
    request_id => v_request_id,
    interval => 0,
    max_wait => 0,
    phase => v_phase,
    status => v_status,
    dev_phase => v_request_phase,
    dev_status => v_request_status,
    message => v_message
    LOOP
    EXIT WHEN ( UPPER(v_request_phase) = 'COMPLETE' OR v_phase = 'C');
    END LOOP;
    HTH                    
    Sanjay

  • Can I create PAdES signature using Adobe Acrobat 8.0 or 9.0?

    Hi
    Can I create PAdES (PDF Advanced Electronic Signatures, Technical Specification ETSI TS 102 778) signature using Adobe Acrobat 8.0 or 9.0?
    ETSI Technical Specification (TS) 102 778 contains five parts:
    • Part 1: PAdES Overview – a framework document for PAdES
    • Part 2: PAdES Basic – Profile based on ISO 32000-1
    • Part 3: PAdES Enhanced – PAdES-Basic Electronic Signatures and PAdES-Explicit Policy Electronic Signatures Profiles
    • Part 4: PAdES Long Term – PAdES-Long Term Validation Profile
    • Part 5: PAdES for XML Content – Profiles for XAdES signatures of XML content in PDF files
    All five parts were published on 31 July 2009.
    Thanks for answer.
    Dragan

    Hi,
    The short answer is yes.
    Acrobat 8 and later support all of requirements of PAdES such as serial signing, long term validation (time stamping and embedded revocation responses) and signatures in the PKCS#7 format.
    Steve

  • Update on 10.6.8 fails due to digital signature on update is missing

    wanting to install the Parallels version 10 and it won't work on 10.6.8 version of my Mac OS so I learned how to go to the software update which indicates an update is available. When I go ahead and load the update it runs fine and then stops with a message that the Macbook Pro EFI Firmware Update can't be saved. It says the digital signature on the update is missing or invalid.
    I don't know if the digital signature is on my computer or the update? I would upgrade to a more recent version of the OS but don't know what will work.
    Can anyone help?
    Dan

    Parallels 10 isn't compatible with 10.6 according to the web site.
    Mac Requirements
    Hardware:
    A Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor (Core Solo and Core Duo processors are no longer supported)
    Minimum 2 GB of memory (4 GB of memory is recommended to run Windows 7 in a virtual machine or if your host OS is Lion)
    About 850 MB of disk space on the boot volume (Macintosh HD) for Parallels Desktop installation
    About 15 GB of disk space for each virtual machine
    Software:
    OS X Yosemite 10.10 or later
    OS X Mavericks 10.9.4 or later
    Mac OS X Mountain Lion 10.8.5 or later
    Mac OS X Lion 10.7.5 or later
    Check that your computer is compatible with Mountain Lion/Mavericks/Yosemite.
    To check the model number hold down the option/alt key, go to the Apple menu and select System Information.
    MacBook (Late 2008 Aluminum, or Early 2009 or newer) model number 5,1 or higher
    MacBook Pro (Mid/Late 2007 or newer) model number 3,1 or higher
    Your Mac needs:
    OS X v10.6.8 or OS X Lion already installed
    2 GB or more of memory (More is better - 4 GB minimum seems to be the consensus)
    8 GB or more of available space
    Check to make sure your applications are compatible. PowerPC applications are no longer supported after 10.6.      
    Application Compatibility
    Applications Compatibility (2)
    Do a backup before installing. 
    If you can/do upgrade, I recommend you make a copy of the installer and move it out of your Applications folder. The installer self-destructs. The copy will keep you from having to download the installer again.  You can make a bootable USB stick to install using this free program.
    Bootable USB Flash Drive – Diskmaker X
    Mountain Lion
    Note - Mavericks is no longer available.

  • Making Multiple Digital Signatures Read-only in Form (Acrobat 9)

    I have created a form which includes two (2) digital signature fields.  What needs to occur with the form is Person1 fills the form and then digitally signs it thereby making the form fields read-only .  Person2 then digitally signs the form which should make Person1's digital signature read-only.
    Here's what I've done:
    1) For the Person1 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields except these> and selected the Person2 digital signature field.
    2) For the Person2 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields> since once Person2 signs the form I do not want Person1 to be able to clear the digital signature and make changes to the form.
    Here's what actually occurs:
    Step 1 above works fine.  Once the signature is applied all the form fields are read-only except for the Person2 digital signature field.
    The problem is that after Person2 digitally signs the form, even though I selected all fields as read-only, Person1 can 'clear' their signature which leaves all the form fields available for editing and leaves Person2's digital signature still on the form.
    I honestly don't care about 'validating' signatures on this form since it's going to be printed but I cannot allow Person2's signature to remain on the form and allow Person1 to edit the form.
    --Mike.

    Hi!
    I have the same problem. Have not been able to figure it out, although tried everything.
    Hope somebody can help
    - MackeMan

Maybe you are looking for

  • IPhone 6 battery life draining since 8.1 update

    Is anyone else having problems with their iPhone 6 battery life diminishing since the latest 8.1 update? I notice I'm getting much less usage time per hour. For example, before 8.1, it would take about 3 hours of usage time to get to 70%. Now it only

  • For-each loops

    while working in jbuilder2005 i want to use for-each loops i see following error; " for-each loops are not supported in -source 1.2 (try -source 1.5 to enable for-each loops) " i configured the jdk libraries source to jdk1.5 even then i found problem

  • CS5 Bug - Moving layers

    In the past two weeks I've noticed a weird problem with my Photoshop CS5.  I'm on Windows 7 64-bit with CS5 version 12.0.4 X64.  Sometimes (not always) when I click a layer in the layer menu and try to move it with the move tool, it jumps to a differ

  • Premiere Pro CS3 - Preset & Media File Questions

    Volunteered to create a high school football highlight video using Premiere Pro CS3 on a Mac.  The video will be shown in a banquet hall using a NEC projector attached to the ceiling.  The hall owner doesn't have any info on the projector, so I don't

  • Microsoft windows threat of infection warring on my MAC with safari

    I am getting this message and not sure why on my mac with safari, i have popup blocker on, this just started a few days ago. Anyone have a reason why i am getting this and how to stop it ? Your browser is under the threat of infection. windows requir