public class sun.security.x509.KeyUsageExtension extends sun.security.x509.Extension implements sun.security.x509.CertAttrSet<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.security.x509.KeyUsageExtension
super_class: sun.security.x509.Extension
{
public static final java.lang.String IDENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "x509.info.extensions.KeyUsage"
public static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "KeyUsage"
public static final java.lang.String DIGITAL_SIGNATURE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "digital_signature"
public static final java.lang.String NON_REPUDIATION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "non_repudiation"
public static final java.lang.String KEY_ENCIPHERMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "key_encipherment"
public static final java.lang.String DATA_ENCIPHERMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "data_encipherment"
public static final java.lang.String KEY_AGREEMENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "key_agreement"
public static final java.lang.String KEY_CERTSIGN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "key_certsign"
public static final java.lang.String CRL_SIGN;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "crl_sign"
public static final java.lang.String ENCIPHER_ONLY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "encipher_only"
public static final java.lang.String DECIPHER_ONLY;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "decipher_only"
private boolean[] bitString;
descriptor: [Z
flags: (0x0002) ACC_PRIVATE
private void encodeThis();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 1
start local 1 1: aload 1
new sun.security.util.BitArray
dup
aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
invokespecial sun.security.util.BitArray.<init>:([Z)V
invokevirtual sun.security.util.DerOutputStream.putTruncatedUnalignedBitString:(Lsun/security/util/BitArray;)V
2: aload 0
aload 1
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
putfield sun.security.x509.KeyUsageExtension.extensionValue:[B
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/KeyUsageExtension;
1 4 1 os Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
private boolean isSet(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
arraylength
if_icmpge 3
1: aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
iload 1
baload
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/security/x509/KeyUsageExtension;
0 4 1 position I
MethodParameters:
Name Flags
position
private void set(int, boolean);
descriptor: (IZ)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
arraylength
if_icmplt 4
1: iload 1
iconst_1
iadd
newarray 4
astore 3
start local 3 2: aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
iconst_0
aload 3
iconst_0
aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 0
aload 3
putfield sun.security.x509.KeyUsageExtension.bitString:[Z
end local 3 4: StackMap locals:
StackMap stack:
aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
iload 1
iload 2
bastore
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/KeyUsageExtension;
0 6 1 position I
0 6 2 val Z
2 4 3 tmp [Z
MethodParameters:
Name Flags
position
val
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
2: new sun.security.util.BitArray
dup
aload 1
arraylength
bipush 8
imul
aload 1
invokespecial sun.security.util.BitArray.<init>:(I[B)V
invokevirtual sun.security.util.BitArray.toBooleanArray:()[Z
3: putfield sun.security.x509.KeyUsageExtension.bitString:[Z
4: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
5: aload 0
iconst_1
putfield sun.security.x509.KeyUsageExtension.critical:Z
6: aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/KeyUsageExtension;
0 8 1 bitString [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bitString
public void <init>(boolean[]);
descriptor: ([Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
aload 1
putfield sun.security.x509.KeyUsageExtension.bitString:[Z
2: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_1
putfield sun.security.x509.KeyUsageExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/KeyUsageExtension;
0 6 1 bitString [Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bitString
public void <init>(sun.security.util.BitArray);
descriptor: (Lsun/security/util/BitArray;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
aload 1
invokevirtual sun.security.util.BitArray.toBooleanArray:()[Z
putfield sun.security.x509.KeyUsageExtension.bitString:[Z
2: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_1
putfield sun.security.x509.KeyUsageExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/security/x509/KeyUsageExtension;
0 6 1 bitString Lsun/security/util/BitArray;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
bitString
public void <init>(java.lang.Boolean, java.lang.Object);
descriptor: (Ljava/lang/Boolean;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
aload 1
invokevirtual java.lang.Boolean.booleanValue:()Z
putfield sun.security.x509.KeyUsageExtension.critical:Z
3: aload 2
checkcast byte[]
astore 3
start local 3 4: aload 3
iconst_0
baload
iconst_4
if_icmpne 7
5: aload 0
new sun.security.util.DerValue
dup
aload 3
invokespecial sun.security.util.DerValue.<init>:([B)V
invokevirtual sun.security.util.DerValue.getOctetString:()[B
putfield sun.security.x509.KeyUsageExtension.extensionValue:[B
6: goto 8
7: StackMap locals: sun.security.x509.KeyUsageExtension java.lang.Boolean java.lang.Object byte[]
StackMap stack:
aload 0
aload 3
putfield sun.security.x509.KeyUsageExtension.extensionValue:[B
8: StackMap locals:
StackMap stack:
new sun.security.util.DerValue
dup
aload 0
getfield sun.security.x509.KeyUsageExtension.extensionValue:[B
invokespecial sun.security.util.DerValue.<init>:([B)V
astore 4
start local 4 9: aload 0
aload 4
invokevirtual sun.security.util.DerValue.getUnalignedBitString:()Lsun/security/util/BitArray;
invokevirtual sun.security.util.BitArray.toBooleanArray:()[Z
putfield sun.security.x509.KeyUsageExtension.bitString:[Z
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/KeyUsageExtension;
0 11 1 critical Ljava/lang/Boolean;
0 11 2 value Ljava/lang/Object;
4 11 3 extValue [B
9 11 4 val Lsun/security/util/DerValue;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
critical
value
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
2: aload 0
iconst_1
putfield sun.security.x509.KeyUsageExtension.critical:Z
3: aload 0
iconst_0
newarray 4
putfield sun.security.x509.KeyUsageExtension.bitString:[Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/x509/KeyUsageExtension;
public void set(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
instanceof java.lang.Boolean
ifne 2
1: new java.io.IOException
dup
ldc "Attribute must be of type Boolean."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 3
start local 3 3: aload 1
ldc "digital_signature"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
iconst_0
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
5: goto 31
StackMap locals: int
StackMap stack:
6: aload 1
ldc "non_repudiation"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
7: aload 0
iconst_1
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
8: goto 31
StackMap locals:
StackMap stack:
9: aload 1
ldc "key_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
iconst_2
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
11: goto 31
StackMap locals:
StackMap stack:
12: aload 1
ldc "data_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: aload 0
iconst_3
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
14: goto 31
StackMap locals:
StackMap stack:
15: aload 1
ldc "key_agreement"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: aload 0
iconst_4
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
17: goto 31
StackMap locals:
StackMap stack:
18: aload 1
ldc "key_certsign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 0
iconst_5
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
20: goto 31
StackMap locals:
StackMap stack:
21: aload 1
ldc "crl_sign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
22: aload 0
bipush 6
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
23: goto 31
StackMap locals:
StackMap stack:
24: aload 1
ldc "encipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 27
25: aload 0
bipush 7
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
26: goto 31
StackMap locals:
StackMap stack:
27: aload 1
ldc "decipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 30
28: aload 0
bipush 8
iload 3
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
29: goto 31
30: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:KeyUsage."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
32: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lsun/security/x509/KeyUsageExtension;
0 33 1 name Ljava/lang/String;
0 33 2 obj Ljava/lang/Object;
3 33 3 val Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
obj
public java.lang.Boolean get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "digital_signature"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "non_repudiation"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
iconst_1
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "key_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
5: aload 0
iconst_2
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "data_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
iconst_3
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc "key_agreement"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
iconst_4
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc "key_certsign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
11: aload 0
iconst_5
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
12: StackMap locals:
StackMap stack:
aload 1
ldc "crl_sign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 14
13: aload 0
bipush 6
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
14: StackMap locals:
StackMap stack:
aload 1
ldc "encipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 16
15: aload 0
bipush 7
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
16: StackMap locals:
StackMap stack:
aload 1
ldc "decipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
17: aload 0
bipush 8
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
18: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:KeyUsage."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/security/x509/KeyUsageExtension;
0 19 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public void delete(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "digital_signature"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 3
1: aload 0
iconst_0
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
2: goto 28
StackMap locals:
StackMap stack:
3: aload 1
ldc "non_repudiation"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 6
4: aload 0
iconst_1
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
5: goto 28
StackMap locals:
StackMap stack:
6: aload 1
ldc "key_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
7: aload 0
iconst_2
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
8: goto 28
StackMap locals:
StackMap stack:
9: aload 1
ldc "data_encipherment"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
iconst_3
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
11: goto 28
StackMap locals:
StackMap stack:
12: aload 1
ldc "key_agreement"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 15
13: aload 0
iconst_4
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
14: goto 28
StackMap locals:
StackMap stack:
15: aload 1
ldc "key_certsign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 18
16: aload 0
iconst_5
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
17: goto 28
StackMap locals:
StackMap stack:
18: aload 1
ldc "crl_sign"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 21
19: aload 0
bipush 6
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
20: goto 28
StackMap locals:
StackMap stack:
21: aload 1
ldc "encipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 24
22: aload 0
bipush 7
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
23: goto 28
StackMap locals:
StackMap stack:
24: aload 1
ldc "decipher_only"
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 27
25: aload 0
bipush 8
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.set:(IZ)V
26: goto 28
27: StackMap locals:
StackMap stack:
new java.io.IOException
dup
ldc "Attribute name not recognized by CertAttrSet:KeyUsage."
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
28: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
29: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lsun/security/x509/KeyUsageExtension;
0 30 1 name Ljava/lang/String;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
ldc "KeyUsage [\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: aload 0
iconst_0
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 5
4: aload 1
ldc " DigitalSignature\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
iconst_1
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 7
6: aload 1
ldc " Non_repudiation\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 0
iconst_2
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 9
8: aload 1
ldc " Key_Encipherment\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: StackMap locals:
StackMap stack:
aload 0
iconst_3
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 11
10: aload 1
ldc " Data_Encipherment\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: StackMap locals:
StackMap stack:
aload 0
iconst_4
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 13
12: aload 1
ldc " Key_Agreement\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: StackMap locals:
StackMap stack:
aload 0
iconst_5
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 15
14: aload 1
ldc " Key_CertSign\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: StackMap locals:
StackMap stack:
aload 0
bipush 6
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 17
16: aload 1
ldc " Crl_Sign\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
17: StackMap locals:
StackMap stack:
aload 0
bipush 7
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 19
18: aload 1
ldc " Encipher_Only\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
19: StackMap locals:
StackMap stack:
aload 0
bipush 8
invokevirtual sun.security.x509.KeyUsageExtension.isSet:(I)Z
ifeq 21
20: aload 1
ldc " Decipher_Only\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
21: StackMap locals:
StackMap stack:
aload 1
ldc "]\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
22: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/security/x509/KeyUsageExtension;
1 23 1 sb Ljava/lang/StringBuilder;
public void encode(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: new sun.security.util.DerOutputStream
dup
invokespecial sun.security.util.DerOutputStream.<init>:()V
astore 2
start local 2 1: aload 0
getfield sun.security.x509.KeyUsageExtension.extensionValue:[B
ifnonnull 5
2: aload 0
getstatic sun.security.x509.PKIXExtensions.KeyUsage_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.x509.KeyUsageExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iconst_1
putfield sun.security.x509.KeyUsageExtension.critical:Z
4: aload 0
invokevirtual sun.security.x509.KeyUsageExtension.encodeThis:()V
5: StackMap locals: sun.security.util.DerOutputStream
StackMap stack:
aload 0
aload 2
invokespecial sun.security.x509.Extension.encode:(Lsun/security/util/DerOutputStream;)V
6: aload 1
aload 2
invokevirtual sun.security.util.DerOutputStream.toByteArray:()[B
invokevirtual java.io.OutputStream.write:([B)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/security/x509/KeyUsageExtension;
0 8 1 out Ljava/io/OutputStream;
1 8 2 tmp Lsun/security/util/DerOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
public java.util.Enumeration<java.lang.String> getElements();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new sun.security.x509.AttributeNameEnumeration
dup
invokespecial sun.security.x509.AttributeNameEnumeration.<init>:()V
astore 1
start local 1 1: aload 1
ldc "digital_signature"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
2: aload 1
ldc "non_repudiation"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
3: aload 1
ldc "key_encipherment"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
4: aload 1
ldc "data_encipherment"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
5: aload 1
ldc "key_agreement"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
6: aload 1
ldc "key_certsign"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
7: aload 1
ldc "crl_sign"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
8: aload 1
ldc "encipher_only"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
9: aload 1
ldc "decipher_only"
invokevirtual sun.security.x509.AttributeNameEnumeration.addElement:(Ljava/lang/Object;)V
10: aload 1
invokevirtual sun.security.x509.AttributeNameEnumeration.elements:()Ljava/util/Enumeration;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/x509/KeyUsageExtension;
1 11 1 elements Lsun/security/x509/AttributeNameEnumeration;
Signature: ()Ljava/util/Enumeration<Ljava/lang/String;>;
public boolean[] getBits();
descriptor: ()[Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.x509.KeyUsageExtension.bitString:[Z
invokevirtual boolean[].clone:()Ljava/lang/Object;
checkcast boolean[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/KeyUsageExtension;
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: ldc "KeyUsage"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/x509/KeyUsageExtension;
public java.lang.Object get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual sun.security.x509.KeyUsageExtension.get:(Ljava/lang/String;)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.security.cert.CertificateException, java.io.IOException
}
Signature: Lsun/security/x509/Extension;Lsun/security/x509/CertAttrSet<Ljava/lang/String;>;
SourceFile: "KeyUsageExtension.java"