I\'ve use Apache poi and my certificate to digitally sign a docx document:
@Override public byte[] sign(byte[] content, List certChain,