
META-INF.modules.java.base.classes.javax.net.ssl.SNIHostName.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java.base Show documentation
Show all versions of java.base Show documentation
Bytecoder java.base Module
???? : ? javax/net/ssl/StandardConstants -Server name value of host_name cannot be null
java/util/Objects requireNonNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; java/lang/String java/net/IDN
toASCII '(Ljava/lang/String;I)Ljava/lang/String; !java/nio/charset/StandardCharsets US_ASCII Ljava/nio/charset/Charset;
getBytes (Ljava/nio/charset/Charset;)[B
! " javax/net/ssl/SNIServerName (I[B)V $ % & ' ( javax/net/ssl/SNIHostName hostname Ljava/lang/String;
$ * + ,
checkHostName ()V . / UTF_8
1 2 3 4 5 java/nio/charset/Charset
newDecoder #()Ljava/nio/charset/CharsetDecoder; 7 8 9 : ; "java/nio/charset/CodingErrorAction REPORT $Ljava/nio/charset/CodingErrorAction;
= > ? @ A java/nio/charset/CharsetDecoder onMalformedInput G(Ljava/nio/charset/CodingErrorAction;)Ljava/nio/charset/CharsetDecoder;
= C D A onUnmappableCharacter
F G H I J java/nio/ByteBuffer wrap ([B)Ljava/nio/ByteBuffer;
= L M N decode ,(Ljava/nio/ByteBuffer;)Ljava/nio/CharBuffer;
P Q R S T java/nio/CharBuffer toString ()Ljava/lang/String;
V W &(Ljava/lang/String;)Ljava/lang/String; Y java/lang/RuntimeException [ )java/nio/charset/CharacterCodingException ] "java/lang/IllegalArgumentException _ (The encoded server name value is invalid
\ a ! b *(Ljava/lang/String;Ljava/lang/Throwable;)V
d e f equalsIgnoreCase (Ljava/lang/String;)Z h i j k l java/util/Locale ENGLISH Ljava/util/Locale;
n o p toUpperCase &(Ljava/util/Locale;)Ljava/lang/String;
r s t hashCode ()I v java/lang/StringBuilder
u x ! , z type=host_name (0), value=
u | } ~ append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
u Q ? java/lang/NullPointerException ? %The regular expression cannot be null
? ? ! ? (Ljava/lang/String;)V ? ,javax/net/ssl/SNIHostName$SNIHostNameMatcher
? ?
? ? ? isEmpty ()Z ? .Server name value of host_name cannot be empty
\ ? ? .
? ? f endsWith ? ;Server name value of host_name cannot have the trailing dot Code LineNumberTable LocalVariableTable this Ljavax/net/ssl/SNIHostName; ([B)V decoder !Ljava/nio/charset/CharsetDecoder; e Ljava/lang/Exception; encoded [B
StackMapTable ? ? java/lang/Exception getAsciiName equals (Ljava/lang/Object;)Z other Ljava/lang/Object; result I createSNIMatcher .(Ljava/lang/String;)Ljavax/net/ssl/SNIMatcher; regex
SourceFile SNIHostName.java NestMembers InnerClasses SNIHostNameMatcher 1 $ ' ( ! ? ? t $*+? ? ? YL? ? ? *+? #*? )? ? " b d c g b i l # m ? $ ? ? $ ' ( ! ? ? ? ?*+? ? -? 0? 6?