KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > internal > verifier > JarVerifierMessages


1 /*******************************************************************************
2  * Copyright (c) 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11
12 package org.eclipse.osgi.internal.verifier;
13
14 import org.eclipse.osgi.util.NLS;
15
16 public class JarVerifierMessages extends NLS {
17
18     // Jar file is tampered
19
public static String JavaDoc Jar_Is_Tampered;
20     public static String JavaDoc file_is_removed_from_jar;
21     public static String JavaDoc File_In_Jar_Is_Tampered;
22     public static String JavaDoc Security_File_Is_Tampered;
23     public static String JavaDoc Signature_Not_Verify;
24     public static String JavaDoc Signature_Not_Verify_1;
25
26     // Jar file parsing
27
public static String JavaDoc SF_File_Parsing_Error;
28
29     // PKCS7 parsing errors
30
public static String JavaDoc PKCS7_SignerInfo_Version_Not_Supported;
31     public static String JavaDoc PKCS7_Cert_Excep;
32     public static String JavaDoc PKCS7_No_Such_Algorithm;
33     public static String JavaDoc PKCS7_Parse_Signing_Time;
34     public static String JavaDoc PKCS7_Parse_Signing_Time_1;
35
36     // validate certificate chain
37
public static String JavaDoc Validate_Certs_Certificate_Exception;
38
39     // Security Exceptions
40
public static String JavaDoc Algorithm_Not_Supported;
41     public static String JavaDoc No_Such_Algorithm_Excep;
42     public static String JavaDoc No_Such_Provider_Excep;
43     public static String JavaDoc Invalid_Key_Exception;
44
45     // Certs Trust Determination
46
public static String JavaDoc Cert_Verifier_Illegal_Args;
47     public static String JavaDoc Cert_Verifier_Not_Trusted;
48     public static String JavaDoc Cert_Verifier_Add_Certs;
49
50     // private static final String BUNDLE_PACKAGE = JarVerifierMessages.class.getPackage().getName() + ".";
51
private static final String JavaDoc BUNDLE_PACKAGE = "org.eclipse.osgi.internal.verifier."; //$NON-NLS-1$
52
private static final String JavaDoc BUNDLE_FILENAME = "JarVerifierMessages"; //$NON-NLS-1$
53
private static final String JavaDoc BUNDLE_NAME = BUNDLE_PACKAGE + BUNDLE_FILENAME;
54
55     static {
56         NLS.initializeMessages(BUNDLE_NAME, JarVerifierMessages.class);
57     }
58 }
59
Popular Tags