Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ private String Sign(Document xmlInput, PrivateKeyManager key, CertificateX509 ce
try {
X509Certificate x509Certificate = certificate.Cert();
X509Data x509data = new X509Data(sig.getDocument());
x509data.addIssuerSerial(x509Certificate.getIssuerDN().getName(), x509Certificate.getSerialNumber());
x509data.addSubjectName(x509Certificate);
x509data.addCertificate(x509Certificate);
sig.getKeyInfo().add(x509data);
Expand Down