META-INF.modules.java.base.classes.sun.security.provider.certpath.Builder.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
???? :?
java/lang/Object ()V
&sun/security/provider/certpath/Builder buildParams 3Lsun/security/provider/certpath/PKIX$BuilderParams;
1sun/security/provider/certpath/PKIX$BuilderParams targetCertConstraints #()Ljava/security/cert/CertSelector; #java/security/cert/X509CertSelector %Ljava/security/cert/X509CertSelector; &sun/security/x509/GeneralNameInterface
constrains +(Lsun/security/x509/GeneralNameInterface;)I ! debug Lsun/security/util/Debug; # -Builder.distance(): Names are different types
% & ' ( ) sun/security/util/Debug println (Ljava/lang/String;)V + ABuilder.distance(): Names are same type but in different subtrees - . / subtreeDepth ()I 1 )Builder.hops(): Names are different types 3 4 / getType 6 >Builder.hops(): hopDistance not implemented for this name type 8 sun/security/x509/X500Name
7 : ; < commonAncestor :(Lsun/security/x509/X500Name;)Lsun/security/x509/X500Name; > 1Builder.hops(): Names are in different namespaces
7 -
A B C D E *sun/security/x509/NameConstraintsExtension verify '(Ljava/security/cert/X509Certificate;)Z G java/io/IOException I 6certificate does not satisfy existing name constraints
F K )
M N O P Q sun/security/x509/X509CertImpl toImpl F(Ljava/security/cert/X509Certificate;)Lsun/security/x509/X509CertImpl; S 'java/security/cert/CertificateException U Invalid certificate
F W X *(Ljava/lang/String;Ljava/lang/Throwable;)V
M Z [ \ getSubjectX500Principal *()Ljavax/security/auth/x500/X500Principal;
7 ^ _ `
asX500Name F(Ljavax/security/auth/x500/X500Principal;)Lsun/security/x509/X500Name;
7 b c d equals (Ljava/lang/Object;)Z
M f g h "getSubjectAlternativeNameExtension 5()Lsun/security/x509/SubjectAlternativeNameExtension; j 1sun/security/x509/SubjectAlternativeNameExtension l subject_name
i n o p get 4(Ljava/lang/String;)Lsun/security/x509/GeneralNames;
r s t u / sun/security/x509/GeneralNames size
r w o x "(I)Lsun/security/x509/GeneralName;
z { | } ~ sun/security/x509/GeneralName getName *()Lsun/security/x509/GeneralNameInterface;
b
M ? ? ? getNameConstraintsExtension .()Lsun/security/x509/NameConstraintsExtension;
A ? ? ? merge /(Lsun/security/x509/NameConstraintsExtension;)V
A ? ? ? clone ()Ljava/lang/Object; ? java/lang/StringBuilder
? ? -Builder.targetDistance() merged constraints:
? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
? ? ? ? ? java/lang/String valueOf &(Ljava/lang/Object;)Ljava/lang/String;
? ? ? ? toString ()Ljava/lang/String; ? permitted_subtrees
A ? o ? 7(Ljava/lang/String;)Lsun/security/x509/GeneralSubtrees; ? excluded_subtrees
? ? ? ? ? !sun/security/x509/GeneralSubtrees reduce &(Lsun/security/x509/GeneralSubtrees;)V ? .Builder.targetDistance() reduced constraints:
? ? ? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder;
A ? D ? +(Lsun/security/x509/GeneralNameInterface;)Z ? :New certificate not allowed to sign certificate for target
? s
? ? o ? %(I)Lsun/security/x509/GeneralSubtree;
? ? ? } ? sun/security/x509/GeneralSubtree !()Lsun/security/x509/GeneralName;
? ? ? distance T(Lsun/security/x509/GeneralNameInterface;Lsun/security/x509/GeneralNameInterface;I)I ? ? ? matchingPolicies Ljava/util/Set;
? ? ? initialPolicies ()Ljava/util/Set; ? ? ? ? ?
java/util/Set isEmpty ()Z ? ,sun/security/provider/certpath/PolicyChecker ? 2.5.29.32.0 ? ? ? d contains
? ? ? policyMappingInhibited ? java/util/HashSet
? ? ? (Ljava/util/Collection;)V ? ? ? d add
? ? ? ? ? java/util/Collections emptySet
? ? ? getCertificate &()Ljava/security/cert/X509Certificate;
? ? ? match #(Ljava/security/cert/Certificate;)Z
? ? ? sigProvider
M ? ? ? isSelfSigned 9(Ljava/security/cert/X509Certificate;Ljava/lang/String;)Z ? 3Builder.addMatchingCerts: adding target cert
SN:
? ? ? ? ? "java/security/cert/X509Certificate getSerialNumber ()Ljava/math/BigInteger;
% toHexString *(Ljava/math/BigInteger;)Ljava/lang/String;
Subject:
? Z
Issuer:
?
\ getIssuerX500Principal ?
java/util/Collection iterator ()Ljava/util/Iterator; ? java/util/Iterator hasNext ? next java/security/cert/CertStore
getCertificates 9(Ljava/security/cert/CertSelector;)Ljava/util/Collection;! java/security/cert/Certificate# %java/security/cert/CertStoreException% @Builder.addMatchingCerts, non-fatal exception retrieving certs:
"'( printStackTrace* certpath
%,-. getInstance -(Ljava/lang/String;)Lsun/security/util/Debug;0 #com.sun.security.enableAIAcaIssuers
23456 $sun/security/action/GetBooleanAction privilegedGetProperty (Ljava/lang/String;)Z 89: USE_AIA Z Signature #Ljava/util/Set; 6(Lsun/security/provider/certpath/PKIX$BuilderParams;)V Code LineNumberTable LocalVariableTable this (Lsun/security/provider/certpath/Builder; getMatchingCerts N(Lsun/security/provider/certpath/State;Ljava/util/List;)Ljava/util/Collection;
Exceptions ?(Lsun/security/provider/certpath/State;Ljava/util/List;)Ljava/util/Collection;
verifyCert ](Ljava/security/cert/X509Certificate;Lsun/security/provider/certpath/State;Ljava/util/List;)VJ &java/security/GeneralSecurityException ?(Ljava/security/cert/X509Certificate;Lsun/security/provider/certpath/State;Ljava/util/List;)V isPathCompleted
addCertToPath =(Ljava/security/cert/X509Certificate;Ljava/util/LinkedList;)V c(Ljava/security/cert/X509Certificate;Ljava/util/LinkedList;)V removeFinalCertFromPath (Ljava/util/LinkedList;)V ?(Ljava/util/LinkedList;)V base (Lsun/security/x509/GeneralNameInterface; test incomparable I
StackMapTable hops commonDistance baseDistance testDistance baseRtest baseName Lsun/security/x509/X500Name; testName
commonName targetDistance {(Lsun/security/x509/NameConstraintsExtension;Ljava/security/cert/X509Certificate;Lsun/security/x509/GeneralNameInterface;)I certImpl Lsun/security/x509/X509CertImpl; e )Ljava/security/cert/CertificateException; altName j n altNames Lsun/security/x509/GeneralNames; perName i constraints ,Lsun/security/x509/NameConstraintsExtension; cert $Ljava/security/cert/X509Certificate; target subject
altNameExt 3Lsun/security/x509/SubjectAlternativeNameExtension; ncExt permitted #Lsun/security/x509/GeneralSubtrees; excluded getMatchingPolicies LocalVariableTypeTable %()Ljava/util/Set; addMatchingCerts U(Ljava/security/cert/X509CertSelector;Ljava/util/Collection;Ljava/util/Collection;Z)Z Ljava/security/cert/Certificate; certs Ljava/util/Collection; cse 'Ljava/security/cert/CertStoreException; store Ljava/security/cert/CertStore; selector
certStores resultCerts checkAll
targetCert 9Ljava/util/Collection<+Ljava/security/cert/Certificate;>; 6Ljava/util/Collection; ; ?(Ljava/security/cert/X509CertSelector;Ljava/util/Collection;Ljava/util/Collection;Z)Z
SourceFile Builder.java InnerClasses? #sun/security/provider/certpath/PKIX
BuilderParams! ! ? ? ; <