|
1 |
| -/* |
2 |
| - This file is part of the iText (R) project. |
3 |
| - Copyright (c) 1998-2017 iText Group NV |
4 |
| - Authors: iText Software. |
5 |
| -
|
6 |
| - This program is free software; you can redistribute it and/or modify |
7 |
| - it under the terms of the GNU Affero General Public License version 3 |
8 |
| - as published by the Free Software Foundation with the addition of the |
9 |
| - following permission added to Section 15 as permitted in Section 7(a): |
10 |
| - FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY |
11 |
| - ITEXT GROUP. ITEXT GROUP DISCLAIMS THE WARRANTY OF NON INFRINGEMENT |
12 |
| - OF THIRD PARTY RIGHTS |
13 |
| -
|
14 |
| - This program is distributed in the hope that it will be useful, but |
15 |
| - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
16 |
| - or FITNESS FOR A PARTICULAR PURPOSE. |
17 |
| - See the GNU Affero General Public License for more details. |
18 |
| - You should have received a copy of the GNU Affero General Public License |
19 |
| - along with this program; if not, see http://www.gnu.org/licenses or write to |
20 |
| - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
21 |
| - Boston, MA, 02110-1301 USA, or download the license from the following URL: |
22 |
| - http://itextpdf.com/terms-of-use/ |
23 |
| -
|
24 |
| - The interactive user interfaces in modified source and object code versions |
25 |
| - of this program must display Appropriate Legal Notices, as required under |
26 |
| - Section 5 of the GNU Affero General Public License. |
27 |
| -
|
28 |
| - In accordance with Section 7(b) of the GNU Affero General Public License, |
29 |
| - a covered work must retain the producer line in every PDF that is created |
30 |
| - or manipulated using iText. |
31 |
| -
|
32 |
| - You can be released from the requirements of the license by purchasing |
33 |
| - a commercial license. Buying such a license is mandatory as soon as you |
34 |
| - develop commercial activities involving the iText software without |
35 |
| - disclosing the source code of your own applications. |
36 |
| - These activities include: offering paid services to customers as an ASP, |
37 |
| - serving PDFs on the fly in a web application, shipping iText with a closed |
38 |
| - source product. |
39 |
| -
|
40 |
| - For more information, please contact iText Software Corp. at this |
41 |
| - |
42 |
| - */ |
43 | 1 | package com.itextpdf.kernel.crypto;
|
44 | 2 |
|
45 | 3 | import com.itextpdf.kernel.pdf.EncryptionConstants;
|
@@ -74,47 +32,47 @@ public class UnicodeBasedPasswordEncryptionTest extends ExtendedITextTest {
|
74 | 32 | // values are calculated with com.ibm.icu.text.StringPrep class in icu4j v58.2 lib
|
75 | 33 | nameToSaslPrepared = new LinkedHashMap<>();
|
76 | 34 |
|
77 |
| - //?????? |
| 35 | + //الرحيم |
78 | 36 | nameToSaslPrepared.put("arabic01",
|
79 | 37 | new SaslPreparedString("\u0627\u0644\u0631\u062D\u064A\u0645",
|
80 | 38 | "\u0627\u0644\u0631\u062D\u064A\u0645"));
|
81 |
| - //??,?11??? |
| 39 | + //ال,ر11حيم |
82 | 40 | nameToSaslPrepared.put("arabic02",
|
83 | 41 | new SaslPreparedString("\u0627\u0644,\u063111\u062D\u064A\u0645",
|
84 | 42 | "\u0627\u0644,\u063111\u062D\u064A\u0645"));
|
85 |
| - // ??? |
| 43 | + // لـه |
86 | 44 | nameToSaslPrepared.put("arabic03",
|
87 | 45 | new SaslPreparedString("\u0644\u0640\u0647",
|
88 | 46 | "\u0644\u0640\u0647"));
|
89 |
| - // ? |
| 47 | + // ﻻ |
90 | 48 | nameToSaslPrepared.put("arabic04",
|
91 | 49 | new SaslPreparedString("\ufefb",
|
92 | 50 | "\u0644\u0627"));
|
93 |
| - // ?? |
| 51 | + // لا |
94 | 52 | nameToSaslPrepared.put("arabic05",
|
95 | 53 | new SaslPreparedString("\u0644\u0627",
|
96 | 54 | "\u0644\u0627"));
|
97 |
| - // ????? ???????? |
| 55 | + // शांति देवनागरी |
98 | 56 | nameToSaslPrepared.put("devanagari01",
|
99 | 57 | new SaslPreparedString("\u0936\u093e\u0902\u0924\u093f \u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940",
|
100 | 58 | "\u0936\u093E\u0902\u0924\u093F \u0926\u0947\u0935\u0928\u093E\u0917\u0930\u0940"));
|
101 |
| - // ?? ????????? |
| 59 | + // की प्राचीनतम |
102 | 60 | nameToSaslPrepared.put("devanagari02",
|
103 | 61 | new SaslPreparedString("\u0915\u0940 \u092A\u094D\u0930\u093E\u091A\u0940\u0928\u0924\u092E",
|
104 | 62 | "\u0915\u0940 \u092A\u094D\u0930\u093E\u091A\u0940\u0928\u0924\u092E"));
|
105 |
| - // ????? ????? |
| 63 | + // ਗ੍ਰੰਥ ਸਾਹਿਬ |
106 | 64 | nameToSaslPrepared.put("gurmukhi01",
|
107 | 65 | new SaslPreparedString("\u0A17\u0A4D\u0A30\u0A70\u0A25 \u0A38\u0A3E\u0A39\u0A3F\u0A2C",
|
108 | 66 | "\u0A17\u0A4D\u0A30\u0A70\u0A25 \u0A38\u0A3E\u0A39\u0A3F\u0A2C"));
|
109 |
| - // ???? |
| 67 | + // ញ្ចូ |
110 | 68 | nameToSaslPrepared.put("khmer01",
|
111 | 69 | new SaslPreparedString("\u1789\u17D2\u1785\u17BC",
|
112 | 70 | "\u1789\u17D2\u1785\u17BC"));
|
113 |
| - //??????? ??? ??? ???????? |
| 71 | + //இலக்கிய நடை கூட மக்களால் |
114 | 72 | nameToSaslPrepared.put("tamil01",
|
115 | 73 | new SaslPreparedString("\u0B87\u0BB2\u0B95\u0BCD\u0B95\u0BBF\u0BAF \u0BA8\u0B9F\u0BC8 \u0B95\u0BC2\u0B9F \u0BAE\u0B95\u0BCD\u0B95\u0BB3\u0BBE\u0BB2\u0BCD",
|
116 | 74 | "\u0B87\u0BB2\u0B95\u0BCD\u0B95\u0BBF\u0BAF \u0BA8\u0B9F\u0BC8 \u0B95\u0BC2\u0B9F \u0BAE\u0B95\u0BCD\u0B95\u0BB3\u0BBE\u0BB2\u0BCD"));
|
117 |
| - // ????????? |
| 75 | + // ประเทศไทย |
118 | 76 | nameToSaslPrepared.put("thai01",
|
119 | 77 | new SaslPreparedString("\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28\u0E44\u0E17\u0E22",
|
120 | 78 | "\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28\u0E44\u0E17\u0E22"));
|
|
0 commit comments