1 package org.ejbca.core.model.ca.catoken; 2 3 public class CATokenConstants { 4 5 public static final String SIGALG_SHA1_WITH_RSA = "SHA1WithRSA"; 6 public static final String SIGALG_SHA256_WITH_RSA = "SHA256WithRSA"; 7 public static final String SIGALG_MD5_WITH_RSA = "MD5WithRSA"; 8 public static final String SIGALG_SHA1_WITH_ECDSA = "SHA1withECDSA"; 9 public static final String SIGALG_SHA256_WITH_ECDSA = "SHA256withECDSA"; 10 public static final String SIGALG_SHA256_WITH_RSA_AND_MGF1 = "SHA256WithRSAAndMGF1"; 11 12 13 public static final String [] 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 KEYALGORITHM_RSA = "RSA"; 16 public static final String 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 |