aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-03 10:21:02 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-03 10:21:02 +0200
commit553ad2f27ad9f40b085269e3288feac96f4fb841 (patch)
tree570641dfcb2ec94dd779cca370ce2eab8c89cc61 /pdf-as-lib
parentd36ec7570e8dc58eae7b39f61617e8d8c373a26c (diff)
downloadpdf-as-3-553ad2f27ad9f40b085269e3288feac96f4fb841.tar.gz
pdf-as-3-553ad2f27ad9f40b085269e3288feac96f4fb841.tar.bz2
pdf-as-3-553ad2f27ad9f40b085269e3288feac96f4fb841.zip
MOA XAdES 1.4 verification template
Diffstat (limited to 'pdf-as-lib')
-rw-r--r--pdf-as-lib/src/main/resources/config/templates/moa.etsi-bka-moa-1.1.verify.template.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/resources/config/templates/moa.etsi-bka-moa-1.1.verify.template.xml b/pdf-as-lib/src/main/resources/config/templates/moa.etsi-bka-moa-1.1.verify.template.xml
new file mode 100644
index 0000000..9377bdf
--- /dev/null
+++ b/pdf-as-lib/src/main/resources/config/templates/moa.etsi-bka-moa-1.1.verify.template.xml
@@ -0,0 +1 @@
+<dsig:Signature Id="signature-1-1" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"><dsig:SignedInfo><dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/><dsig:SignatureMethod Algorithm="CertAlgReplace"/><dsig:Reference Id="reference-1-1" URI="urn:Document"><dsig:DigestMethod Algorithm="DataDigestReplace"/><dsig:DigestValue>DigestValueSignedDataReplace</dsig:DigestValue></dsig:Reference><dsig:Reference Type="http://uri.etsi.org/01903#SignedProperties" URI="#etsi-signed-1-1"><dsig:DigestMethod Algorithm="PropertiesDigestReplace"/><dsig:DigestValue>DigestValueSignedPropertiesReplace</dsig:DigestValue></dsig:Reference></dsig:SignedInfo><dsig:SignatureValue>SignatureValueReplace</dsig:SignatureValue><dsig:KeyInfo><dsig:X509Data><dsig:X509Certificate>X509CertificateReplace</dsig:X509Certificate></dsig:X509Data></dsig:KeyInfo><dsig:Object><etsi:QualifyingProperties xmlns:etsi="http://uri.etsi.org/01903/v1.3.2#" Target="#signature-1-1"><etsi:SignedProperties xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:etsi="http://uri.etsi.org/01903/v1.3.2#" Id="etsi-signed-1-1"><etsi:SignedSignatureProperties><etsi:SigningTime>SigningTimeReplace</etsi:SigningTime><etsi:SigningCertificate><etsi:Cert><etsi:CertDigest><dsig:DigestMethod Algorithm="CertDigestReplace"></dsig:DigestMethod><dsig:DigestValue>DigestValueX509CertificateReplace</dsig:DigestValue></etsi:CertDigest><etsi:IssuerSerial><dsig:X509IssuerName>X509IssuerNameReplace</dsig:X509IssuerName><dsig:X509SerialNumber>X509SerialNumberReplace</dsig:X509SerialNumber></etsi:IssuerSerial></etsi:Cert></etsi:SigningCertificate><etsi:SignaturePolicyIdentifier><etsi:SignaturePolicyImplied></etsi:SignaturePolicyImplied></etsi:SignaturePolicyIdentifier></etsi:SignedSignatureProperties><etsi:SignedDataObjectProperties><etsi:DataObjectFormat ObjectReference="#reference-1-1"><etsi:MimeType>MimeTypeReplace</etsi:MimeType></etsi:DataObjectFormat></etsi:SignedDataObjectProperties></etsi:SignedProperties></etsi:QualifyingProperties></dsig:Object></dsig:Signature> \ No newline at end of file