72 |
72 |
73 /** |
73 /** |
74 * This character array provides the character to value map |
74 * This character array provides the character to value map |
75 * based on RFC1521. |
75 * based on RFC1521. |
76 */ |
76 */ |
77 private final static char pem_array[] = { |
77 private static final char pem_array[] = { |
78 // 0 1 2 3 4 5 6 7 |
78 // 0 1 2 3 4 5 6 7 |
79 'A','B','C','D','E','F','G','H', // 0 |
79 'A','B','C','D','E','F','G','H', // 0 |
80 'I','J','K','L','M','N','O','P', // 1 |
80 'I','J','K','L','M','N','O','P', // 1 |
81 'Q','R','S','T','U','V','W','X', // 2 |
81 'Q','R','S','T','U','V','W','X', // 2 |
82 'Y','Z','a','b','c','d','e','f', // 3 |
82 'Y','Z','a','b','c','d','e','f', // 3 |
84 'o','p','q','r','s','t','u','v', // 5 |
84 'o','p','q','r','s','t','u','v', // 5 |
85 'w','x','y','z','0','1','2','3', // 6 |
85 'w','x','y','z','0','1','2','3', // 6 |
86 '4','5','6','7','8','9','+','/' // 7 |
86 '4','5','6','7','8','9','+','/' // 7 |
87 }; |
87 }; |
88 |
88 |
89 private final static byte pem_convert_array[] = new byte[256]; |
89 private static final byte pem_convert_array[] = new byte[256]; |
90 |
90 |
91 static { |
91 static { |
92 for (int i = 0; i < 255; i++) { |
92 for (int i = 0; i < 255; i++) { |
93 pem_convert_array[i] = -1; |
93 pem_convert_array[i] = -1; |
94 } |
94 } |