KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > ejbca > core > model > ca > catoken > CATokenConstants


1 package org.ejbca.core.model.ca.catoken;
2
3 public class CATokenConstants {
4
5     public static final String JavaDoc SIGALG_SHA1_WITH_RSA = "SHA1WithRSA";
6     public static final String JavaDoc SIGALG_SHA256_WITH_RSA = "SHA256WithRSA";
7     public static final String JavaDoc SIGALG_MD5_WITH_RSA = "MD5WithRSA";
8     public static final String JavaDoc SIGALG_SHA1_WITH_ECDSA = "SHA1withECDSA";
9     public static final String JavaDoc SIGALG_SHA256_WITH_ECDSA = "SHA256withECDSA";
10     public static final String JavaDoc SIGALG_SHA256_WITH_RSA_AND_MGF1 = "SHA256WithRSAAndMGF1";
11     
12     /** This differs between java 1.5 and java 1.4 */
13     public static final String JavaDoc[] AVAILABLE_SIGALGS = {SIGALG_SHA1_WITH_RSA, SIGALG_SHA256_WITH_RSA, SIGALG_MD5_WITH_RSA, SIGALG_SHA256_WITH_RSA_AND_MGF1, SIGALG_SHA1_WITH_ECDSA, SIGALG_SHA256_WITH_ECDSA};
14     
15     public static final String JavaDoc KEYALGORITHM_RSA = "RSA";
16     public static final String JavaDoc KEYALGORITHM_ECDSA = "ECDSA";
17
18     public static final int CATOKENTYPE_P12 = 1;
19     public static final int CATOKENTYPE_HSM = 2;
20     public static final int CATOKENTYPE_NULL = 3;
21     
22
23 }
24
Popular Tags