META-INF.modules.java.base.classes.sun.security.util.SignatureFileVerifier.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
???? 7?
?m ?n ?op
m ?q ?r
stu
v ?w
x
yz ?{|
}~
s
S?
S? ??
S? ?? ?? ??
S??
S?????
S?
S?
S?
???
S??
S?
S? ??
??
+?
??
???
0m?
2v
0?
0? ??
U??
???
;m?
;?
;?
:?
?? ???
??
??
??
??
??
0?????
??
???$?$?? Q?? Q??
????
????????? ???
a?
??? _???
S?
d????
d? _?
_????????
r??
U?
???
???
??
??
??
????
???
??
+???
_???
??
?? ????
??
>??
+
>
R
}
?m
R?
?
??
?
;
?
?
; ?
;
??
?
?
?
?
?
!"
?#$%&' ConfigurationHolder InnerClasses debug Lsun/security/util/Debug; signerCache Ljava/util/ArrayList; Signature 2Ljava/util/ArrayList<[Ljava/security/CodeSigner;>; ATTR_DIGEST Ljava/lang/String; block Lsun/security/pkcs/PKCS7; sfBytes [B name md $Lsun/security/util/ManifestDigester; createdDigests Ljava/util/HashMap; DLjava/util/HashMap;
workaround Z certificateFactory 'Ljava/security/cert/CertificateFactory;
permittedAlgs Ljava/util/Map; 6Ljava/util/Map; timestamp Ljava/security/Timestamp; hexc [C P(Ljava/util/ArrayList;Lsun/security/util/ManifestDigester;Ljava/lang/String;[B)V Code LineNumberTable LocalVariableTable this )Lsun/security/util/SignatureFileVerifier; rawBytes obj Ljava/lang/Object; LocalVariableTypeTable
StackMapTable ?(
Exceptions)* m(Ljava/util/ArrayList<[Ljava/security/CodeSigner;>;Lsun/security/util/ManifestDigester;Ljava/lang/String;[B)V needSignatureFileBytes ()Z needSignatureFile (Ljava/lang/String;)Z setSignatureFile ([B)V isBlockOrSF s isSigningRelated cc C index I ext extIndex getDigest 1(Ljava/lang/String;)Ljava/security/MessageDigest; algorithm digest Ljava/security/MessageDigest; process ((Ljava/util/Hashtable;Ljava/util/List;)V signers Ljava/util/Hashtable; manifestDigests Ljava/util/List; DLjava/util/Hashtable; $Ljava/util/List;+,- k(Ljava/util/Hashtable;Ljava/util/List;)V processImpl Ljava/security/CodeSigner; e Entry Ljava/util/Map$Entry; sf Ljava/util/jar/Manifest; version infos [Lsun/security/pkcs/SignerInfo;
newSigners [Ljava/security/CodeSigner; entries Ljava/util/Iterator; manifestSigned CLjava/util/Map$Entry; YLjava/util/Iterator;>;. permittedCheck '(Ljava/lang/String;Ljava/lang/String;)Z (Ljava/security/GeneralSecurityException; key permitted Ljava/lang/Boolean; getWeakAlgorithms &(Ljava/lang/String;)Ljava/lang/String; Ljava/lang/RuntimeException; header w verifyManifestHash O(Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/util/List;)Z computedHash expectedHash se mattr Ljava/util/jar/Attributes; weakAlgs
validEntry ;Ljava/util/Map$Entry; c(Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;Ljava/util/List;)Z verifyManifestMainAttrs ?(Ljava/util/jar/Manifest;Lsun/security/util/ManifestDigester;)Z mde/ *Lsun/security/util/ManifestDigester$Entry;
attrsVerified
verifySection S(Ljava/util/jar/Attributes;Ljava/lang/String;Lsun/security/util/ManifestDigester;)Z computed ok expected sfAttr oneDigestVerified
getSigners U([Lsun/security/pkcs/SignerInfo;Lsun/security/pkcs/PKCS7;)[Ljava/security/CodeSigner; info Lsun/security/pkcs/SignerInfo; chain certChain Ljava/security/cert/CertPath; i ;Ljava/util/ArrayList; 1Ljava/util/ArrayList;01 toHex ([B)Ljava/lang/String; data sb Ljava/lang/StringBuilder; contains 8([Ljava/security/CodeSigner;Ljava/security/CodeSigner;)Z set signer isSubSet 9([Ljava/security/CodeSigner;[Ljava/security/CodeSigner;)Z subset matches T([Ljava/security/CodeSigner;[Ljava/security/CodeSigner;[Ljava/security/CodeSigner;)Z found
oldSigners
updateSigners E([Ljava/security/CodeSigner;Ljava/util/Hashtable;Ljava/lang/String;)V
cachedSigners t([Ljava/security/CodeSigner;Ljava/util/Hashtable;Ljava/lang/String;)V ()V
SourceFile SignatureFileVerifier.java NestMembers ?i ? ? ? ? java/util/HashMap ? ? ? ?234 sun/security/pkcs/PKCS7 ? ? ? ?56789 ? ? X509:;<=>?@ABCDEFG ? ? ? ? ? ?H ? .SFI ? .DSA .RSA .EC META-INF/J ?AKL@ ? ? MANIFEST.MFMN SIG-OPQR ? ?ST java/security/MessageDigest;UV &java/security/NoSuchAlgorithmException java/util/jar/Manifest java/io/ByteArrayInputStreamWXYZ[]^_` 1.0ab java/lang/SecurityException java/lang/StringBuilder #cannot verify signature block file cdef ?gHI ? ? Gathering timestamp for: higjkljmnopqrstuvwx01;< :Invalid signature file digest for Manifest main attributesy ?z4 java/util/Map$Entry{4 java/lang/String_4 java/util/jar/AttributesAB ./ /de processSignature signed name = !processSignature unsigned name = java/util/jar/JarFile META-INF/MANIFEST.MF java/lang/Boolean|} 'sun/security/util/ConstraintsParameters ?~?? &java/security/GeneralSecurityException?*Ff?f : Debug info only. & was disabled, no exception msg given.?i?*? ? ?u java/lang/RuntimeException (Unknown Algorithm(s). Error processing . Unknown Algorithm(s) -DIGEST-MANIFEST%&?N???????? Signature File: Manifest digest sigfile TU computed ii?? PermittedAlgs mapping: : java/security/SignatureException JManifest hash check failed (DIGEST-MANIFEST). Disabled algorithm(s) used: +, ? ? "sun/security/util/ManifestDigester Manifest-Main-AttributesS?? 0Signature File: Manifest Main Attributes digest ?f /Verification of Manifest main attributes failed &Manifest Main Attribute check failed ( ). Disabled algorithm(s) used: ? ? -no manifest section for signature file entry -DIGEST?? Signature Block File: digest= expected re-computed invalid signature file digest for LManifest Main Attribute check failed (DIGEST). Disabled algorithm(s) used: DIGEST???? java/util/ArrayList java/security/CodeSigner ?? Signature Block Certificate: S?c??P?? ?? ? ?c?YZ]^`a??? jar;? -DIGEST-Manifest-Main-Attributes 'sun/security/util/SignatureFileVerifier java/lang/Object ;sun/security/util/SignatureFileVerifier$ConfigurationHolder java/lang/Throwable java/io/IOException 'java/security/cert/CertificateException java/util/Hashtable java/util/List java/util/jar/JarException java/util/Iterator (sun/security/util/ManifestDigester$Entry sun/security/pkcs/SignerInfo java/security/cert/CertPath sun/security/jca/Providers startJarVerification ()Ljava/lang/Object; getContentInfo !()Lsun/security/pkcs/ContentInfo; sun/security/pkcs/ContentInfo getData ()[B %java/security/cert/CertificateFactory getInstance ;(Ljava/lang/String;)Ljava/security/cert/CertificateFactory; stopJarVerification (Ljava/lang/Object;)V lastIndexOf (I)I substring (II)Ljava/lang/String; java/util/Locale ENGLISH Ljava/util/Locale; toUpperCase &(Ljava/util/Locale;)Ljava/lang/String; equalsIgnoreCase endsWith
startsWith (I)Ljava/lang/String; indexOf equals (Ljava/lang/Object;)Z length ()I charAt (I)C get &(Ljava/lang/Object;)Ljava/lang/Object; put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; read (Ljava/io/InputStream;)V getMainAttributes ()Ljava/util/jar/Attributes; java/util/jar/Attributes$Name Name SIGNATURE_VERSION Ljava/util/jar/Attributes$Name; getValue 3(Ljava/util/jar/Attributes$Name;)Ljava/lang/String; verify #([B)[Lsun/security/pkcs/SignerInfo; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; (Ljava/lang/String;)V sun/security/util/Debug println getTimestamp ()Ljava/security/Timestamp; java/security/Timestamp ()Ljava/util/Date; java/util/Date before (Ljava/util/Date;)Z
getEntries ()Ljava/util/Map;
java/util/Map entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext next getKey JAR_DISABLED_CHECK 0Lsun/security/util/DisabledAlgorithmConstraints; (Ljava/security/Timestamp;)V .sun/security/util/DisabledAlgorithmConstraints permits >(Ljava/lang/String;Lsun/security/util/ConstraintsParameters;)V FALSE
getMessage printStackTrace TRUE booleanValue keySet add manifestDigest !(Ljava/security/MessageDigest;)[B java/util/Base64 getMimeDecoder Decoder ()Ljava/util/Base64$Decoder; java/util/Base64$Decoder decode (Ljava/lang/String;)[B isEqual ([B[B)Z ?(Ljava/lang/String;Z)Lsun/security/util/ManifestDigester$Entry; getAlgorithm
isOldStyle digestWorkaround getCertificateChain 0(Lsun/security/pkcs/PKCS7;)Ljava/util/ArrayList; generateCertPath /(Ljava/util/List;)Ljava/security/cert/CertPath; 9(Ljava/security/cert/CertPath;Ljava/security/Timestamp;)V (I)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; size toArray (([Ljava/lang/Object;)[Ljava/lang/Object; (I)V (C)Ljava/lang/StringBuilder; java/lang/System arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V -(Ljava/lang/String;)Lsun/security/util/Debug; ! ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? g |*? *? *? *? Y? ? *? :? :*? Y?
? **? ? ?
? *? ? ? ?
:? ?*--.? ? ? ? ? *,? *+? ? ! J R R T R ? N y ` c f k | ! ~ &