Source Code Cross Referenced for LogStringsMessages.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » logging » impl » opt » crypto » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xws security » com.sun.xml.wss.logging.impl.opt.crypto 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package com.sun.xml.wss.logging.impl.opt.crypto;
002:
003:        import com.sun.xml.ws.util.localization.Localizable;
004:        import com.sun.xml.ws.util.localization.LocalizableMessageFactory;
005:        import com.sun.xml.ws.util.localization.Localizer;
006:
007:        /**
008:         * Defines string formatting method for each constant in the resource file
009:         * 
010:         */
011:        public final class LogStringsMessages {
012:
013:            private final static LocalizableMessageFactory messageFactory = new LocalizableMessageFactory(
014:                    "com.sun.xml.wss.logging.impl.opt.crypto.LogStrings");
015:            private final static Localizer localizer = new Localizer();
016:
017:            public static Localizable localizableWSS_1950_DATAENCRYPTION_ALGORITHM_NOTSET() {
018:                return messageFactory
019:                        .getMessage("WSS1950.dataencryption.algorithm.notset");
020:            }
021:
022:            /**
023:             * WSS1950: DataEncryption Algorithm could not be obtained from algorithm suite. Using default Triple Des algorithm
024:             * 
025:             */
026:            public static String WSS_1950_DATAENCRYPTION_ALGORITHM_NOTSET() {
027:                return localizer
028:                        .localize(localizableWSS_1950_DATAENCRYPTION_ALGORITHM_NOTSET());
029:            }
030:
031:            public static Localizable localizableWSS_1919_ERROR_WRITING_ENCRYPTEDDATA(
032:                    Object arg0) {
033:                return messageFactory.getMessage(
034:                        "WSS1919.error.writing.encrypteddata", arg0);
035:            }
036:
037:            /**
038:             * WSS1919: Error occurred while writing EncryptedData: {0}
039:             * 
040:             */
041:            public static String WSS_1919_ERROR_WRITING_ENCRYPTEDDATA(
042:                    Object arg0) {
043:                return localizer
044:                        .localize(localizableWSS_1919_ERROR_WRITING_ENCRYPTEDDATA(arg0));
045:            }
046:
047:            public static Localizable localizableWSS_1916_ERROR_WRITING_ECRYPTEDHEADER(
048:                    Object arg0) {
049:                return messageFactory.getMessage(
050:                        "WSS1916.error.writing.ecryptedheader", arg0);
051:            }
052:
053:            /**
054:             * WSS1916: Error occurred while writing EncryptedHeader: {0}
055:             * 
056:             */
057:            public static String WSS_1916_ERROR_WRITING_ECRYPTEDHEADER(
058:                    Object arg0) {
059:                return localizer
060:                        .localize(localizableWSS_1916_ERROR_WRITING_ECRYPTEDHEADER(arg0));
061:            }
062:
063:            public static Localizable localizableWSS_1915_INVALID_ALGORITHM_PARAMETERS(
064:                    Object arg0) {
065:                return messageFactory.getMessage(
066:                        "WSS1915.invalid.algorithm.parameters", arg0);
067:            }
068:
069:            /**
070:             * WSS1915: Error occurred while decrypting data. Invalid algorithm parameters for algorithm {0}
071:             * 
072:             */
073:            public static String WSS_1915_INVALID_ALGORITHM_PARAMETERS(
074:                    Object arg0) {
075:                return localizer
076:                        .localize(localizableWSS_1915_INVALID_ALGORITHM_PARAMETERS(arg0));
077:            }
078:
079:            public static Localizable localizableWSS_1903_UNSUPPORTED_KEYBINDING_ENCRYPTIONPOLICY(
080:                    Object arg0) {
081:                return messageFactory
082:                        .getMessage(
083:                                "WSS1903.unsupported.keybinding.encryptionpolicy",
084:                                arg0);
085:            }
086:
087:            /**
088:             * WSS1903: Unsupported Key Binding for EncryptionPolicy: {0}
089:             * 
090:             */
091:            public static String WSS_1903_UNSUPPORTED_KEYBINDING_ENCRYPTIONPOLICY(
092:                    Object arg0) {
093:                return localizer
094:                        .localize(localizableWSS_1903_UNSUPPORTED_KEYBINDING_ENCRYPTIONPOLICY(arg0));
095:            }
096:
097:            public static Localizable localizableWSS_1924_CIPHERVAL_MISSINGIN_CIPHERDATA() {
098:                return messageFactory
099:                        .getMessage("WSS1924.cipherval.missingin.cipherdata");
100:            }
101:
102:            /**
103:             * WSS1925: No CipherValue found in CipherData
104:             * 
105:             */
106:            public static String WSS_1924_CIPHERVAL_MISSINGIN_CIPHERDATA() {
107:                return localizer
108:                        .localize(localizableWSS_1924_CIPHERVAL_MISSINGIN_CIPHERDATA());
109:            }
110:
111:            public static Localizable localizableWSS_1907_INCORRECT_BLOCK_SIZE() {
112:                return messageFactory
113:                        .getMessage("WSS1907.incorrect.block.size");
114:            }
115:
116:            /**
117:             * WSS1907: Internal error. Incorrect block size exception occurred
118:             * 
119:             */
120:            public static String WSS_1907_INCORRECT_BLOCK_SIZE() {
121:                return localizer
122:                        .localize(localizableWSS_1907_INCORRECT_BLOCK_SIZE());
123:            }
124:
125:            public static Localizable localizableWSS_1908_ERROR_WRITING_ENCRYPTEDDATA() {
126:                return messageFactory
127:                        .getMessage("WSS1908.error.writing.encrypteddata");
128:            }
129:
130:            /**
131:             * WSS1908: Error occurred while writing encrypted data
132:             * 
133:             */
134:            public static String WSS_1908_ERROR_WRITING_ENCRYPTEDDATA() {
135:                return localizer
136:                        .localize(localizableWSS_1908_ERROR_WRITING_ENCRYPTEDDATA());
137:            }
138:
139:            public static Localizable localizableWSS_1910_ERROR_WRITING_NAMESPACES_CANONICALIZER(
140:                    Object arg0) {
141:                return messageFactory.getMessage(
142:                        "WSS1910.error.writing.namespaces.canonicalizer", arg0);
143:            }
144:
145:            /**
146:             * WSS1910: Unable to write namespaces to exclusive canonicalizer: {0}
147:             * 
148:             */
149:            public static String WSS_1910_ERROR_WRITING_NAMESPACES_CANONICALIZER(
150:                    Object arg0) {
151:                return localizer
152:                        .localize(localizableWSS_1910_ERROR_WRITING_NAMESPACES_CANONICALIZER(arg0));
153:            }
154:
155:            public static Localizable localizableWSS_1914_INVALID_CIPHER_MODE(
156:                    Object arg0) {
157:                return messageFactory.getMessage("WSS1914.invalid.cipher.mode",
158:                        arg0);
159:            }
160:
161:            /**
162:             * WSS1914: Invalid Cipher mode: {0}
163:             * 
164:             */
165:            public static String WSS_1914_INVALID_CIPHER_MODE(Object arg0) {
166:                return localizer
167:                        .localize(localizableWSS_1914_INVALID_CIPHER_MODE(arg0));
168:            }
169:
170:            public static Localizable localizableWSS_1918_ILLEGAL_ENCRYPTION_TARGET(
171:                    Object arg0, Object arg1) {
172:                return messageFactory.getMessage(
173:                        "WSS1918.illegal.encryption.target", arg0, arg1);
174:            }
175:
176:            /**
177:             * WSS1918: Illegal Encryption Target: uri - {0}, element - {1}
178:             * 
179:             */
180:            public static String WSS_1918_ILLEGAL_ENCRYPTION_TARGET(
181:                    Object arg0, Object arg1) {
182:                return localizer
183:                        .localize(localizableWSS_1918_ILLEGAL_ENCRYPTION_TARGET(
184:                                arg0, arg1));
185:            }
186:
187:            public static Localizable localizableWSS_1912_DECRYPTION_ALGORITHM_NULL() {
188:                return messageFactory
189:                        .getMessage("WSS1912.decryption.algorithm.null");
190:            }
191:
192:            /**
193:             * WSS1912: Cannot decrypt a key without knowing the algorithm
194:             * 
195:             */
196:            public static String WSS_1912_DECRYPTION_ALGORITHM_NULL() {
197:                return localizer
198:                        .localize(localizableWSS_1912_DECRYPTION_ALGORITHM_NULL());
199:            }
200:
201:            public static Localizable localizableWSS_1925_EMPTY_ENCMETHOD_ED() {
202:                return messageFactory.getMessage("WSS1925.empty.encmethod.ed");
203:            }
204:
205:            /**
206:             * WSS1925: Empty Encryption method is not allowed
207:             * 
208:             */
209:            public static String WSS_1925_EMPTY_ENCMETHOD_ED() {
210:                return localizer
211:                        .localize(localizableWSS_1925_EMPTY_ENCMETHOD_ED());
212:            }
213:
214:            public static Localizable localizableWSS_1917_CRLF_INIT_FAILED() {
215:                return messageFactory.getMessage("WSS1917.crlf.init.failed");
216:            }
217:
218:            /**
219:             * WSS1917: Error occurred while initializing internal buffer.
220:             * 
221:             */
222:            public static String WSS_1917_CRLF_INIT_FAILED() {
223:                return localizer
224:                        .localize(localizableWSS_1917_CRLF_INIT_FAILED());
225:            }
226:
227:            public static Localizable localizableWSS_1927_ERROR_DECRYPT_ED(
228:                    Object arg0) {
229:                return messageFactory.getMessage("WSS1927.error.decrypt.ed",
230:                        arg0);
231:            }
232:
233:            /**
234:             * WSS1927: Error occured while decrypting {0}
235:             * 
236:             */
237:            public static String WSS_1927_ERROR_DECRYPT_ED(Object arg0) {
238:                return localizer
239:                        .localize(localizableWSS_1927_ERROR_DECRYPT_ED(arg0));
240:            }
241:
242:            public static Localizable localizableWSS_1921_ERROR_WRITING_ENCRYPTEDKEY(
243:                    Object arg0) {
244:                return messageFactory.getMessage(
245:                        "WSS1921.error.writing.encryptedkey", arg0);
246:            }
247:
248:            /**
249:             * WSS1921: Error occurred while writing EncryptedKey: {0}
250:             * 
251:             */
252:            public static String WSS_1921_ERROR_WRITING_ENCRYPTEDKEY(Object arg0) {
253:                return localizer
254:                        .localize(localizableWSS_1921_ERROR_WRITING_ENCRYPTEDKEY(arg0));
255:            }
256:
257:            public static Localizable localizableWSS_1951_ENCRYPTED_DATA_VALUE(
258:                    Object arg0) {
259:                return messageFactory.getMessage(
260:                        "WSS1951.encrypted.data.value", arg0);
261:            }
262:
263:            /**
264:             * WSS1951: Encrypted Data is: {0}
265:             * 
266:             */
267:            public static String WSS_1951_ENCRYPTED_DATA_VALUE(Object arg0) {
268:                return localizer
269:                        .localize(localizableWSS_1951_ENCRYPTED_DATA_VALUE(arg0));
270:            }
271:
272:            public static Localizable localizableWSS_1902_UNSUPPORTED_USERNAMETOKEN_KEYBINDING() {
273:                return messageFactory
274:                        .getMessage("WSS1902.unsupported.usernametoken.keybinding");
275:            }
276:
277:            /**
278:             * WSS1902: UsernameToken as KeyBinding for EncryptionPolicy is Not Yet Supported
279:             * 
280:             */
281:            public static String WSS_1902_UNSUPPORTED_USERNAMETOKEN_KEYBINDING() {
282:                return localizer
283:                        .localize(localizableWSS_1902_UNSUPPORTED_USERNAMETOKEN_KEYBINDING());
284:            }
285:
286:            public static Localizable localizableWSS_1920_ERROR_CALCULATING_CIPHERVALUE() {
287:                return messageFactory
288:                        .getMessage("WSS1920.error.calculating.ciphervalue");
289:            }
290:
291:            /**
292:             * WSS1920: Error occurred while calculating Cipher Value
293:             * 
294:             */
295:            public static String WSS_1920_ERROR_CALCULATING_CIPHERVALUE() {
296:                return localizer
297:                        .localize(localizableWSS_1920_ERROR_CALCULATING_CIPHERVALUE());
298:            }
299:
300:            public static Localizable localizableWSS_1906_INVALID_KEY_ERROR() {
301:                return messageFactory.getMessage("WSS1906.invalid.key.error");
302:            }
303:
304:            /**
305:             * WSS1906: Invalid key provided for encryption/decryption.
306:             * 
307:             */
308:            public static String WSS_1906_INVALID_KEY_ERROR() {
309:                return localizer
310:                        .localize(localizableWSS_1906_INVALID_KEY_ERROR());
311:            }
312:
313:            public static Localizable localizableWSS_1905_ERROR_INITIALIZING_CIPHER() {
314:                return messageFactory
315:                        .getMessage("WSS1905.error.initializing.cipher");
316:            }
317:
318:            /**
319:             * WSS1905: Error occurred while initializing the cipher. Padding error occurred.
320:             * 
321:             */
322:            public static String WSS_1905_ERROR_INITIALIZING_CIPHER() {
323:                return localizer
324:                        .localize(localizableWSS_1905_ERROR_INITIALIZING_CIPHER());
325:            }
326:
327:            public static Localizable localizableWSS_1913_DECRYPTION_KEY_NULL() {
328:                return messageFactory.getMessage("WSS1913.decryption.key.null");
329:            }
330:
331:            /**
332:             * WSS1913: Key used to decrypt EncryptedKey cannot be null
333:             * 
334:             */
335:            public static String WSS_1913_DECRYPTION_KEY_NULL() {
336:                return localizer
337:                        .localize(localizableWSS_1913_DECRYPTION_KEY_NULL());
338:            }
339:
340:            public static Localizable localizableWSS_1911_ERROR_WRITING_CIPHERVALUE(
341:                    Object arg0) {
342:                return messageFactory.getMessage(
343:                        "WSS1911.error.writing.ciphervalue", arg0);
344:            }
345:
346:            /**
347:             * WSS1911: Unable to calculate cipher value due to: {0}
348:             * 
349:             */
350:            public static String WSS_1911_ERROR_WRITING_CIPHERVALUE(Object arg0) {
351:                return localizer
352:                        .localize(localizableWSS_1911_ERROR_WRITING_CIPHERVALUE(arg0));
353:            }
354:
355:            public static Localizable localizableWSS_1923_ERROR_PROCESSING_CIPHERVAL(
356:                    Object arg0) {
357:                return messageFactory.getMessage(
358:                        "WSS1923.error.processing.cipherval", arg0);
359:            }
360:
361:            /**
362:             * WSS1923: Error occurred while processing CipherValue: {0} 
363:             * 
364:             */
365:            public static String WSS_1923_ERROR_PROCESSING_CIPHERVAL(Object arg0) {
366:                return localizer
367:                        .localize(localizableWSS_1923_ERROR_PROCESSING_CIPHERVAL(arg0));
368:            }
369:
370:            public static Localizable localizableWSS_1909_UNSUPPORTED_DATAENCRYPTION_ALGORITHM(
371:                    Object arg0) {
372:                return messageFactory.getMessage(
373:                        "WSS1909.unsupported.dataencryption.algorithm", arg0);
374:            }
375:
376:            /**
377:             * WSS1909: Unable to compute Cipher Value/ decrypt data as {0} algorithm is not supported for data encryption
378:             * 
379:             */
380:            public static String WSS_1909_UNSUPPORTED_DATAENCRYPTION_ALGORITHM(
381:                    Object arg0) {
382:                return localizer
383:                        .localize(localizableWSS_1909_UNSUPPORTED_DATAENCRYPTION_ALGORITHM(arg0));
384:            }
385:
386:            public static Localizable localizableWSS_1922_ERROR_DECODING_CIPHERVAL(
387:                    Object arg0) {
388:                return messageFactory.getMessage(
389:                        "WSS1922.error.decoding.cipherval", arg0);
390:            }
391:
392:            /**
393:             * WSS1922: Error occurred while decoding CipherValue: {0}
394:             * 
395:             */
396:            public static String WSS_1922_ERROR_DECODING_CIPHERVAL(Object arg0) {
397:                return localizer
398:                        .localize(localizableWSS_1922_ERROR_DECODING_CIPHERVAL(arg0));
399:            }
400:
401:            public static Localizable localizableWSS_1952_ENCRYPTION_KEYBINDING_VALUE(
402:                    Object arg0) {
403:                return messageFactory.getMessage(
404:                        "WSS1952.encryption.keybinding.value", arg0);
405:            }
406:
407:            /**
408:             * WSS1952: KeyBinding in Encryption is: {0}
409:             * 
410:             */
411:            public static String WSS_1952_ENCRYPTION_KEYBINDING_VALUE(
412:                    Object arg0) {
413:                return localizer
414:                        .localize(localizableWSS_1952_ENCRYPTION_KEYBINDING_VALUE(arg0));
415:            }
416:
417:            public static Localizable localizableWSS_1926_ED_KEY_NOTSET() {
418:                return messageFactory.getMessage("WSS1926.ed.key.notset");
419:            }
420:
421:            /**
422:             * WSS1926: Key not set for EncryptedData
423:             * 
424:             */
425:            public static String WSS_1926_ED_KEY_NOTSET() {
426:                return localizer.localize(localizableWSS_1926_ED_KEY_NOTSET());
427:            }
428:
429:            public static Localizable localizableWSS_1904_UNSUPPORTED_KEYENCRYPTION_ALGORITHM(
430:                    Object arg0) {
431:                return messageFactory.getMessage(
432:                        "WSS1904.unsupported.keyencryption.algorithm", arg0);
433:            }
434:
435:            /**
436:             * WSS1904: Unable to compute Cipher Value / decrypt key as {0} algorithm is not supported for key encryption
437:             * 
438:             */
439:            public static String WSS_1904_UNSUPPORTED_KEYENCRYPTION_ALGORITHM(
440:                    Object arg0) {
441:                return localizer
442:                        .localize(localizableWSS_1904_UNSUPPORTED_KEYENCRYPTION_ALGORITHM(arg0));
443:            }
444:
445:        }
w_w__w.___j_a___v__a2_s___._c__o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.