public final class java.security.PKCS12Attribute implements java.security.KeyStore$Entry$Attribute
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: java.security.PKCS12Attribute
super_class: java.lang.Object
{
private static final java.util.regex.Pattern COLON_SEPARATED_HEX_PAIRS;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String value;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final byte[] encoded;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int hashValue;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2})+$"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
1: putstatic java.security.PKCS12Attribute.COLON_SEPARATED_HEX_PAIRS:Ljava/util/regex/Pattern;
2: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield java.security.PKCS12Attribute.hashValue:I
2: aload 1
ifnull 3
aload 2
ifnonnull 4
3: StackMap locals: java.security.PKCS12Attribute java.lang.String java.lang.String
StackMap stack:
new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.util.ObjectIdentifier
dup
aload 1
invokespecial sun.security.util.ObjectIdentifier.<init>:(Ljava/lang/String;)V
astore 3
start local 3 5: goto 8
end local 3 StackMap locals:
StackMap stack: java.io.IOException
6: astore 4
start local 4 7: new java.lang.IllegalArgumentException
dup
ldc "Incorrect format: name"
aload 4
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 4 start local 3 8: StackMap locals: sun.security.util.ObjectIdentifier
StackMap stack:
aload 0
aload 1
putfield java.security.PKCS12Attribute.name:Ljava/lang/String;
9: aload 2
invokevirtual java.lang.String.length:()I
istore 4
start local 4 10: iload 4
iconst_1
if_icmple 14
11: aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 91
if_icmpne 14
aload 2
iload 4
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
bipush 93
if_icmpne 14
12: aload 2
iconst_1
iload 4
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
ldc ", "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 13: goto 15
end local 5 14: StackMap locals: int
StackMap stack:
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 2
aastore
astore 5
start local 5 15: StackMap locals: java.lang.String[]
StackMap stack:
aload 0
aload 2
putfield java.security.PKCS12Attribute.value:Ljava/lang/String;
16: aload 0
aload 0
aload 3
aload 5
invokevirtual java.security.PKCS12Attribute.encode:(Lsun/security/util/ObjectIdentifier;[Ljava/lang/String;)[B
putfield java.security.PKCS12Attribute.encoded:[B
17: goto 20
StackMap locals:
StackMap stack: java.io.IOException
18: astore 6
start local 6 19: new java.lang.IllegalArgumentException
dup
ldc "Incorrect format: value"
aload 6
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 20: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljava/security/PKCS12Attribute;
0 21 1 name Ljava/lang/String;
0 21 2 value Ljava/lang/String;
5 6 3 type Lsun/security/util/ObjectIdentifier;
8 21 3 type Lsun/security/util/ObjectIdentifier;
7 8 4 e Ljava/io/IOException;
10 21 4 length I
13 14 5 values [Ljava/lang/String;
15 21 5 values [Ljava/lang/String;
19 20 6 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
16 17 18 Class java.io.IOException
MethodParameters:
Name Flags
name
value
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield java.security.PKCS12Attribute.hashValue:I
2: aload 1
ifnonnull 4
3: new java.lang.NullPointerException
dup
invokespecial java.lang.NullPointerException.<init>:()V
athrow
4: StackMap locals: java.security.PKCS12Attribute byte[]
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield java.security.PKCS12Attribute.encoded:[B
5: aload 0
aload 1
invokevirtual java.security.PKCS12Attribute.parse:([B)V
6: goto 9
StackMap locals:
StackMap stack: java.io.IOException
7: astore 2
start local 2 8: new java.lang.IllegalArgumentException
dup
ldc "Incorrect format: encoded"
aload 2
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/security/PKCS12Attribute;
0 10 1 encoded [B
8 9 2 e Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
MethodParameters:
Name Flags
encoded
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.PKCS12Attribute.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/PKCS12Attribute;
public java.lang.String getValue();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.PKCS12Attribute.value:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/PKCS12Attribute;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.security.PKCS12Attribute.encoded:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/PKCS12Attribute;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.security.PKCS12Attribute
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield java.security.PKCS12Attribute.encoded:[B
aload 1
checkcast java.security.PKCS12Attribute
getfield java.security.PKCS12Attribute.encoded:[B
invokestatic java.util.Arrays.equals:([B[B)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/security/PKCS12Attribute;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield java.security.PKCS12Attribute.hashValue:I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 3
2: aload 0
aload 0
getfield java.security.PKCS12Attribute.encoded:[B
invokestatic java.util.Arrays.hashCode:([B)I
dup
istore 1
putfield java.security.PKCS12Attribute.hashValue:I
3: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/security/PKCS12Attribute;
1 4 1 h I
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield java.security.PKCS12Attribute.name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield java.security.PKCS12Attribute.value:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/security/PKCS12Attribute;
private byte[] encode(sun.security.util.ObjectIdentifier, java.lang.String[]);
descriptor: (Lsun/security/util/ObjectIdentifier;[Ljava/lang/String;)[B
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 3
start local 3 1: aload 3
aload 1
invokevirtual sun.security.util.DerOutputStream.putOID:(Lsun/security/util/ObjectIdentifier;)V
2: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 4
start local 4 3: aload 2
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 14
StackMap locals: java.security.PKCS12Attribute sun.security.util.ObjectIdentifier java.lang.String[] sun.security.util.DerOutputStream sun.security.util.DerOutputStream top int int java.lang.String[]
StackMap stack:
4: aload 8
iload 6
aaload
astore 5
start local 5 5: getstatic java.security.PKCS12Attribute.COLON_SEPARATED_HEX_PAIRS:Ljava/util/regex/Pattern;
aload 5
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
invokevirtual java.util.regex.Matcher.matches:()Z
ifeq 12
6: new java.math.BigInteger
dup
aload 5
ldc ":"
ldc ""
invokevirtual java.lang.String.replace:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
bipush 16
invokespecial java.math.BigInteger.<init>:(Ljava/lang/String;I)V
invokevirtual java.math.BigInteger.toByteArray:()[B
7: astore 9
start local 9 8: aload 9
iconst_0
baload
ifne 10
9: aload 9
iconst_1
aload 9
arraylength
invokestatic java.util.Arrays.copyOfRange:([BII)[B
astore 9
10: StackMap locals: java.security.PKCS12Attribute sun.security.util.ObjectIdentifier java.lang.String[] sun.security.util.DerOutputStream sun.security.util.DerOutputStream java.lang.String int int java.lang.String[] byte[]
StackMap stack:
aload 4
aload 9
invokevirtual sun.security.util.DerOutputStream.putOctetString:([B)V
end local 9 11: goto 13
12: StackMap locals:
StackMap stack:
aload 4
aload 5
invokevirtual sun.security.util.DerOutputStream.putUTF8String:(Ljava/lang/String;)V
end local 5 13: StackMap locals: java.security.PKCS12Attribute sun.security.util.ObjectIdentifier java.lang.String[] sun.security.util.DerOutputStream sun.security.util.DerOutputStream top int int java.lang.String[]
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
14: iload 6
iload 7
if_icmplt 4
15: aload 3
bipush 49
aload 4
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
16: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 5
start local 5 17: aload 5
bipush 48
aload 3
invokevirtual sun.security.util.DerOutputStream.write:(BLsun/security/util/DerOutputStream;)V
18: aload 5
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/security/PKCS12Attribute;
0 19 1 type Lsun/security/util/ObjectIdentifier;
0 19 2 values [Ljava/lang/String;
1 19 3 attribute Lsun/security/util/DerOutputStream;
3 19 4 attrContent Lsun/security/util/DerOutputStream;
5 13 5 value Ljava/lang/String;
8 11 9 bytes [B
17 19 5 attributeValue Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
type
values
private void parse(byte[]);
descriptor: ([B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: new sun.security.util.DerInputStream
dup
aload 1
invokespecial sun.security.util.DerInputStream.<init>:([B)V
astore 2
start local 2 1: aload 2
iconst_2
invokevirtual sun.security.util.DerInputStream.getSequence:(I)[Lsun/security/util/DerValue;
astore 3
start local 3 2: aload 3
iconst_0
aaload
invokevirtual sun.security.util.DerValue.getOID:()Lsun/security/util/ObjectIdentifier;
astore 4
start local 4 3: new sun.security.util.DerInputStream
dup
aload 3
iconst_1
aaload
invokevirtual sun.security.util.DerValue.toByteArray:()[B
invokespecial sun.security.util.DerInputStream.<init>:([B)V
4: astore 5
start local 5 5: aload 5
iconst_1
invokevirtual sun.security.util.DerInputStream.getSet:(I)[Lsun/security/util/DerValue;
astore 6
start local 6 6: aload 6
arraylength
anewarray java.lang.String
astore 7
start local 7 7: iconst_0
istore 9
start local 9 8: goto 33
9: StackMap locals: java.security.PKCS12Attribute byte[] sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier sun.security.util.DerInputStream sun.security.util.DerValue[] java.lang.String[] top int
StackMap stack:
aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
iconst_4
if_icmpne 12
10: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getOctetString:()[B
invokestatic sun.security.util.Debug.toString:([B)Ljava/lang/String;
aastore
11: goto 32
StackMap locals:
StackMap stack:
12: aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getAsString:()Ljava/lang/String;
dup
astore 8
start local 8 13: ifnull 16
14: aload 7
iload 9
aload 8
aastore
15: goto 32
StackMap locals: java.security.PKCS12Attribute byte[] sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier sun.security.util.DerInputStream sun.security.util.DerValue[] java.lang.String[] java.lang.String int
StackMap stack:
16: aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
bipush 6
if_icmpne 19
17: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getOID:()Lsun/security/util/ObjectIdentifier;
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
aastore
18: goto 32
StackMap locals:
StackMap stack:
19: aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
bipush 24
if_icmpne 22
20: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getGeneralizedTime:()Ljava/util/Date;
invokevirtual java.util.Date.toString:()Ljava/lang/String;
aastore
21: goto 32
StackMap locals:
StackMap stack:
22: aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
bipush 23
if_icmpne 25
23: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getUTCTime:()Ljava/util/Date;
invokevirtual java.util.Date.toString:()Ljava/lang/String;
aastore
24: goto 32
StackMap locals:
StackMap stack:
25: aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
iconst_2
if_icmpne 28
26: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getBigInteger:()Ljava/math/BigInteger;
invokevirtual java.math.BigInteger.toString:()Ljava/lang/String;
aastore
27: goto 32
StackMap locals:
StackMap stack:
28: aload 6
iload 9
aaload
getfield sun.security.util.DerValue.tag:B
iconst_1
if_icmpne 31
29: aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getBoolean:()Z
invokestatic java.lang.String.valueOf:(Z)Ljava/lang/String;
aastore
30: goto 32
31: StackMap locals:
StackMap stack:
aload 7
iload 9
aload 6
iload 9
aaload
invokevirtual sun.security.util.DerValue.getDataBytes:()[B
invokestatic sun.security.util.Debug.toString:([B)Ljava/lang/String;
aastore
end local 8 32: StackMap locals: java.security.PKCS12Attribute byte[] sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier sun.security.util.DerInputStream sun.security.util.DerValue[] java.lang.String[] top int
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
33: iload 9
aload 6
arraylength
if_icmplt 9
end local 9 34: aload 0
aload 4
invokevirtual sun.security.util.ObjectIdentifier.toString:()Ljava/lang/String;
putfield java.security.PKCS12Attribute.name:Ljava/lang/String;
35: aload 0
aload 7
arraylength
iconst_1
if_icmpne 36
aload 7
iconst_0
aaload
goto 37
StackMap locals: java.security.PKCS12Attribute byte[] sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier sun.security.util.DerInputStream sun.security.util.DerValue[] java.lang.String[]
StackMap stack: java.security.PKCS12Attribute
36: aload 7
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
StackMap locals: java.security.PKCS12Attribute byte[] sun.security.util.DerInputStream sun.security.util.DerValue[] sun.security.util.ObjectIdentifier sun.security.util.DerInputStream sun.security.util.DerValue[] java.lang.String[]
StackMap stack: java.security.PKCS12Attribute java.lang.String
37: putfield java.security.PKCS12Attribute.value:Ljava/lang/String;
38: return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Ljava/security/PKCS12Attribute;
0 39 1 encoded [B
1 39 2 attributeValue Lsun/security/util/DerInputStream;
2 39 3 attrSeq [Lsun/security/util/DerValue;
3 39 4 type Lsun/security/util/ObjectIdentifier;
5 39 5 attrContent Lsun/security/util/DerInputStream;
6 39 6 attrValueSet [Lsun/security/util/DerValue;
7 39 7 values [Ljava/lang/String;
13 32 8 printableString Ljava/lang/String;
8 34 9 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encoded
}
SourceFile: "PKCS12Attribute.java"
InnerClasses:
public abstract Entry = java.security.KeyStore$Entry of java.security.KeyStore
public abstract Attribute = java.security.KeyStore$Entry$Attribute of java.security.KeyStore$Entry