final class javax.crypto.ProviderVerifier
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.crypto.ProviderVerifier
super_class: java.lang.Object
{
private java.net.URL jarURL;
descriptor: Ljava/net/URL;
flags: (0x0002) ACC_PRIVATE
private java.security.Provider provider;
descriptor: Ljava/security/Provider;
flags: (0x0002) ACC_PRIVATE
private boolean savePerms;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private javax.crypto.CryptoPermissions appPerms;
descriptor: Ljavax/crypto/CryptoPermissions;
flags: (0x0002) ACC_PRIVATE
void <init>(java.net.URL, boolean);
descriptor: (Ljava/net/URL;Z)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
iload 2
invokespecial javax.crypto.ProviderVerifier.<init>:(Ljava/net/URL;Ljava/security/Provider;Z)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/crypto/ProviderVerifier;
0 2 1 jarURL Ljava/net/URL;
0 2 2 savePerms Z
MethodParameters:
Name Flags
jarURL
savePerms
void <init>(java.net.URL, java.security.Provider, boolean);
descriptor: (Ljava/net/URL;Ljava/security/Provider;Z)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.crypto.ProviderVerifier.appPerms:Ljavax/crypto/CryptoPermissions;
2: aload 0
aload 1
putfield javax.crypto.ProviderVerifier.jarURL:Ljava/net/URL;
3: aload 0
aload 2
putfield javax.crypto.ProviderVerifier.provider:Ljava/security/Provider;
4: aload 0
iload 3
putfield javax.crypto.ProviderVerifier.savePerms:Z
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/crypto/ProviderVerifier;
0 6 1 jarURL Ljava/net/URL;
0 6 2 provider Ljava/security/Provider;
0 6 3 savePerms Z
MethodParameters:
Name Flags
jarURL
provider
savePerms
void verify();
descriptor: ()V
flags: (0x0000)
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield javax.crypto.ProviderVerifier.savePerms:Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.crypto.ProviderVerifier.jarURL:Ljava/net/URL;
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
ldc "jar"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield javax.crypto.ProviderVerifier.jarURL:Ljava/net/URL;
goto 5
StackMap locals:
StackMap stack:
4: new java.net.URL
dup
new java.lang.StringBuilder
dup
ldc "jar:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.crypto.ProviderVerifier.jarURL:Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "!/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
5: StackMap locals:
StackMap stack: java.net.URL
astore 1
start local 1 6: aconst_null
astore 2
start local 2 7: new javax.crypto.ProviderVerifier$1
dup
aload 0
aload 1
invokespecial javax.crypto.ProviderVerifier$1.<init>:(Ljavax/crypto/ProviderVerifier;Ljava/net/URL;)V
8: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.util.jar.JarFile
astore 2
9: goto 14
StackMap locals: javax.crypto.ProviderVerifier java.net.URL java.util.jar.JarFile
StackMap stack: java.security.PrivilegedActionException
10: astore 3
start local 3 11: new java.lang.SecurityException
dup
new java.lang.StringBuilder
dup
ldc "Cannot load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: aload 3
invokevirtual java.security.PrivilegedActionException.getCause:()Ljava/lang/Throwable;
13: invokespecial java.lang.SecurityException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 14: StackMap locals:
StackMap stack:
aload 2
ifnull 34
15: aload 2
ldc "cryptoPerms"
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 3
start local 3 16: aload 3
ifnonnull 20
17: new java.util.jar.JarException
dup
18: ldc "Can not find cryptoPerms"
19: invokespecial java.util.jar.JarException.<init>:(Ljava/lang/String;)V
athrow
20: StackMap locals: java.util.jar.JarEntry
StackMap stack:
aload 0
new javax.crypto.CryptoPermissions
dup
invokespecial javax.crypto.CryptoPermissions.<init>:()V
putfield javax.crypto.ProviderVerifier.appPerms:Ljavax/crypto/CryptoPermissions;
21: aload 0
getfield javax.crypto.ProviderVerifier.appPerms:Ljavax/crypto/CryptoPermissions;
aload 2
aload 3
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
invokevirtual javax.crypto.CryptoPermissions.load:(Ljava/io/InputStream;)V
22: goto 34
StackMap locals:
StackMap stack: java.lang.Exception
23: astore 4
start local 4 24: new java.util.jar.JarException
dup
new java.lang.StringBuilder
dup
ldc "Cannot load/parse"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
25: aload 0
getfield javax.crypto.ProviderVerifier.jarURL:Ljava/net/URL;
invokevirtual java.net.URL.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: invokespecial java.util.jar.JarException.<init>:(Ljava/lang/String;)V
27: astore 5
start local 5 28: aload 5
aload 4
invokevirtual java.util.jar.JarException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
29: aload 5
athrow
end local 5 end local 4 end local 3 30: StackMap locals: javax.crypto.ProviderVerifier java.net.URL java.util.jar.JarFile
StackMap stack: java.lang.Throwable
astore 6
31: aload 2
ifnull 33
32: aload 2
invokevirtual java.util.jar.JarFile.close:()V
33: StackMap locals: javax.crypto.ProviderVerifier java.net.URL java.util.jar.JarFile top top top java.lang.Throwable
StackMap stack:
aload 6
athrow
34: StackMap locals: javax.crypto.ProviderVerifier java.net.URL java.util.jar.JarFile
StackMap stack:
aload 2
ifnull 36
35: aload 2
invokevirtual java.util.jar.JarFile.close:()V
36: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Ljavax/crypto/ProviderVerifier;
6 37 1 url Ljava/net/URL;
7 37 2 jf Ljava/util/jar/JarFile;
11 14 3 pae Ljava/security/PrivilegedActionException;
16 30 3 je Ljava/util/jar/JarEntry;
24 30 4 ex Ljava/lang/Exception;
28 30 5 jex Ljava/util/jar/JarException;
Exception table:
from to target type
7 9 10 Class java.security.PrivilegedActionException
20 22 23 Class java.lang.Exception
7 30 30 any
Exceptions:
throws java.io.IOException
static void verifyPolicySigned(java.security.cert.Certificate[]);
descriptor: ([Ljava/security/cert/Certificate;)V
flags: (0x0008) ACC_STATIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 certs [Ljava/security/cert/Certificate;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
certs
static boolean isTrustedCryptoProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
javax.crypto.CryptoPermissions getPermissions();
descriptor: ()Ljavax/crypto/CryptoPermissions;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.crypto.ProviderVerifier.appPerms:Ljavax/crypto/CryptoPermissions;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/crypto/ProviderVerifier;
}
SourceFile: "ProviderVerifier.java"
NestMembers:
javax.crypto.ProviderVerifier$1
InnerClasses:
javax.crypto.ProviderVerifier$1