public class org.apache.tomcat.util.security.KeyStoreUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.tomcat.util.security.KeyStoreUtil
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/security/KeyStoreUtil;
public static void load(java.security.KeyStore, java.io.InputStream, char[]);
descriptor: (Ljava/security/KeyStore;Ljava/io/InputStream;[C)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual java.security.KeyStore.getType:()Ljava/lang/String;
ldc "PKCS12"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 11
1: new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
astore 3
start local 3 2: sipush 8192
newarray 8
astore 4
start local 4 3: goto 5
start local 5 4: StackMap locals: java.io.ByteArrayOutputStream byte[] int
StackMap stack:
aload 3
aload 4
iconst_0
iload 5
invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
end local 5 5: StackMap locals:
StackMap stack:
aload 1
aload 4
invokevirtual java.io.InputStream.read:([B)I
dup
istore 5
start local 5 6: ifge 4
7: aload 3
invokevirtual java.io.ByteArrayOutputStream.close:()V
8: new java.io.ByteArrayInputStream
dup
aload 3
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
invokespecial java.io.ByteArrayInputStream.<init>:([B)V
astore 6
start local 6 9: aload 0
aload 6
aload 2
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
end local 6 end local 5 end local 4 end local 3 10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual java.security.KeyStore.load:(Ljava/io/InputStream;[C)V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 keystore Ljava/security/KeyStore;
0 13 1 is Ljava/io/InputStream;
0 13 2 storePass [C
2 10 3 baos Ljava/io/ByteArrayOutputStream;
3 10 4 buf [B
4 5 5 numRead I
6 10 5 numRead I
9 10 6 bais Ljava/io/ByteArrayInputStream;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.cert.CertificateException, java.io.IOException
MethodParameters:
Name Flags
keystore
is
storePass
}
SourceFile: "KeyStoreUtil.java"