All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.modules.java.base.classes.java.util.jar.JarVerifier.class Maven / Gradle / Ivy

There is a newer version: 2024-05-10
Show newest version
????:j
java/lang/Object()V		
java/util/jar/JarVerifierparsingBlockOrSFZ	parsingMeta	anyToVerify	manifestRawBytes[B	csdomainLjava/lang/Object;java/util/HashMap
	 !urlToCodeSourceMapLjava/util/Map;	#$!signerToCodeSource&java/security/CodeSigner	()*emptySignerjava/security/CodeSigner;,java/util/Hashtable
+	/01sigFileSignersLjava/util/Hashtable;	341verifiedSigners
+67(I)V	9:1sigFileData<java/util/ArrayList
;	?@A
pendingBlocksLjava/util/ArrayList;Cjava/io/ByteArrayOutputStream
B	FGHbaosLjava/io/ByteArrayOutputStream;	JKLmanifestDigestsLjava/util/List;	NOPdebugLsun/security/util/Debug;Rjava/lang/StringBuilder
QUbeginEntry 
QWXYappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
[\]^_java/util/jar/JarEntrygetName()Ljava/lang/String;
Qab_toString
defghsun/security/util/Debugprintln(Ljava/lang/String;)V	jklmnjava/util/LocaleENGLISHLjava/util/Locale;
pqrstjava/lang/StringtoUpperCase&(Ljava/util/Locale;)Ljava/lang/String;v	META-INF/
pxyz
startsWith(Ljava/lang/String;)Z|
/META-INF/
[~?isDirectory()Z
?????'sun/security/util/ManifestEntryVerifiersetEntry-(Ljava/lang/String;Ljava/util/jar/JarEntry;)V?java/util/jar/JarFile?META-INF/MANIFEST.MF
p???equals(Ljava/lang/Object;)Z?jdk/internal/util/jar/JarIndex?META-INF/INDEX.LIST
????z'sun/security/util/SignatureFileVerifierisBlockOrSF
B??reset
??doneWithMeta?./
p???	substring(I)Ljava/lang/String;?/
+???get&(Ljava/lang/Object;)Ljava/lang/Object;
B??7write
????update(B)V
???processEntry,(Lsun/security/util/ManifestEntryVerifier;)V
B???([BII)V
????
????getEntry()Ljava/util/jar/JarEntry;	[??*signers
????verifyG(Ljava/util/Hashtable;Ljava/util/Hashtable;)[Ljava/security/CodeSigner;
???mapSignersToCertArray>([Ljava/security/CodeSigner;)[Ljava/security/cert/Certificate;	[???certs![Ljava/security/cert/Certificate;?processEntry: processing block?.SF
p??zendsWith
p???length()I
p???(II)Ljava/lang/String;
B???toByteArray()[B
+???put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
;???iterator()Ljava/util/Iterator;?????java/util/IteratorhasNext????next()Ljava/lang/Object;
???zneedSignatureFile?&processEntry: processing pending block
????setSignatureFile([B)V
????process((Ljava/util/Hashtable;Ljava/util/List;)V
p??lastIndexOf(I)I	AsignerCache	manDig$Lsun/security/util/ManifestDigester;	"sun/security/util/ManifestDigester
?
?
P(Ljava/util/ArrayList;Lsun/security/util/ManifestDigester;Ljava/lang/String;[B)V
??needSignatureFileBytesadding pending block
;?addjava/io/IOException'java/security/cert/CertificateException&java/security/NoSuchAlgorithmException java/security/SignatureException!processEntry caught: 
Q#X$-(Ljava/lang/Object;)Ljava/lang/StringBuilder;
&'(getCodeSigners/(Ljava/lang/String;)[Ljava/security/CodeSigner;
*'+L(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)[Ljava/security/CodeSigner;*	./eagerValidation
?123getInputStream/(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
56789java/io/InputStreamread([BII)I
5;<close
%>?@getSignerCertPath()Ljava/security/cert/CertPath;
BCDEFjava/security/cert/CertPathgetCertificates()Ljava/util/List;
;HIJaddAll(Ljava/util/Collection;)Z
;LM?sizeOjava/security/cert/Certificate
;QRStoArray(([Ljava/lang/Object;)[Ljava/lang/Object;?
+VW?isEmpty
+YZ?containsKey
+\]?remove	_`alastURLLjava/net/URL;	cd!
lastURLMapf?g
java/util/Mapf?jjava/security/CodeSourcel,java/util/jar/JarVerifier$VerifierCodeSource
kno>(Ljava/lang/Object;Ljava/net/URL;[Ljava/security/CodeSigner;)Vq?rjava/util/List
tuvmapSignersToCodeSourceE(Ljava/net/URL;[Ljava/security/CodeSigner;)Ljava/security/CodeSource;qqLqQ{java/security/CodeSource;
k}~?isSameDomain
k???getPrivateSigners()[Ljava/security/CodeSigner;
i???getLocation()Ljava/net/URL;
??FgetJarCodeSigners
???mapSignersToCodeSources<(Ljava/net/URL;Ljava/util/List;Z)[Ljava/security/CodeSource;q???indexOf(Ljava/lang/Object;)Iq???(I)Ljava/lang/Object;	??!	signerMap
+L
6f???putAll(Ljava/util/Map;)V
???()Ljava/util/Map;f???entrySet()Ljava/util/Set;???
java/util/Set
;6
???findMatchingSigners7(Ljava/security/CodeSource;)[Ljava/security/CodeSigner;
???unsignedEntryNames0(Ljava/util/jar/JarFile;)Ljava/util/Enumeration;
?????java/util/CollectionsemptyEnumeration()Ljava/util/Enumeration;?java/util/jar/JarVerifier$1
???Y(Ljava/util/jar/JarVerifier;Ljava/util/Iterator;Ljava/util/List;Ljava/util/Enumeration;)V?java/util/jar/JarVerifier$2
???[(Ljava/util/jar/JarVerifier;Ljava/util/Enumeration;Ljava/util/jar/JarFile;Ljava/util/Map;)V
???zisSigningRelated
????entries?java/util/jar/JarVerifier$3
???D(Ljava/util/jar/JarVerifier;Ljava/util/Enumeration;Ljava/util/Map;)V	??LjarCodeSigners?java/util/HashSet
?f???values()Ljava/util/Collection;
?HqH?????java/util/EnumerationhasMoreElements
????unmodifiableList"(Ljava/util/List;)Ljava/util/List;
k??D(Ljava/lang/Object;Ljava/net/URL;[Ljava/security/cert/Certificate;)V?jar
d???getInstance-(Ljava/lang/String;)Lsun/security/util/Debug;	SignatureDLjava/util/Hashtable;+Ljava/util/Hashtable;@Ljava/util/ArrayList;2Ljava/util/ArrayList<[Ljava/security/CodeSigner;>;$Ljava/util/List;eLjava/util/Map;>;FLjava/util/Map<[Ljava/security/CodeSigner;Ljava/security/CodeSource;>;>Ljava/util/Map;-Ljava/util/List<[Ljava/security/CodeSigner;>;CodeLineNumberTableLocalVariableTablethisLjava/util/jar/JarVerifier;rawBytes
beginEntryD(Ljava/util/jar/JarEntry;Lsun/security/util/ManifestEntryVerifier;)VunameLjava/lang/String;jeLjava/util/jar/JarEntry;mev)Lsun/security/util/ManifestEntryVerifier;name
StackMapTable
Exceptions-(ILsun/security/util/ManifestEntryVerifier;)VbI1(I[BIILsun/security/util/ManifestEntryVerifier;)Vnofflensfv)Lsun/security/util/SignatureFileVerifier;keybyteseLjava/lang/Exception;java/lang/Throwablejava/lang/ExceptiongetCerts5(Ljava/lang/String;)[Ljava/security/cert/Certificate;
DeprecatedRuntimeVisibleAnnotationsLjava/lang/Deprecated;R(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)[Ljava/security/cert/Certificate;Ljava/util/jar/JarFile;entrysLjava/io/InputStream;buffersignerLjava/security/CodeSigner;
certChainsLocalVariableTypeTable7Ljava/util/ArrayList;nothingToVerifycodeSignersmapurlcsLjava/security/CodeSource;unsignedsources,Ljava/util/List;Y(Ljava/net/URL;Ljava/util/List<[Ljava/security/CodeSigner;>;Z)[Ljava/security/CodeSource;vcs.Ljava/util/jar/JarVerifier$VerifierCodeSource;sourcematch
sourceListj@()Ljava/util/Map;
entryNamesK(Ljava/util/jar/JarFile;[Ljava/security/CodeSource;)Ljava/util/Enumeration;citorLjava/util/Iterator;
matchUnsignedreq
signersReqenum2Ljava/util/Enumeration;ZLjava/util/Iterator;>;+Ljava/util/Enumeration;_(Ljava/util/jar/JarFile;[Ljava/security/CodeSource;)Ljava/util/Enumeration;entries2G(Ljava/util/jar/JarFile;Ljava/util/Enumeration;)Ljava/util/Enumeration;enum_1Ljava/util/Enumeration;{(Ljava/util/jar/JarFile;Ljava/util/Enumeration;)Ljava/util/Enumeration;D(Ljava/util/jar/JarFile;)Ljava/util/Enumeration;setLjava/util/HashSet;0Ljava/util/HashSet<[Ljava/security/CodeSigner;>;/()Ljava/util/List<[Ljava/security/CodeSigner;>;getCodeSourcesB(Ljava/util/jar/JarFile;Ljava/net/URL;)[Ljava/security/CodeSource;hasUnsigned
getCodeSource<(Ljava/net/URL;Ljava/lang/String;)Ljava/security/CodeSource;Y(Ljava/net/URL;Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)Ljava/security/CodeSource;setEagerValidation(Z)VeagergetManifestDigests&()Ljava/util/List;
getUnsignedCS*(Ljava/net/URL;)Ljava/security/CodeSource;isTrustedManifestEntryforManforName
SourceFileJarVerifier.javaNestMembersc(java/util/jar/JarVerifier$VerifierStreamInnerClassesVerifierCodeSourceVerifierStreamhjava/util/Map$EntryEntry OP41??01??:1??@A??A??GHB/KL?? !??$!??`ad!??)*?!???L??????*?*?*?
*?*?*?Y??*?Y??*?Y??"*?%?'*+?*?+Y?-?.*?+Y?-?2*?+Y?5?8*?;Y?=?>*?BY?D?E*?;Y?=?I??F`E	HKU[#?.?9$AaFbQc\dietfg?h???????????+???M??M?QY?ST?V+?Z?V?`?c+?ZN*?
?^-?i?o:u?w?
{?w?A+?}?
,+???????
????????*?*?E??,+???*?
?*??+?}?
,+???-??w?	-??N-??w?	-??N-???? *?.-???*?2-???
,-+???,+?????$rsuv'y,?3?<?J?P?W?]?^?l?r?s?{????????????????????????????????????????4<R?????????,??
!?(pp
?

???&?*??*?E???,????*,???????? ?%?? &??&&???+?"*??*?E,???,???	*????????$?*??>+??+	++
++
?????*??1+??M,?%,???,+*?2*?.????,,???ŵɧv*??M??MͶc+???Z?i?oM,϶љq,,??d??N*?E??:*?8-??W*?>??:???=????:-??%?M??M?c??*?.*?I??????,,.????N*??*?;Y?=?*??4*?Y:?*??*?Y*??
?*?ç:????Y*?*?,*?E?۷:??6*?8-???:??M??M?c*?>?W???*?.*?I???$M?M??M?QY?S ?V,?"?`?c?? 5??5??5??5???o??o??o??o?p??p??p??p????/????'?2?5?:?@?H?RV_kt	?
???????????? !"$#'4)<+D-Q/V3\4e6o7p9w<?B?>?@?D?p&???+
kb?tYQ&V.?????<H
? ????^2???pp??,?????p?)E??A?
??? ?=	*+?%?Ű?N?	??	??H
*+,?)?Ű?S? 
??
?
?'(?@*?2+???,??]????'+? P,?ZN*?-?A*?.-???6+,?0:?:?6???46????:?:*-?%?EH?.bcij%k*l0m@oEqHpJs?H'%  *	P??P?P?K?4?*?[p5??[p
????D*?A?;Y?=L*M,?>6?,2:+?=?A?GW????++?K?N?P?T???.}~ ?#?)?-3?5?;?B??  
!"6#AD?*$6#%?,;,??&??B
*???????
??@???V*?
**?.?U???*?E*?8*?>*?*?*?.??X?*?.??[?,L*?2?+??W??.????"?'?,?1?=?J?U??J'*V??T??"uv?.p+*?^?*?bN?3*?+?e?fN-??Y?N*?+-?hW*-?b*+?^-,?e?i:??kY*?+,?m:*?",?hW??6
	
"*6;@LQ`m?>
(!p??p)ap?*R(!L$*+$
(?R(??%f	?,i???`?;Y?=:,?p:???!???,:*+?s?wW????*+?s?wW?x?i?y?z??	'69= K"?>'!*`??`)a`?L`,	W-L$`??	W-.?q??'?/???x?+?k?+?kM,*??|?+?k??*+??*????M?;Y?=N,:?66?2:-?wW????-+??6?!-???k?:?	*?':???B*+,-5-657N8W7]:f;l=|>???A?C?R01N	2+|3*????*+-_-{5W4Lf&5$5W4.(? izqz??),?"????@*???7*?Y*?2??*?.??`????*??*?2??*??*?.??*??????!?.?;??@??;?6!78???*??N-????:6?;Y,???:,:?66		?9	2:
*
??:????wW?6?6?	???:?*+?????:??Y*????>???? ?9?A?F?L?Y?_?b?h?l?~??pA!3*9)9+
??????*{?(!{:;x< m=Ll!>L~?@$4?(?{:A m=?l!>?~?B;?+
?zf?qz?-i,???qB??CDE??"?Y?N-*????,:??Y*+-?????????4"??"?"@(!
F@$ "G(?
FG?H?z?/*??????????*??M+??N??Y*-,?ɰ?
?*???(!
?@$(?
?G?I"?F??8*???/??Y??M,*??????W*?;Y?=??*??,??W*?̰?@ABC(D3F?$JK8??$$JL3?M!NO?b*+????>*,*??????
JL?*???)aPQR?a*??,?e?,N*+-?s??
RS?*??)a??*QS?T*+*,-?)?s??Y?*??)a???TU?>*?-??
]^???V!WF?2*?I?ݰ?a????XYZ?8?kY*?T???e?)a[z??@*?2????,M,??*?.+???,N-?*?2+???,N-?-?,?????n
optu#v/y?*@??@?
3\*!]*?,?,@^?"
??M??0_`akb???d2ke
???bfgfi	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy