classes.io.netty.handler.ssl.CipherSuiteConverter.class Maven / Gradle / Ivy
???? 2Q X ? ? ? X ? ? ?
? ? ? ?
? ? ? ? ? ? ? ?
X ?
?
?
?
?
? ?
X ?
X ? ? ?
? ?
? ? ? ? ? ? ? ? X ? ? ? ? X ?
? ?
? ?
? ?
X ?
X ?
X ?
? ?
?
? ? ? ? ?
? ?
? X ? ?
? ? X ? ? ? ? ? ? ? ? ? ? ? ?
X ?
X ? X
X
X
X X
X
b ?
?
logger /Lio/netty/util/internal/logging/InternalLogger; JAVA_CIPHERSUITE_PATTERN Ljava/util/regex/Pattern; OPENSSL_CIPHERSUITE_PATTERN JAVA_AES_CBC_PATTERN JAVA_AES_PATTERN OPENSSL_AES_CBC_PATTERN OPENSSL_AES_PATTERN j2o $Ljava/util/concurrent/ConcurrentMap; Signature JLjava/util/concurrent/ConcurrentMap; o2j mLjava/util/concurrent/ConcurrentMap;>;
clearCache ()V Code LineNumberTable isJ2OCached '(Ljava/lang/String;Ljava/lang/String;)Z LocalVariableTable key Ljava/lang/String; value isO2JCached 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z protocol p2j Ljava/util/Map; LocalVariableTypeTable 5Ljava/util/Map;
StackMapTable ? toOpenSsl ((Ljava/lang/Iterable;)Ljava/lang/String; converted c i$ Ljava/util/Iterator; javaCipherSuites Ljava/lang/Iterable; buf Ljava/lang/StringBuilder; (Ljava/lang/Iterable; ? ? <(Ljava/lang/Iterable;)Ljava/lang/String; &(Ljava/lang/String;)Ljava/lang/String; javaCipherSuite
cacheFromJava openSslCipherSuite javaCipherSuiteSuffix toOpenSslUncached m Ljava/util/regex/Matcher;
handshakeAlgo
bulkCipher hmacAlgo toOpenSslHandshakeAlgo export Z toOpenSslBulkCipher toOpenSslHmacAlgo toJava 8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; cacheFromOpenSsl #(Ljava/lang/String;)Ljava/util/Map; javaCipherSuiteSsl javaCipherSuiteTls I(Ljava/lang/String;)Ljava/util/Map; toJavaUncached toJavaHandshakeAlgo '(Ljava/lang/String;Z)Ljava/lang/String; toJavaBulkCipher toJavaHmacAlgo this +Lio/netty/handler/ssl/CipherSuiteConverter;
SourceFile CipherSuiteConverter.java l m s p m!"#$
java/util/Map java/lang/StringBuilder ? s%&'()*+ java/lang/String ? ?,-,./01234 ? ? ? ?5678 java/util/HashMap ?296 SSL SSL_ TLS TLS_ c d Cipher suite mapping: {} => {}:;< e f=>?@)A8 ? ? ? ? ? ? _EXPORTBC7D RSA _anon EXP EXP-EF AES_GC h f $1$2H ? i f $1$2-$3 3DES_EDE_CBC DES-CBC3 RC4_128 RC4_40 RC4 DES40_CBC
DES_CBC_40 DES-CBC
RC2_CBC_40 RC2-CBC ? ? ? ? g f ? ? ? ? ? ? _WITH_ ADH DH_anon AECDH ECDH_anon AES j f $1_$2_CBC k f $1_$2_$3 DES_CBC RC2_CBC )io/netty/handler/ssl/CipherSuiteConverterIJK /^(?:TLS|SSL)_((?:(?!_WITH_).)+)_WITH_(.*)_(.*)$LM o^(?:((?:(?:EXP-)?(?:(?:DHE|EDH|ECDH|ECDHE|SRP)-(?:DSS|RSA|ECDSA)|(?:ADH|AECDH|KRB5|PSK|SRP)))|EXP)-)?(.*)-(.*)$ ^(AES)_([0-9]+)_CBC$ ^(AES)_([0-9]+)_(.*)$ ^(AES)([0-9]+)$ ^(AES)([0-9]+)-(.*)$NOP java/lang/Object java/util/Iterator java/util/regex/Matcher "java/util/concurrent/ConcurrentMap clear get &(Ljava/lang/Object;)Ljava/lang/Object; equals (Ljava/lang/Object;)Z java/lang/Iterable iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; length ()I setLength (I)V toString ()Ljava/lang/String; putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; substring (I)Ljava/lang/String; put -io/netty/util/internal/logging/InternalLogger debug 9(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; matches group endsWith (Ljava/lang/String;)Z (II)Ljava/lang/String; replace (CC)Ljava/lang/String;
startsWith replaceFirst 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; (io/netty/util/internal/PlatformDependent newConcurrentHashMap &()Ljava/util/concurrent/ConcurrentMap; 0 X b c d e f g f h f i f j f k f l m n o p m n q r s t 1 ? ? ? ? ? u f g h v w t B +? *? ? ? u n x y z { z | } t ? ? *? ? N-? ?,-+? ? ? u u
v w y x * y z ~ z { z
? ?
? ? ? ? ? ? t `? Y? L*?
M,? ? 2,? ?
N-? ? !-? :? N+-? W+:? W???+? ? ++? d? +? ?? u : ? ? " ? &