signature

Where and why JVM checks that the return type of entry method main(String args[]) is void and not anything else?

I will try to answer both, please correct me if I am wrong: Where: If a static method is being called using Classname.method() or using reflection then it doesn’t matter even if you change the return type of the calling method, the same method will still be called. So JVM probably checks this in one of the native methods of jvm.cpp ...

Weblogic 10.0: SAMLSignedObject.verify() failed to validate signature value

I've been having this problem for a while and it's driving me nuts. I'm trying to create a client (in C# .NET 2.0) that will use SAML 1.1 to sign on to a WebLogic 10.0 server (i.e., a Single Sign-On scenario, using browser/post profile). The client is on a WinXP machine and the WebLogic server is on a RHEL 5 box. I based my client larg...

The case of "id" attribute when signing an element in a XML file

Is the case of the "id" attribute important, when creating a reference to an element for digital signing following xml-dsig standard? I've seen attributes named "ID", "Id" and "id" and some software packages have trouble finding the correct element/node for different forms. Also following various specs and schemas, there are different ...

How to validate different XML Signatures with Apache CXF?

In our SOA we will have to sign a request (parts of the SOAP header) twice: 1. the client signs the SOAP body 2. the ESB signs a part of the SOAP header, so that the service can verify, that the request was routed over the ESB I'm currently trying to implement/configure this using Apache CXF 2.2. Its working on the client side as well a...

Use of Curve25519

I'm currently investigating the use of curve25519 for signing. Original distribution can be obtained here and a C code implementation here or here. Bernstein suggest to use ECDSA for this but I could not find any code. ...

Are there existing web sites that use a photo as a electronic signature?

The use case: to sign a electronic document, users view the document, and if they agree take a picture of themselves with their webcam (done through Flash from the browser). Then a PDF is generated containing the document and the picture in place of signature. This is a biometric signature, which is not as strong as a digital (cryptogra...

How to compute digital signature using A1 and A3 certificates without password or something similar

Hi! I'm developing a software using A1 and A3 certificates to sign documents. My customers have a lots of certificates in their repositories and always need to send signed documents using a specific certificate, but the problem is that they always need to put a password. I would like to know if its possible to sign files using stored p...

Is there a size restriction on signatures in Java (java.security)?

I am trying to sign a token object using SHA1. I am using bouncycastle as the security provider. Whenever the program tries to sign something it gives me this error. java.security.SignatureException: java.lang.IllegalArgumentException: input data too large. What is the maximum size for signing something? Do you have any suggestions ab...

Where do I get a list of all known viruses signatures?

I have written some antivirus software in Python, but am unable to find virus signatures. The software works by dumping each file on the hard disk to hex, thus getting the hex signature. Where do i get signatures for all the known viruses? ...

JAR file: digital signature

If a JAR file is digitally signed, does the signature become part of the manifest file? ...

Uploading Binary iPhone App "The signature was invalid" again again and again...

Hello! I'm going crazy! I'm trying to upload the binary of my first application but I have always the same error! "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." I did everything, EVERYTHING!! I created the request for the certificate, used it for both develop...

How to get the Signature of a Self-Signed Certificate using X509Certificate or other .NET Class?

Hello I am trying to verify a root/self-signed certificate by trying to decrypt the signature with a known/trusted Public Key, then checking if the decrypted hash matches the original certificate hash. I get the remote certificate by using RemoteCertificateValidation callback on the sslStream class. The certificate is given as a X509C...

Digital Signature using CAPICOM needs to be 1024 bits long

We are trying to sign documents using RSA-SHA1 hash. We have tried using the Crypt32 lib and we are getting signature (DS) length of 1024 bits (172 bytes after BASE-64) which is proper. When we try to do the same with CAPICOM, the length comes to be 2292 bytes (BASE-64). How can we have DS length of 172 while using CAPICOM? ...

How to verify a signature using M2Crypto 0.16

After some goggling I found some usual answers for this question, like: http://stackoverflow.com/questions/595114/how-to-load-an-rsa-key-from-a-pem-file-and-use-it-in-python-crypto some code: x509 = X509.load_cert_string(certificate) pubkey = x509.get_pubkey() pubkey.reset_context(md=sha1) pubkey.verify_init() pubkey.verify_update(cont...

How to generate a certificate signature on the iPhone?

Hi, If I had a private certificate file and a string on the iPhone, how do I use them to generate a signed string that can be verified by a server with the matching public key? What library should I use on the iPhone? ...

not able to install signature keys

Hi , I have to sign an blackberry application so that i can load it to the device but, the signature keys i got from the RIM are installed on the system gets formatted and now i am trying to install the signature keys on another system but the server prompts me for this "Unable to register client'2909103544'because there are no more reg...

Including two signatures, both with a 'type t' [Standard ML]

A contrived example: signature A = sig type t val x: t end signature B = sig type t val y: t end signature C = sig include A B end Obviously, this will cause complaints that type t occurs twice in C. But is there any way to express that I want the two ts to be equated, ending up with: signature C = sig type t val x: t ...

Email signature in Entourage

Hello all, I am trying to set an email signature in Entourage and when pasting the html code in the editor it gets screwed up. Yes, I do have the HTML button pressed at the top. I am using a table with three columns and they are sort of displaying as rows at the moment. Thanks!!! ...

Select and use a driver with mismatching PID on x64 systems

The Silicon Labs CP210x chip allows the PID to be customized which in turn means a customized driver is needed to have a matching PID. On x64 systems that require driver signing using a customized driver would also require signing that driver. Fortunately it is possible to use the original signed CP210x driver by manually select it for t...

Const-Qualification of Main's Parameters in C++

The C++ standard mandates that all conforming implementations support the following two signatures for main: int main(); int main(int, char*[]); In case of the latter signature, would the addition of (top-level) const-ness break any language rules? For example: int main(const int argc, char** const argv); From my understanding, t...