com.squareup.okhttp.internal.tls.OkHostnameVerifier.class Maven / Gradle / Ivy
???? 3
= ? ? ? ?
? ?
?
?
? ?
? ?
? ? ?
? # ? # ? ?
? ? ?
?
?
? ?
? l
? ?
? # ?
?
?
? ? ? ? ? ? ? ? ? ?
$ ? # ? ?
? ?
? ?
? ?
- ?
- ?
- ?
- ? ?
?
? ?
?
?
?
? ? ?
? ? ? ? INSTANCE 5Lcom/squareup/okhttp/internal/tls/OkHostnameVerifier; VERIFY_AS_IP_ADDRESS Ljava/util/regex/Pattern; ALT_DNS_NAME I
ConstantValue ALT_IPA_NAME ()V Code LineNumberTable LocalVariableTable this verify /(Ljava/lang/String;Ljavax/net/ssl/SSLSession;)Z certificates ![Ljava/security/cert/Certificate; e Ljavax/net/ssl/SSLException; host Ljava/lang/String; session Ljavax/net/ssl/SSLSession;
StackMapTable ? 9(Ljava/lang/String;Ljava/security/cert/X509Certificate;)Z certificate $Ljava/security/cert/X509Certificate; verifyAsIpAddress (Ljava/lang/String;)Z verifyIpAddress i size ipAddress altNames Ljava/util/List; LocalVariableTypeTable $Ljava/util/List; ? verifyHostName principal (Ljavax/security/auth/x500/X500Principal; cn hostName hasDns Z ? ? ? allSubjectAltNames 6(Ljava/security/cert/X509Certificate;)Ljava/util/List; altIpaNames altDnsNames result Signature J(Ljava/security/cert/X509Certificate;)Ljava/util/List; getSubjectAltNames 7(Ljava/security/cert/X509Certificate;I)Ljava/util/List; altName entry altNameType Ljava/lang/Integer; subjectAltName Ljava/lang/Object; subjectAltNames Ljava/util/Collection; 0Ljava/security/cert/CertificateParsingException; type Ljava/util/List<*>; Ljava/util/Collection<*>; ? ? ? ? ? K(Ljava/security/cert/X509Certificate;I)Ljava/util/List; '(Ljava/lang/String;Ljava/lang/String;)Z pattern suffix suffixStartIndexInHostName
SourceFile OkHostnameVerifier.java I J ? ? ? "java/security/cert/X509Certificate O [ javax/net/ssl/SSLException ^ _ ` [ i [ A B ? ? ? ? ? ? 3com/squareup/okhttp/internal/tls/OkHostnameVerifier z { b ? ? ? java/lang/String ? _ ? ? ? ? ? i ? ? ? 8com/squareup/okhttp/internal/tls/DistinguishedNameParser I ? ? ? java/util/ArrayList I ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? java/util/List java/lang/Integer ? ? ? ? .java/security/cert/CertificateParsingException ? ? . _ .. _ java/lang/StringBuilder * ? *.
? @ &([0-9a-fA-F]*:[0-9a-fA-F:.]*)|([\d.]+) java/lang/Object javax/net/ssl/HostnameVerifier java/util/Collection java/util/Iterator javax/net/ssl/SSLSession getPeerCertificates #()[Ljava/security/cert/Certificate; java/util/regex/Pattern matcher 3(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher; java/util/regex/Matcher matches ()Z ()I get (I)Ljava/lang/Object; equalsIgnoreCase java/util/Locale US Ljava/util/Locale; toLowerCase &(Ljava/util/Locale;)Ljava/lang/String; getSubjectX500Principal *()Ljavax/security/auth/x500/X500Principal; +(Ljavax/security/auth/x500/X500Principal;)V findMostSpecific &(Ljava/lang/String;)Ljava/lang/String; (I)V addAll (Ljava/util/Collection;)Z getSubjectAlternativeNames ()Ljava/util/Collection; java/util/Collections emptyList ()Ljava/util/List; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; intValue add (Ljava/lang/Object;)Z length
startsWith endsWith append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; contains (Ljava/lang/CharSequence;)Z equals indexOf (II)I substring (I)Ljava/lang/String; lastIndexOf compile -(Ljava/lang/String;)Ljava/util/regex/Pattern; 1 = > ? @ A B C D E F G D E H
I J K 3 *? ? L
: ; M N @ O P K ? ,? N*+-2? ? ?N? L @ A B C M 4 Q R S T N @ U V W X Y S Z O [ K h +? ? *+,? ? *+,? ? L H
I J M N @ U V \ ] Y E ^ _ K 5 ? *?
? ? L N M U V ` [ K ? 5,?
N6-? 6? +-? ? ? ? ?????? L U V W + X - V 3 [ M >
) a D ! b D 5 N @ 5 c V 5 \ ] . d e f . d g Y ? h? i [ K N k+? ? L>,?
:6? 6? !>*+? ? ? ? ?????? &,? :? Y? ? :? *+? ?? L : b c
d e $ f &