jdk/src/share/classes/sun/security/ssl/SignatureAndHashAlgorithm.java
changeset 23897 911b1eb93667
parent 23010 6dadb192ad81
equal deleted inserted replaced
23896:0b88142bbc7e 23897:911b1eb93667
    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