io.netty.handler.ssl.Java8SslUtils.class Maven / Gradle / Ivy
???? 2 ? "io/netty/handler/ssl/Java8SslUtils java/lang/Object Java8SslUtils.java ()V
this $Lio/netty/handler/ssl/Java8SslUtils; getSniHostNames /(Ljavax/net/ssl/SSLParameters;)Ljava/util/List; javax/net/ssl/SSLParameters getServerNames ()Ljava/util/List;
java/util/List isEmpty ()Z java/util/Collections emptyList
java/util/ArrayList size ()I ! " # (I)V %
& iterator ()Ljava/util/Iterator; ( ) * java/util/Iterator , hasNext . - / next ()Ljava/lang/Object; 1 2 - 3 javax/net/ssl/SNIServerName 5 javax/net/ssl/SNIHostName 7 getAsciiName ()Ljava/lang/String; 9 :
8 ; add (Ljava/lang/Object;)Z = > ? "java/lang/IllegalArgumentException A java/lang/StringBuilder C
D Only F append -(Ljava/lang/String;)Ljava/lang/StringBuilder; H I
D J java/lang/Class L getName N :
M O % instances are supported, but found: Q -(Ljava/lang/Object;)Ljava/lang/StringBuilder; H S
D T toString V :
D W (Ljava/lang/String;)V Y
B Z
serverName Ljavax/net/ssl/SNIServerName;
sslParameters Ljavax/net/ssl/SSLParameters; names /Ljava/util/List; Ljava/util/List; strings $Ljava/util/List; setSniHostNames 0(Ljavax/net/ssl/SSLParameters;Ljava/util/List;)V java/lang/String g
8 Z setServerNames (Ljava/util/List;)V j k
l name Ljava/lang/String; sniServerNames getUseCipherSuitesOrder (Ljavax/net/ssl/SSLParameters;)Z q
s setUseCipherSuitesOrder !(Ljavax/net/ssl/SSLParameters;Z)V (Z)V u w
x useOrder Z setSNIMatchers 6(Ljavax/net/ssl/SSLParameters;Ljava/util/Collection;)V (Ljava/util/Collection;)V | ~
matchers Ljava/util/Collection<*>; Ljava/util/Collection; checkSniHostnameMatch +(Ljava/util/Collection;Ljava/lang/String;)Z java/util/Collection ? ? ? * javax/net/ssl/SNIMatcher ? getType ? "
? ? matches (Ljavax/net/ssl/SNIServerName;)Z ? ?
? ? matcher Ljavax/net/ssl/SNIMatcher; Ljavax/net/ssl/SNIHostName; matcherIt 0Ljava/util/Iterator; Ljava/util/Iterator; hostname Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable Signature C(Ljavax/net/ssl/SSLParameters;)Ljava/util/List; D(Ljavax/net/ssl/SSLParameters;Ljava/util/List;)V 9(Ljavax/net/ssl/SSLParameters;Ljava/util/Collection<*>;)V .(Ljava/util/Collection<*>;Ljava/lang/String;)Z
SourceFile 0 ? / *? ? ?
?
? 3 ?*? L+? +? ? ? ?? Y+? $ ? 'M+? + N-? 0 ? T-? 4 ? 6:? 8? ,? 8?