33224

Xades countersign document

Question:

I have an XML document which is already Xades signed. Now I want to counter sign this signature. How can I do this with Xades4j? I have searched the documentation but there is only example how to sign and countersign together.

Answer1:

You can use a <a href="http://code.google.com/p/xades4j/wiki/SignatureEnrichment#Creating_an_Extender" rel="nofollow">format extender</a> directly to <a href="http://xades4j.googlecode.com/svn/release/1.3.0/javadoc/reference/xades4j/production/XadesSignatureFormatExtender.html" rel="nofollow">add new unsigned properties</a> to an existing signature.

Recommend

  • App not installed after upgrading to Android - P
  • Fix seed globaly in c++11
  • Unresolved external symbol (OpenGL and c++)
  • How can I fix g++ Undefined symbols for architecture x86_64 error?
  • Implementation of random number generator [duplicate]
  • How do I get a positive modulo on a negative dividend
  • Outlook Com not registered
  • Does Apple Clang lack CRC32 for ARMv8/Aarch64 under Xcdoe 10?
  • byte, char, int in Java - bit representation
  • PowerShell execution policy subverted by powershell.exe parameter?
  • AWS S3 implementation for serving private files
  • With one EDMX file use multiple connection strings that relate to multiple databases
  • PhoneGap : How to upload APK files on Google Play Store
  • How to find data from last week in MySQL
  • Using Paypal Pro in Omnipay
  • Play Framework nested form errors missing
  • Download/Save/Write a file on the client's hard disk using flash/flex
  • CSS: How to fix overlapping divs
  • get all processes in parallel
  • How to solve “undefined reference to function” error?
  • How to create virtual printer with iOS Simulator?
  • Upper limits for fibonnacci
  • How to use animated gif in Firemonkey?
  • Do I need to seed any random number generator before using EVP_PKEY_keygen of OpenSSL?
  • How VBA declared Volatility works
  • Ajax calls do not work in IE unless you fiddle with security settings
  • How do I get HTML corresponding to current DOM tree?
  • Ionic 2 storage is not cleaning up on uninstall - Only for signed APK
  • JQuery Internet Explorer and ajaxstop
  • JSON response opens as a file, but I can't access it with JavaScript
  • Play WS (2.2.1): post/put large request
  • Reading JSON from a file using C++ REST SDK (Casablanca)
  • AES padding and writing the ciphertext to a disk file
  • Deserializing XML into class C#
  • How to handle AllServersUnavailable Exception
  • Change an a tag attribute in JavaScript based on screen width
  • Convert array of 8 bytes to signed long in C++
  • Is there a mandatory requirement to switch app.yaml?
  • Linker errors when using intrinsic function via function pointer
  • How to Embed XSL into XML