META-INF.modules.java.base.classes.sun.security.provider.certpath.ConstraintsChecker.class Maven / Gradle / Ivy
???? 7
E ? D ? D ? D ? D ? ? ?
? D ? ?
? ? ?
? ? ? ? ? ?
? ? ?
D ?
D ? ? ? ? ? ? D ? ?
? ?
? ?
?
? ?
} ? ?
? ?
?
3 ? ? ? ?
? ?
?
D ? ?
} ? ?
} ? ?
u ? ?
3 ? ?
3 ? ? ?
? ?
? ????
? ? ? ? ? ? ? ? ?
? ? ? ? debug Lsun/security/util/Debug; certPathLength I
maxPathLength i prevNC ,Lsun/security/x509/NameConstraintsExtension;
supportedExts Ljava/util/Set; Signature #Ljava/util/Set; (I)V Code LineNumberTable LocalVariableTable this 3Lsun/security/provider/certpath/ConstraintsChecker; init (Z)V forward Z
StackMapTable
Exceptions isForwardCheckingSupported ()Z getSupportedExtensions ()Ljava/util/Set; %()Ljava/util/Set; check 9(Ljava/security/cert/Certificate;Ljava/util/Collection;)V cert Ljava/security/cert/Certificate;
unresCritExts Ljava/util/Collection; currCert $Ljava/security/cert/X509Certificate; LocalVariableTypeTable *Ljava/util/Collection; M(Ljava/security/cert/Certificate;Ljava/util/Collection;)V verifyNameConstraints '(Ljava/security/cert/X509Certificate;)V ioe Ljava/io/IOException; msg Ljava/lang/String; ? mergeNameConstraints ~(Ljava/security/cert/X509Certificate;Lsun/security/x509/NameConstraintsExtension;)Lsun/security/x509/NameConstraintsExtension; currCertImpl Lsun/security/x509/X509CertImpl; ce )Ljava/security/cert/CertificateException; newConstraints ? checkBasicConstraints pathLenConstraint mergeBasicConstraints ((Ljava/security/cert/X509Certificate;I)I ()V
SourceFile ConstraintsChecker.java R ? H I K I J I L M -java/security/cert/CertPathValidatorException forward checking not supported R ? N O java/util/HashSet R S ? ? ? ? ? ? ? ? ? ? ? ? ? ? "java/security/cert/X509Certificate ~ p o p ? ? ` ? ? name constraints F G java/lang/StringBuilder ---checking ? ? ... ? ? ? ? ? prevNC = ? ? , currDN = ? ? ? ?
check failed ? ? ? R ? java/io/IOException R ? v w
verified. ? ? 'java/security/cert/CertificateException ? ?
, newNC = ? ? mergedNC = ? ? *sun/security/x509/NameConstraintsExtension ? ? basic constraints i = ? ? , maxPathLength = ? java/lang/Integer + check failed: this is not a CA certificate ? e check failed: pathLenConstraint violated - this cert must be the last cert in the certification path ? "after processing, maxPathLength = certpath 1sun/security/provider/certpath/ConstraintsChecker &java/security/cert/PKIXCertPathChecker java/lang/String sun/security/x509/X509CertImpl (Ljava/lang/String;)V sun/security/x509/PKIXExtensions BasicConstraints_Id $Lsun/security/util/ObjectIdentifier; "sun/security/util/ObjectIdentifier toString ()Ljava/lang/String;
java/util/Set add (Ljava/lang/Object;)Z NameConstraints_Id java/util/Collections unmodifiableSet (Ljava/util/Set;)Ljava/util/Set; java/util/Collection isEmpty remove append -(Ljava/lang/String;)Ljava/lang/StringBuilder; sun/security/util/Debug println isSelfIssued '(Ljava/security/cert/X509Certificate;)Z -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getSubjectX500Principal *()Ljavax/security/auth/x500/X500Principal; verify java/security/cert/PKIXReason INVALID_NAME Ljava/security/cert/PKIXReason; Reason InnerClasses ~(Ljava/lang/String;Ljava/lang/Throwable;Ljava/security/cert/CertPath;ILjava/security/cert/CertPathValidatorException$Reason;)V (Ljava/lang/Throwable;)V toImpl F(Ljava/security/cert/X509Certificate;)Lsun/security/x509/X509CertImpl; getNameConstraintsExtension .()Lsun/security/x509/NameConstraintsExtension; valueOf &(Ljava/lang/Object;)Ljava/lang/String; clone ()Ljava/lang/Object; merge /(Lsun/security/x509/NameConstraintsExtension;)V (I)Ljava/lang/StringBuilder;
getVersion ()I getBasicConstraints NOT_CA_CERT
PATH_TOO_LONG getInstance -(Ljava/lang/String;)Lsun/security/util/Debug; 4java/security/cert/CertPathValidatorException$Reason D E F G H I J I K I L M N O P Q
R S T F
*? *? ? U G H I V
W X
H I Y Z T v $? *? **? ? *? ?
? Y? ?? U M N O P R # U V $ W X $ [ \ ] ^ _ ` T , ? U Y V W X a b T ? C*? ? :*?
Y? ? *? ? ?
? W*? ? ?
? W**? ? ? *? ? U ^ _ ` # a 3 b > d V C W X ] > P c d e T ? A+? N*Y? `? *-? *-? ,? &,? ? ,? ?
? W,? ?
? W? U " u w z { } &