mirror of
https://github.com/apache/poi.git
synced 2025-02-07 10:38:12 +00:00
add ignored testcase for multiple signatures
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1722497 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cbd450124c
commit
9cebef8562
@ -85,6 +85,7 @@ import org.etsi.uri.x01903.v13.DigestAlgAndValueType;
|
||||
import org.etsi.uri.x01903.v13.QualifyingPropertiesType;
|
||||
import org.junit.Assume;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.w3.x2000.x09.xmldsig.ReferenceType;
|
||||
import org.w3.x2000.x09.xmldsig.SignatureDocument;
|
||||
@ -579,6 +580,22 @@ public class TestSignatureInfo {
|
||||
pkg.close();
|
||||
}
|
||||
|
||||
@Test
|
||||
@Ignore
|
||||
public void testMultiSign() throws Exception {
|
||||
initKeyPair("KeyA", "CN=KeyA");
|
||||
KeyPair keyPairA = keyPair;
|
||||
X509Certificate x509A = x509;
|
||||
initKeyPair("KeyB", "CN=KeyB");
|
||||
KeyPair keyPairB = keyPair;
|
||||
X509Certificate x509B = x509;
|
||||
|
||||
File tpl = copy(testdata.getFile("bug58630.xlsx"));
|
||||
OPCPackage pkg = OPCPackage.open(tpl);
|
||||
SignatureConfig signatureConfig = new SignatureConfig();
|
||||
|
||||
|
||||
}
|
||||
|
||||
private void sign(OPCPackage pkgCopy, String alias, String signerDn, int signerCount) throws Exception {
|
||||
initKeyPair(alias, signerDn);
|
||||
|
Loading…
x
Reference in New Issue
Block a user