How to send a digital signature across sockets ?

i have wriiten java code for client server communication - the client sends a digital signature and the server verifies it using the public key .I have sent the signature as a string from the client to server.although the verification comes as true most of the times , some times it comes as "false" .i dont know why it comes that way .
so my question is ::: is there any problem in sending the digital signature as a string. if so , then how can i send it across sockets ?
i have used the necessary specs [ X509EncodedKeySpec , PKCS8EncodedKeySpec ] to write and read the private , public keys.so i dont think its a problem with the keys .
thank you :)
Edited by: itcoll on Dec 1, 2008 2:43 AM
Edited by: itcoll on Dec 1, 2008 2:54 AM

so my question is ::: is there any problem in sending the digital signature as a string.Depends how you constructed the string, how you sent it, and how you received it. Not knowing any of those things it is impossible to comment further.

Similar Messages

  • How to create a digital signature in adobe reader

    how to create a digital signature in adobe reader?

    Adobe Reader Touch (Windows Store app with "modern" UI) does not support any types of signatures yet.
    Digital Signatures with certificates
    Electronic Signatures (that are legally enforceable)
    Signature annotations (hand-writing annotations which may not be secure and legally enforceable)
    Adobe Reader XI (traditional desktop app with classic UI) supports #1 and #3.
    Adobe EchoSign supports #2.
    Adobe Reader for iOS/Android supports #3.

  • How to create a digital signature using mac

    C
    an someone tell me how to create a digital signature I can use to sign documents with?

    Launch the Preview application and search its built-in help for the term "signature."

  • How to create a digital signature formy Applet?

    who can tell me how to create a digital signature for my applet? i want details of the process, because i know nothing about it. Thank you very much!!!

    http://java.sun.com/docs/books/tutorial/security1.2/apisign/gensig.html

  • How does the LiveCycle Digital Signatures work?

    Hi,
    I´m new working with liveCycle, and I would like to know how it works at technical level.
    I have read documentation but I can not understand the procedure to generate the digital signature
    I appreciate someone explain a bit about it or send a link to a page with detailed information.
    Thank´s!

    Your question is pretty broad...
    What are you trying to achieve with your workflow?  For example, do you want to...
    Generate Digital Certificates (self-signed or otherwise)
    Have end users digitally sign PDF document or forms (with Acrobat Pro or Reader)
    Have the PDF document or forms digitally signed on the server side
    Validate the digital signature on the client
    Validate the digital signature on the server side
    I have attached a document that should help as well.
    Regards
    Steve

  • How to verify the digital signatures?

    Buyer has to send a certified interactive form to vendor, vendor has to digitally sign the form back. We need to verify the signature of the vendor only then start processing the form. How do I achiev this security. 
    1) How do I generate buyer certificate and attach to the form.
    2) I have created a signature field in the form, after the vendor signs it how do we check whether its the correct signature?
    Kindly specify the steps.
    Helpful answers will be rewarded.
    Regards,
    Vishal

    Hi Vishal,
    Check this Thread.
    Implement Digital Signature in Interactive form
    Regards,
    Mithu

  • Send a digital signature along with xml file

    My requirment is that I am to send a file along with digital signature,authorizing the envoys, which are conducted by the algorithm MD5
    (cryptographic algorithm reduction of 128 bits) and RSA PCKS1. How to send it and at receiver end(SOAP Adapter) how to authenticate it?
    What is  algorithm MD5 (cryptographic algorithm reduction of 128 bits) and RSA PCKS1?

    Hi Jaideep,
    do chk this links
    Using Digital Signatures in XI
    How to use Digital Certificates for Signing & Encrypting Messages in XI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9727ea90-0201-0010-be8e-b649280fe6ff
    Regards
    Sampath

  • How to add a digital signature in xml publisher report

    The problem is: There is a existing pick slip report.This is a xml publisher report and the data source is RDF. We have to add digital signature there. Now this signature is stored in a table with type Long Raw and format BMP. XML Publisher do not support Long Raw and BMP format. It supports BLOB and jpg format.
    Could you please guide how to add this signature in the existing RDF with datatype as BLOB and format as jpg.
    Please provide the steps with example.

    Hi,
    Have a look at this thread.
    Implementing electronic signatures on an existing AP check run
    Re: Implementing electronic signatures on an existing AP check run
    Regards,
    Hussein

  • How to do Multiple digital signatures?

    I have created a form in Acrobat 9 Pro with multiple digital signatures. This is an approval form that is emailed "up the chain of command".  I have enabled extended features in Adobe Reader so that users without Acrobat 9 can digitally sign the form.  I created the form and did a certified signature.  I then emailed it to a typical user who filled in the form and emailed it to her boss for a digital signature.  Her boss digitally signed it and emailed it to the CFO.  The CFO does not have Acrobat 9.  When she gets it, she gets the error message "This document enabled extended features in Adobe Reader.  The document has been changed since it was created and use of extended features is no longer available.  Please contact the author for the original version of this document."  How do I correct this?

    Steve,
    I wanted to test how cumbersome it would be to have the 2 staff members open with Adobe Reader instead of Creative Suite; however, I have not been able to find any option like "open with" in my outlook email.  Every time I try to open it defaults to my Acrobat 9 Pro to open the document.  Would the 2 staff members have to save the email and then use "open with" in order to by pass Creative Suite?
    Also I am not sure if you answered my question last time - Is it possible to just upgrade the Acrobat portion of Creative Suite or do you have to upgrade the entire Creative Suite just to get the newer Acrobat?  I will also be checking the upgrade link you sent.  Thanks.

  • How to deal with digital signatures when converting messages?

    Hi there,
    this it not (yet) about the actual implementation. It's more of a logical problem that I'm facing.
    There are two partners A and B. A is sending an EDIFACT document which is digitally signed to B.
    B has a XI instance that is converting all incoming messages into IDocs, in this particular case INVOIC. This IDoc is received by the R/3 system.
    All invoices must be archived due to an eventual tax inspection.
    In order to fulfill the security requirements all archived data must be digitally signed.
    So far so good.
    I guess I'm not allowed to sign my invoices with my own private key due to the fact that i could alter the containing data and sign it again.
    It's obvious that I cant apply the digital signature from the EDIFACT message to my IDoc because the data has changed and therefore the signature is invalid.
    The only solution to this problem, that I can imagine, is to archive EDIFACT alongside IDoc.
    Have you experienced a similar problem or do you have any other idea in order to solve this issue?
    I hope my problem is well defined.
    Any comment is appreciated.
    Thanks in advance
    Bastian Stratmann

    Hi Bastian,
    it is not possible to separate the signature from the document signed.
    The system A generates and EDIFACT message -> A has the responsibility on this message and so A sign it.
    XI manipulate the message received from A, that means XI generates a new message. -> XI has the responsibility on it, so if you want a signature this should be generated by XI.
    As the IDoc was generated by XI it cannot be signed by A (neither technically nor logically) because A has no responsibility on it.
    XI <b>is</b> altering the message so XI is responsible for it.
    In this case you have to store both the EDIFACT message and the IDOC and maybe sign this new document (EDIFACT+IDOC) with XI signature .
    Kind Regards,
    Sergio

  • Digital Signatures Across the Network

    Hello,
    We are currently working on a digital signature implementation across our network. What we want to do is set Acrobat to look for digital signatures in a specific location across all machines and profiles. In what ways could we possible accomplish this with out adjusting these settings for each profile on every machine?
    Any help is appreciated. Thanks.

    What kind of icon do you mean? A icon on a application? Please provide more detail about your requirement.
    Do you need this?  http://www.sevenforums.com/network-sharing/110543-possible-change-folder-icon-across-network.html
    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore,
    Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you
    completely understand the risk before retrieving any software from the Internet.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to add a digital signature to scanned document within oracle form (10g)

    Hi all
    I have a task to add an digital signature to our scanned document which will be saved at oracle database.
    Could any one till me form where I can start and how we can add this signature if it will need pluggable java component or web service or what.
    Thanks
    Bassem

    Thank you for an answer.
    >Do you want to actually sign the PDF or just place a signature field?
    I want to actually sign the PDF.
    >Do you want to do this on a desktop or a server (you mentioned command line)?
    I want to do this on a server(Windows server).

  • How can I create digital signatures for my users using Windows 2008 Active Directory Certificate Services?

    Hi,
    I need to create local digital signatures for my users. How can I do that using W2k8 Active Directory Certificate Services? We are gonna sign Office 2010 documents.
    What company offers cheap digital signatures solutions?
    Thanks in advanced

    Consider the following:
    if you use your local CA server to issue digital signature certificates, there is no cost, because you are eligible to issue so many certificates as you need. However, documents signed by these certificates will be considered trusted only within your AD
    forest and other machines that explicitly trust your local CA. Any external client will not trust your signatures.
    If you want to make your signature trusted outside your network (say, in worldwide), you need to pruchase a certificate from trusted commercial CA (VeriSign, GoDaddy, GlobalSign, StartCom, etc) according to respective vendor price list. In that case you
    don't need to have your local CA server, because it is not used. All certificate management is performed by the external CA. A most common scenario is to purchase signing certificate for particular departament principals (head managers) or few certificates
    for a whole company (all documents are revised by a responsible person or persons who holds signing certificate and sign them after review).
    so, it is not clear from your post what exactly you need.
    My weblog: http://en-us.sysadmins.lv
    PowerShell PKI Module: http://pspki.codeplex.com
    Windows PKI reference:
    on TechNet wiki

  • How to go about Digital Signature/Encryption for Purchase Orders

    Hi
    We would like to send the Purchase Orders through E-Mail to suppliers in SAP. As per our legal department recommendations, we must implement the digital signature/Encryption mechanism in SAP prior to send the PO's through email.
    I have no knowledge about available features, configuration requirements in SAP and required decryption machanism from Supplier side.
    Appreciate, if you could share your expertise on the above requirements.
    System details:
    SAP : 4.7 (MySAP ERP)
    WAS: 6:20 (Netweaver 2003 Oct)
    Regards
    Kumar

    Guess these documents will be very helpfull..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/55ba9790-0201-0010-aa98-ce8f51ea93cd
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7f52fd28-0b01-0010-afb0-cc70884fa369
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09f3d8e-d478-2910-9eb8-caa6516dd7d9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1c51c590-0201-0010-ffbc-b2bef1c57385
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1c51c590-0201-0010-ffbc-b2bef1c57385
    Reward points if found helpfull.........

  • How to send XML packet from external socket server to OSB

    Hi folks,
    How do I use external Socket Server(tcp) to send payload to OSB ?
    I have configured the socket protocol in my OSB. I am also able to send and receive responses by testing my proxy services from OSB itself.
    But now, we want to use some external socket (tcp)server to be able to fire some xml file and then receive response on OSB.
    Please help
    salil

    You need to use a socket client application to send a message to a socket where your proxy is listening. For receiving a message at a socket, configure business service at OSB.
    Regards,
    Anuj

Maybe you are looking for

  • Help nokia N8 belle update !

    Since updating my N8 to the belle so I'm having loads of probs. After my initial update the phone was fine but, now there is a few updates posted in nokia suite i.e. social widget, BBC Iplayer plugin etc. When I attempt to install these updates the h

  • How to handle imaginary numbers in Flash

    How to handle imaginary numbers in Flash ? any ideas out there please

  • Create users in Organizations based on a db field.

    So I've got a data source with somewhere around 12,000 accounts that I need to pull into the Identity Manager, and for various reasons, they'll need to be split into different organizations. I'm making a copy of the default Tabbed User Form, and tryi

  • How to make Offline Interactive form Dynamic in nature?

    Hi, I am using SFP to create Interactive forms. In Form properties -> Defaults, I have set "Interactive Form" and "Dynamic Form" in Preview box... Data is read from XML and in the preview tab of SFP, form works just fine. In the function module call,

  • BPEL and RESTful WS

    Does BPEL and Oracle AS support requesting a RESTful WS in a BPEL Process? If it is supported, which Service component (from jDev's Components Palette) can I use to request a RESTful WS? Also, what is the "best" practice used in a BPEL Process to com