META-INF.modules.java.base.classes.sun.security.util.HostnameChecker.class Maven / Gradle / Ivy
???? 7?
G ? ? ? ? ? ? ?
? ?
?
?
?
?
?
?
?
?
? ?
? ?
? ? ? ?
? ? ? ? ? ? ? ? ? ?
? ?
?
? ?
? ? ? ? ? ? ?
' ? ?
?
? ? ?
? 5 ?
5 ?
? ? ? ?
? ? ?
?
5
9 ?
9
?
S
?
?!
?"# S$% &'
()
X*
X+
X,
X-
.
/
01
2 S3 45
6 TYPE_TLS B
ConstantValue INSTANCE_TLS #Lsun/security/util/HostnameChecker; TYPE_LDAP
INSTANCE_LDAP ALTNAME_DNS I
ALTNAME_IP checkType (B)V Code LineNumberTable LocalVariableTable this getInstance &(B)Lsun/security/util/HostnameChecker;
StackMapTable match :(Ljava/lang/String;Ljava/security/cert/X509Certificate;Z)V expectedName Ljava/lang/String; cert $Ljava/security/cert/X509Certificate; chainsToPublicCA Z
Exceptions 9(Ljava/lang/String;Ljava/security/cert/X509Certificate;)V isIpAddress (Ljava/lang/String;)Z name matchIP ipAddress next Ljava/util/List;
expectedIP subjAltNames Ljava/util/Collection; LocalVariableTypeTable Ljava/util/List<*>; +Ljava/util/Collection;>;78 matchDNS iae $Ljava/lang/IllegalArgumentException; dnsName foundDNS subjectName Lsun/security/x509/X500Name; derValue Lsun/security/util/DerValue; msg9 getSubjectX500Name B(Ljava/security/cert/X509Certificate;)Lsun/security/x509/X500Name; subjectX500 (Ljavax/security/auth/x500/X500Principal; subjectDN Ljava/security/Principal; e Ljava/io/IOException;:; isMatched ((Ljava/lang/String;Ljava/lang/String;Z)Z template hasIllegalWildcard wDomain domain lastWildcardIndex
afterWildcard
firstDotIndex rd Ljava/util/Optional; :Ljava/util/Optional;< matchAllWildcards '(Ljava/lang/String;Ljava/lang/String;)Z nameSt Ljava/util/StringTokenizer;
templateSt matchLeftmostWildcard templateIdx nameIdx matchWildCards beforeStartIdx wildcardIdx isBeginning beforeWildcard lambda$hasIllegalWildcard$0 '(Lsun/security/util/RegisteredDomain;)Z d $Lsun/security/util/RegisteredDomain; ()V
SourceFile HostnameChecker.java s ? r f !sun/security/util/HostnameChecker i j m j "java/lang/IllegalArgumentException java/lang/StringBuilder Unknown check type: =>=?@A sB ? ? ? ? ? } | }CD ?E ?FG 'java/security/cert/CertificateException $No subject alternative names presentHIJK ?L java/util/ListMN java/lang/IntegerOP java/lang/StringQ ?RSTUV java/net/UnknownHostException java/lang/SecurityException 1No subject alternative names matching IP address found javax/net/ssl/SNIHostName Illegal given domain name: sW ? ? )No subject alternative DNS name matching found. ? ?XYZ[\A java/io/IOException No name matching ]^ sun/security/x509/X500Name_`abc sd .java/security/cert/CertificateParsingExceptionefghiji ? ?kl ? ? ? ? * *.mn ? ?Certificate domain name has illegal single wildcard character: java/lang/Objectopqrst .ur OCertificate domain name has illegal wildcard, no dot after wildcard character: vw BootstrapMethodsxVy ?z{|}~KML "sun/security/util/RegisteredDomainA @Certificate domain name has illegal wildcard for public suffix: ????? java/util/StringTokenizer s??P?K?A ? ??Ps? ? ?????? s t java/util/Collection java/util/Iterator sun/security/util/DerValue java/security/Principal "java/security/cert/X509Certificate java/util/Optional append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V sun/net/util/IPAddressUtil isIPv4LiteralAddress isIPv6LiteralAddress getSubjectAlternativeNames ()Ljava/util/Collection; iterator ()Ljava/util/Iterator; hasNext ()Z ()Ljava/lang/Object; get (I)Ljava/lang/Object; intValue ()I equalsIgnoreCase java/net/InetAddress getByName *(Ljava/lang/String;)Ljava/net/InetAddress; equals (Ljava/lang/Object;)Z *(Ljava/lang/String;Ljava/lang/Throwable;)V commonName_oid $Lsun/security/util/ObjectIdentifier; findMostSpecificAttribute B(Lsun/security/util/ObjectIdentifier;)Lsun/security/util/DerValue; getAsString getSubjectDN ()Ljava/security/Principal; getSubjectX500Principal *()Ljavax/security/auth/x500/X500Principal; &javax/security/auth/x500/X500Principal
getEncoded ()[B ([B)V initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; java/net/IDN toASCII &(Ljava/lang/String;)Ljava/lang/String; toUnicode replace (CC)Ljava/lang/String; sun/security/ssl/SSLLogger isOn fine ((Ljava/lang/String;[Ljava/lang/Object;)V lastIndexOf (Ljava/lang/String;)I substring (I)Ljava/lang/String; indexOf from ((Ljava/lang/String;)Ljava/util/Optional;
??
? test ()Ljava/util/function/Predicate; filter 4(Ljava/util/function/Predicate;)Ljava/util/Optional; isPresent publicSuffix java/util/Locale ENGLISH Ljava/util/Locale; toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; '(Ljava/lang/String;Ljava/lang/String;)V countTokens
hasMoreTokens nextToken length (II)Ljava/lang/String; endsWith type Type InnerClasses +()Lsun/security/util/RegisteredDomain$Type; 'sun/security/util/RegisteredDomain$Type ICANN )Lsun/security/util/RegisteredDomain$Type;??? ? ? "java/lang/invoke/LambdaMetafactory metafactory? Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! G e f g h i j k f g l m j n o g l p o g q r f s t u F
*? *? ? v B C D w
x j
r f y z u q -? ? ?? ? ?? Y? Y? ?
? ? ?
? v K L M N P w - r f { | } u u +? ? +,? ?
*+,? ? v _ ` b d w * x j ~ ? ? ? ? { ? | ? u J *+,? ? v
h i w x j ~ ? ? ?
? ? u R *? ?
*? ? ?? v u v w y w ? {
? ? u ?+? M,?
? Y? ?,? N-? ? U-? ? :? ? ? ? 4? ? :*? ? ?*? !? !? "? ??
:? :???? Y? Y? %?
*?
&?
? ? ? X g k # X g p $ v F ? ? ? ? . ? A ? N ? W ? X ? ^ ? a ? g ? h ? k ? m ? r ? u ? w 4 N $ ? . D ? ? ? ? ? ? ? ? ? ? ? . D ? ? ? ? ? { &