equal
deleted
inserted
replaced
66 // minimum priority for default enabled algorithms |
66 // minimum priority for default enabled algorithms |
67 final static int SUPPORTED_ALG_PRIORITY_MAX_NUM = 0x00F0; |
67 final static int SUPPORTED_ALG_PRIORITY_MAX_NUM = 0x00F0; |
68 |
68 |
69 // performance optimization |
69 // performance optimization |
70 private final static Set<CryptoPrimitive> SIGNATURE_PRIMITIVE_SET = |
70 private final static Set<CryptoPrimitive> SIGNATURE_PRIMITIVE_SET = |
71 EnumSet.of(CryptoPrimitive.SIGNATURE); |
71 Collections.unmodifiableSet(EnumSet.of(CryptoPrimitive.SIGNATURE)); |
72 |
72 |
73 // supported pairs of signature and hash algorithm |
73 // supported pairs of signature and hash algorithm |
74 private final static Map<Integer, SignatureAndHashAlgorithm> supportedMap; |
74 private final static Map<Integer, SignatureAndHashAlgorithm> supportedMap; |
75 private final static Map<Integer, SignatureAndHashAlgorithm> priorityMap; |
75 private final static Map<Integer, SignatureAndHashAlgorithm> priorityMap; |
76 |
76 |