signing

Verify and Sign a Jar programmatically

醉酒当歌 提交于 2019-12-01 06:59:57
问题 I am new to this topic, therefore I hope I use the right vocabulary. Is it possible to get the possibility of Jarsigner within Java self? I need the possibility to do the following things programatically: verify if a jar is signed with a certain private key from a keystore if the jar is verified: unsign the jar sign the jar with another private key from an official certificate authority, which is in the same or in another keystore In pseudo-code I imagine something like this: JarVerifier

How to sign java applet with .pfx file?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-01 04:21:17
问题 I was trying to sign a jar applet archive with our company .pfx certificate using this guide (and few others from the internet): http://www.globalsign.com/support/ordering-guides/SignJavaCodeAppletsPFX.pdf Everything seems to be fine, but when I try t run apple through the browser I see that 'Publisher' is UNKNOWN (untrusted). And when I go to details I'm able to see proper company name and certificate vendor (GlobalSign). Why it's not properly displayed as known/trusted? The one thing which

Auto-entering Password In Sn.exe

安稳与你 提交于 2019-12-01 04:05:10
I need to create post build event to perform the following: sn -i MyKey.pfx MyKeyContainerName tlbimp $(ConfigurationName)\MyCom.tlb /out:$(ConfigurationName)\NETMyCom.dll /keycontainer:MyKeyContainerName sn -d MyKeyContainerName When the Visual Studio executes the 1st statement it requires a password and waits until the user specifies it and fails. Microsoft (R) .NET Framework Strong Name Utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Enter the password for the PKCS#12 key file: Failed to parse the PKCS#12 blob in mykey.pfx -- The handle is invalid. I

Auto-entering Password In Sn.exe

只愿长相守 提交于 2019-12-01 01:21:39
问题 I need to create post build event to perform the following: sn -i MyKey.pfx MyKeyContainerName tlbimp $(ConfigurationName)\MyCom.tlb /out:$(ConfigurationName)\NETMyCom.dll /keycontainer:MyKeyContainerName sn -d MyKeyContainerName When the Visual Studio executes the 1st statement it requires a password and waits until the user specifies it and fails. Microsoft (R) .NET Framework Strong Name Utility Version 2.0.50727.42 Copyright (c) Microsoft Corporation. All rights reserved. Enter the

Javascript cryptography library to sign form data in browser [closed]

假装没事ソ 提交于 2019-11-30 11:09:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am looking for a JS crypto lib (similar to, say, OpenSSL's libcrypto) that facilitates digital signing of data in the browser. I want to sign form form data on the client side using a private key (RSA, PKI certificates or similar). EXAMPLE Form data loads in browser User A reviews data and signs it => the

Questions about preparing an apk for the Amazon Android App Store

烂漫一生 提交于 2019-11-30 11:01:03
问题 Amazon's documentation is surprising lacking in information about the submitting binary process. From what I can tell, you submit an unsigned binary and they wrap it in their own code and produce a signed apk? This leaves several questions: Does the Amazon App Store perform a zipalign for you? If you have your app in the Android Market (Google's) already, is it recommended to use the same package name or a different one? Does it make any difference? I also saw elsewhere, that they offer the

Questions about preparing an apk for the Amazon Android App Store

时光怂恿深爱的人放手 提交于 2019-11-29 23:21:51
Amazon's documentation is surprising lacking in information about the submitting binary process. From what I can tell, you submit an unsigned binary and they wrap it in their own code and produce a signed apk? This leaves several questions: Does the Amazon App Store perform a zipalign for you? If you have your app in the Android Market (Google's) already, is it recommended to use the same package name or a different one? Does it make any difference? I also saw elsewhere, that they offer the option to download the apk they prepare and sign it with your own key. Is it recommended to take this

Javascript cryptography library to sign form data in browser [closed]

被刻印的时光 ゝ 提交于 2019-11-29 23:14:26
I am looking for a JS crypto lib (similar to, say, OpenSSL's libcrypto) that facilitates digital signing of data in the browser. I want to sign form form data on the client side using a private key (RSA, PKI certificates or similar). EXAMPLE Form data loads in browser User A reviews data and signs it => the signature is created in the browser using the js lib and the private key signature=RSA_encrypt(A_private_key, hash(data)) The form data and signature is sent to the server and stored Another user (B) can check the validity of the signature by comparing hash(data) with RSA_decrypt(A_public

INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES on adb install

邮差的信 提交于 2019-11-29 09:05:22
The same Android project is built in debug mode, sometimes with Eclipse, sometimes with ant (on build machine). If I first install the ant build, and then try to start Eclipse debugging, the Eclipse console displays [2012-03-20 13:32:26 - myproject] Re-installation failed due to different application signatures. [2012-03-20 13:32:26 - myproject] You must perform a full uninstall of the application. WARNING: This will remove the application data! [2012-03-20 13:32:26 - myproject] Please execute 'adb uninstall com.myproject' in a shell. [2012-03-20 13:32:26 - myproject] Launch canceled! If I do

API/Library to replace signtool.exe

99封情书 提交于 2019-11-29 08:02:47
问题 The Windows SDK ships with a tool called signtool.exe that lets you sign a file with a certificate. I need to do the same thing but in a background service so I'm on the lookout for a library (preferably managed code, but COM will do) to do the same thing. Any ideas? Found the answer. Here's how to use an X.509 certificate to sign a file in .NET: CmsSigner signer = new CmsSigner(); signer.Certificate = new X509Certificate2(certificate); SignedCms content = new SignedCms(new ContentInfo(File