signing

Could not parse certificate: java.io.IOException: Empty input X509Certificate

夙愿已清 提交于 2019-12-02 22:47:10
I am getting the error given below when parsing the signature. Anybody has idea why the error is showing? Note that: Using the same certificate I signed my own XML and verified which is working fine. That mean there is no issue with certificate. Client provided signed document not able to validate. Errors: Exception in thread "main" javax.xml.crypto.MarshalException: Cannot create X509Certificate at org.jcp.xml.dsig.internal.dom.DOMX509Data.unmarshalX509Certificate(DOMX509Data.java:225) at org.jcp.xml.dsig.internal.dom.DOMX509Data.<init>(DOMX509Data.java:116) at org.jcp.xml.dsig.internal.dom

Android Studio: Signing issue after upgrade

♀尐吖头ヾ 提交于 2019-12-02 19:29:18
I recently upgraded my android studio from 0.2.6 to 0.2.11. The Build - > "generate signed apk" wizard which was opening up in 0.2.6 is not coming up here. Instead it shows a dialog like : For Gradle-based projects, the signing configuration should be specified in the Gradle build scripts. See the Gradle User Guide for more info. I even added the below lines in build.gradle file: signingConfigs { debug { storeFile file("debug.keystore") } myConfig { storeFile file("other.keystore") storePassword "android" keyAlias "androiddebugkey" keyPassword "android" } } buildTypes { foo { debuggable true

How do I get user profile using Google Access Token

ⅰ亾dé卋堺 提交于 2019-12-02 19:19:16
i'm testing getting user information by google access token http://www.mawk3y.net/glogin after clicking sign in button i get redirected to https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=access_token_here And get some JSON data like this { "issued_to": "my client id.apps.googleusercontent.com", "audience": "my client id.apps.googleusercontent.com", "user_id": "user id here", "scope": "https://www.googleapis.com/auth/plus.login", "expires_in": 3596, "access_type": "online" } now i need to know how to extract user name , address and email any help please ? thanks in advance Try this

Windows UAC Security With Exe

谁都会走 提交于 2019-12-02 13:26:40
I have an exe created with an old Borland C++ compiler. It needs administrator privileges to function correctly. Since the app will run at startup, I do not want the user prompted if it's OK to run the program (testing on Win7). My question is is there ANY way to remove that annoying prompt every time the app is run? I added a manifest file with admin privs and signed it, but it then still appears with the publisher name. This will be distributed, so I don't want users to have to turn off UAC or do anything too complicated. Any suggestions are much appreciated. I am hoping there's something

Google Play Games - Application in alpha/beta test - Error 10004 at sign-in RESULT APP MISCONFIGURED

你离开我真会死。 提交于 2019-12-02 11:50:21
My situation : Google Play Games works well when I test it directly on my device (with Android Studio direct generation) With this configuration, all the workflow is ok. I am now in alpha/beta testing I generate with Android Studio a signed APK and i upload it on the Google Play Console. My application and my Game application are both published and i am with other people in test emails. But when i try to sign in to Google Play Games, i get the error 10004 which correspond to RESULT_APP_MISCONFIGURED. I checked and i think all is ok :( Could you give me ideas to resolve this issue ? Sounds like

Is there a list of classes, methods and API which will trigger RIMAPPSA2 permission when signing Blackberry application?

£可爱£侵袭症+ 提交于 2019-12-02 09:28:40
问题 I understand why RIMAPPSA2 permission is thrown when signing a BlackBerry application. However, I don't know which classes, functions and/or API requires such permission. Is there any way to find out (or better a documentation listing that information) ? Regards, 回答1: RIMAPPSA2 permission is required when dealing with Blackberry Controlled APIs. In this particular case, I was definining new classes and redefining existing classes in one of the packages part of the Blackberry Controlled APIs.

How can I lock a PDF document after signing it?

自作多情 提交于 2019-12-02 09:08:07
问题 Adobe Acrobat has the option to lock the PDF document after signing it. This changes the document permissions so that Acrobat does not offer signing the document again or modifying annotations or forms. This seems like a reasonable action to do after a document has been signed for review by multiple entities and finally for release by someone responsible. iTextSharp can also sign documents, and it can also add further signatures to an already signed document. iTextSharp basically also can set

Google Play Games - Application in alpha/beta test - Error 10004 at sign-in RESULT APP MISCONFIGURED

强颜欢笑 提交于 2019-12-02 07:38:52
问题 My situation : Google Play Games works well when I test it directly on my device (with Android Studio direct generation) With this configuration, all the workflow is ok. I am now in alpha/beta testing I generate with Android Studio a signed APK and i upload it on the Google Play Console. My application and my Game application are both published and i am with other people in test emails. But when i try to sign in to Google Play Games, i get the error 10004 which correspond to RESULT_APP

Adding LTV in signature makes pdf invalid using C#

隐身守侯 提交于 2019-12-02 07:23:49
After Adding LTV to digital signature it shows document has changed. After taking ref from this que : After LTV Certification Signature, PDF shows "Document has been Changed" I made changes in my code, It works fine with all document but for this document : https://www.sendspace.com/file/3ulwn7 - It shows Invalid signature. we are also using document signing service from global sign for same. Below code for adding LTV : public void AddLtv(string src, string dest, IOcspClient ocsp, ICrlClient crl, ITSAClient tsa) { using (PdfReader r = new PdfReader(src)) { using (FileStream fos =new FileStream

PDF/A signed with iText7 allows changing attached documents without breaking a signature

孤人 提交于 2019-12-02 07:11:21
问题 I have created a PDF/A document using iText7. The created document has an attachment (). The attachment is a .csv file. Then the whole PDF/A has been signed. I have opened the attached .csv file and changed it after I have signed it. I have used following code to verify the signature: public PdfPKCS7 verifySignature(SignatureUtil util, String name) throws GeneralSecurityException, IOException { System.out.println("Signature covers whole document: " + util.signatureCoversWholeDocument(name));