public class org.bouncycastle.asn1.x509.KeyUsage extends org.bouncycastle.asn1.DERBitString
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.KeyUsage
super_class: org.bouncycastle.asn1.DERBitString
{
public static final int digitalSignature;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 128
public static final int nonRepudiation;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 64
public static final int keyEncipherment;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
public static final int dataEncipherment;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 16
public static final int keyAgreement;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 8
public static final int keyCertSign;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int cRLSign;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int encipherOnly;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int decipherOnly;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32768
public static org.bouncycastle.asn1.DERBitString getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERBitString;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.bouncycastle.asn1.x509.KeyUsage
ifeq 2
1: aload 0
checkcast org.bouncycastle.asn1.x509.KeyUsage
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.x509.X509Extension
ifeq 4
3: new org.bouncycastle.asn1.x509.KeyUsage
dup
aload 0
checkcast org.bouncycastle.asn1.x509.X509Extension
invokestatic org.bouncycastle.asn1.x509.X509Extension.convertValueToObject:(Lorg/bouncycastle/asn1/x509/X509Extension;)Lorg/bouncycastle/asn1/ASN1Object;
invokestatic org.bouncycastle.asn1.DERBitString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERBitString;
invokespecial org.bouncycastle.asn1.x509.KeyUsage.<init>:(Lorg/bouncycastle/asn1/DERBitString;)V
areturn
4: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.x509.KeyUsage
dup
aload 0
invokestatic org.bouncycastle.asn1.DERBitString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERBitString;
invokespecial org.bouncycastle.asn1.x509.KeyUsage.<init>:(Lorg/bouncycastle/asn1/DERBitString;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.asn1.x509.KeyUsage.getBytes:(I)[B
iload 1
invokestatic org.bouncycastle.asn1.x509.KeyUsage.getPadBits:(I)I
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([BI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x509/KeyUsage;
0 2 1 usage I
MethodParameters:
Name Flags
usage
public void <init>(org.bouncycastle.asn1.DERBitString);
descriptor: (Lorg/bouncycastle/asn1/DERBitString;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
aload 1
invokevirtual org.bouncycastle.asn1.DERBitString.getPadBits:()I
invokespecial org.bouncycastle.asn1.DERBitString.<init>:([BI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/asn1/x509/KeyUsage;
0 2 1 usage Lorg/bouncycastle/asn1/DERBitString;
MethodParameters:
Name Flags
usage
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.KeyUsage.data:[B
arraylength
iconst_1
if_icmpne 2
1: new java.lang.StringBuilder
dup
ldc "KeyUsage: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.asn1.x509.KeyUsage.data:[B
iconst_0
baload
sipush 255
iand
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "KeyUsage: 0x"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.asn1.x509.KeyUsage.data:[B
iconst_1
baload
sipush 255
iand
bipush 8
ishl
aload 0
getfield org.bouncycastle.asn1.x509.KeyUsage.data:[B
iconst_0
baload
sipush 255
iand
ior
invokestatic java.lang.Integer.toHexString:(I)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 3 0 this Lorg/bouncycastle/asn1/x509/KeyUsage;
}
SourceFile: "KeyUsage.java"