1 9 10 package org.eclipse.osgi.internal.verifier; 11 12 public interface JarVerifierConstant { 13 14 public static final String SHA1_STR = "SHA1"; public static final String MD5_STR = "MD5"; public static final String MD2_STR = "MD2"; 18 public static final String DOT_DSA = ".DSA"; public static final String DOT_RSA = ".RSA"; public static final String DOT_SF = ".SF"; public static final String META_INF = "META-INF/"; public static final String META_INF_MANIFEST_MF = "META-INF/MANIFEST.MF"; public static final String [] EMPTY_STRING = new String [0]; 24 25 public static final String MF_ENTRY_NEWLN_NAME = "\nName: "; public static final String MF_ENTRY_NAME = "Name: "; public static final String MF_DIGEST_PART = "-Digest: "; public static final String digestManifestSearch = "-Digest-Manifest: "; public static final int digestManifestSearchLen = digestManifestSearch.length(); 34 35 public static final int SIGNEDDATA_OID[] = {1, 2, 840, 113549, 1, 7, 2}; 36 public static final int MD5_OID[] = {1, 2, 840, 113549, 2, 5}; 37 public static final int MD2_OID[] = {1, 2, 840, 113549, 2, 2}; 38 public static final int SHA1_OID[] = {1, 3, 14, 3, 2, 26}; 39 public static final int DSA_OID[] = {1, 2, 840, 10040, 4, 1}; 40 public static final int RSA_OID[] = {1, 2, 840, 113549, 1, 1, 1}; 41 42 public static final String TRUST_AUTHORITY = "osgi.certificate.trust.authority"; public static final Object DEFAULT_TRUST_AUTHORITY = "org.eclipse.osgi"; 46 public static final int TIMESTAMP_OID[] = {1, 2, 840, 113549, 1, 9, 16, 2, 14}; 48 public static final int TIMESTAMP_TST_OID[] = {1, 2, 840, 113549, 1, 9, 16, 1, 4}; 49 public static final int SIGNING_TIME[] = {1, 2, 840, 113549, 1, 9, 5}; 50 51 } 52 | Popular Tags |