-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinitupload.tpl
30 lines (30 loc) · 1.33 KB
/
initupload.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="utf-8"?>
<InitUpload xmlns="http://e-dokumenty.mf.gov.pl">
<DocumentType>JPK</DocumentType>
<Version>01.02.01.20160617</Version>
<EncryptionKey algorithm="RSA" mode="ECB" padding="PKCS#1" encoding="Base64">$key</EncryptionKey>
<DocumentList>
<Document>
<FormCode systemCode="$kod (1)" schemaVersion="1-0">$kod</FormCode>
<FileName>$xml_nazwa</FileName>
<ContentLength>$xml_len</ContentLength>
<HashValue algorithm="SHA-256" encoding="Base64">$xml_hash</HashValue>
<FileSignatureList filesNumber="1">
<Packaging>
<SplitZip type="split" mode="zip"/>
</Packaging>
<Encryption>
<AES size="256" block="16" mode="CBC" padding="PKCS#7">
<IV bytes="16" encoding="Base64">$iv</IV>
</AES>
</Encryption>
<FileSignature>
<OrdinalNumber>1</OrdinalNumber>
<FileName>$zip_nazwa</FileName>
<ContentLength>$zip_len</ContentLength>
<HashValue algorithm="MD5" encoding="Base64">$zip_hash</HashValue>
</FileSignature>
</FileSignatureList>
</Document>
</DocumentList>
</InitUpload>