public class org.eclipse.jetty.util.security.CertificateUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.security.CertificateUtils
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jetty/util/security/CertificateUtils;
public static java.security.KeyStore getKeyStore(org.eclipse.jetty.util.resource.Resource, java.lang.String, java.lang.String, java.lang.String);
descriptor: (Lorg/eclipse/jetty/util/resource/Resource;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: aload 0
ifnull 20
2: aload 1
ldc "storeType cannot be null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
3: aload 2
ifnull 6
4: aload 1
aload 2
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyStore;
astore 4
5: goto 7
6: StackMap locals: java.security.KeyStore
StackMap stack:
aload 1
invokestatic java.security.KeyStore.getInstance:(Ljava/lang/String;)Ljava/security/KeyStore;
astore 4
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.exists:()Z
ifne 9
8: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a valid keystore"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aconst_null
astore 5
aconst_null
astore 6
10: aload 0
invokevirtual org.eclipse.jetty.util.resource.Resource.getInputStream:()Ljava/io/InputStream;
astore 7
start local 7 11: aload 4
aload 7
aload 3
ifnonnull 12
aconst_null
goto 13
StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String java.lang.String java.lang.String java.security.KeyStore java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.security.KeyStore java.io.InputStream
12: aload 3
invokevirtual java.lang.String.toCharArray:()[C
StackMap locals: org.eclipse.jetty.util.resource.Resource java.lang.String java.lang.String java.lang.String java.security.KeyStore java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.security.KeyStore java.io.InputStream char[]
13: invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
14: aload 7
ifnull 20
aload 7
invokevirtual java.io.InputStream.close:()V
goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
15: astore 5
aload 7
ifnull 16
aload 7
invokevirtual java.io.InputStream.close:()V
end local 7 StackMap locals:
StackMap stack:
16: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 6
aload 5
ifnonnull 18
aload 6
astore 5
goto 19
StackMap locals:
StackMap stack:
18: aload 5
aload 6
if_acmpeq 19
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 5
athrow
20: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 store Lorg/eclipse/jetty/util/resource/Resource;
0 21 1 storeType Ljava/lang/String;
0 21 2 storeProvider Ljava/lang/String;
0 21 3 storePassword Ljava/lang/String;
1 21 4 keystore Ljava/security/KeyStore;
11 16 7 inStream Ljava/io/InputStream;
Exception table:
from to target type
11 14 15 any
10 17 17 any
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
store
storeType
storeProvider
storePassword
public static java.util.Collection<? extends java.security.cert.CRL> loadCRL(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
ifnull 12
2: aconst_null
astore 2
start local 2 3: aload 0
invokestatic org.eclipse.jetty.util.resource.Resource.newResource:(Ljava/lang/String;)Lorg/eclipse/jetty/util/resource/Resource;
invokevirtual org.eclipse.jetty.util.resource.Resource.getInputStream:()Ljava/io/InputStream;
astore 2
4: ldc "X.509"
invokestatic java.security.cert.CertificateFactory.getInstance:(Ljava/lang/String;)Ljava/security/cert/CertificateFactory;
aload 2
invokevirtual java.security.cert.CertificateFactory.generateCRLs:(Ljava/io/InputStream;)Ljava/util/Collection;
astore 1
5: goto 10
6: StackMap locals: java.lang.String java.util.Collection java.io.InputStream
StackMap stack: java.lang.Throwable
astore 3
7: aload 2
ifnull 9
8: aload 2
invokevirtual java.io.InputStream.close:()V
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
10: StackMap locals:
StackMap stack:
aload 2
ifnull 12
11: aload 2
invokevirtual java.io.InputStream.close:()V
end local 2 12: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 crlPath Ljava/lang/String;
1 13 1 crlList Ljava/util/Collection<+Ljava/security/cert/CRL;>;
3 12 2 in Ljava/io/InputStream;
Exception table:
from to target type
3 6 6 any
Exceptions:
throws java.lang.Exception
Signature: (Ljava/lang/String;)Ljava/util/Collection<+Ljava/security/cert/CRL;>;
MethodParameters:
Name Flags
crlPath
}
SourceFile: "CertificateUtils.java"