src/java.base/share/classes/sun/security/ssl/SSLAlgorithmDecomposer.java
branchJDK-8145252-TLS13-branch
changeset 56782 b472b5917a1b
parent 56542 56aaa6cb3693
equal deleted inserted replaced
56769:125890684a60 56782:b472b5917a1b
     1 /*
     1 /*
     2  * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    29 import java.util.Set;
    29 import java.util.Set;
    30 import sun.security.ssl.CipherSuite.HashAlg;
    30 import sun.security.ssl.CipherSuite.HashAlg;
    31 import sun.security.ssl.CipherSuite.KeyExchange;
    31 import sun.security.ssl.CipherSuite.KeyExchange;
    32 import static sun.security.ssl.CipherSuite.KeyExchange.*;
    32 import static sun.security.ssl.CipherSuite.KeyExchange.*;
    33 import sun.security.ssl.CipherSuite.MacAlg;
    33 import sun.security.ssl.CipherSuite.MacAlg;
    34 import static sun.security.ssl.SSLCipher.B_3DES;
    34 import static sun.security.ssl.SSLCipher.*;
    35 import static sun.security.ssl.SSLCipher.B_AES_128;
       
    36 import static sun.security.ssl.SSLCipher.B_AES_128_GCM;
       
    37 import static sun.security.ssl.SSLCipher.B_AES_256;
       
    38 import static sun.security.ssl.SSLCipher.B_AES_256_GCM;
       
    39 import static sun.security.ssl.SSLCipher.B_DES;
       
    40 import static sun.security.ssl.SSLCipher.B_DES_40;
       
    41 import static sun.security.ssl.SSLCipher.B_NULL;
       
    42 import static sun.security.ssl.SSLCipher.B_RC2_40;
       
    43 import static sun.security.ssl.SSLCipher.B_RC4_128;
       
    44 import static sun.security.ssl.SSLCipher.B_RC4_40;
       
    45 import sun.security.util.AlgorithmDecomposer;
    35 import sun.security.util.AlgorithmDecomposer;
    46 
    36 
    47 /**
    37 /**
    48  * The class decomposes standard SSL/TLS cipher suites into sub-elements.
    38  * The class decomposes standard SSL/TLS cipher suites into sub-elements.
    49  */
    39  */