public class org.bouncycastle.est.CSRAttributesResponse implements org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.est.CSRAttributesResponse
super_class: java.lang.Object
{
private final org.bouncycastle.asn1.est.CsrAttrs csrAttrs;
descriptor: Lorg/bouncycastle/asn1/est/CsrAttrs;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.HashMap<org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.est.AttrOrOID> index;
descriptor: Ljava/util/HashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/HashMap<Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/est/AttrOrOID;>;
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.est.CSRAttributesResponse.parseBytes:([B)Lorg/bouncycastle/asn1/est/CsrAttrs;
invokespecial org.bouncycastle.est.CSRAttributesResponse.<init>:(Lorg/bouncycastle/asn1/est/CsrAttrs;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
0 2 1 responseEncoding [B
Exceptions:
throws org.bouncycastle.est.ESTException
MethodParameters:
Name Flags
responseEncoding
public void <init>(org.bouncycastle.asn1.est.CsrAttrs);
descriptor: (Lorg/bouncycastle/asn1/est/CsrAttrs;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.est.CSRAttributesResponse.csrAttrs:Lorg/bouncycastle/asn1/est/CsrAttrs;
2: aload 0
new java.util.HashMap
dup
aload 1
invokevirtual org.bouncycastle.asn1.est.CsrAttrs.size:()I
invokespecial java.util.HashMap.<init>:(I)V
putfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
3: aload 1
invokevirtual org.bouncycastle.asn1.est.CsrAttrs.getAttrOrOIDs:()[Lorg/bouncycastle/asn1/est/AttrOrOID;
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 12
6: StackMap locals: org.bouncycastle.est.CSRAttributesResponse org.bouncycastle.asn1.est.CsrAttrs org.bouncycastle.asn1.est.AttrOrOID[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 7: aload 4
invokevirtual org.bouncycastle.asn1.est.AttrOrOID.isOid:()Z
ifeq 10
8: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
aload 4
invokevirtual org.bouncycastle.asn1.est.AttrOrOID.getOid:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: goto 11
10: StackMap locals: org.bouncycastle.asn1.est.AttrOrOID
StackMap stack:
aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
aload 4
invokevirtual org.bouncycastle.asn1.est.AttrOrOID.getAttribute:()Lorg/bouncycastle/asn1/pkcs/Attribute;
invokevirtual org.bouncycastle.asn1.pkcs.Attribute.getAttrType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 4
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 2
arraylength
if_icmpne 6
end local 3 13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
0 14 1 csrAttrs Lorg/bouncycastle/asn1/est/CsrAttrs;
4 14 2 attrOrOIDs [Lorg/bouncycastle/asn1/est/AttrOrOID;
5 13 3 i I
7 11 4 attrOrOID Lorg/bouncycastle/asn1/est/AttrOrOID;
Exceptions:
throws org.bouncycastle.est.ESTException
MethodParameters:
Name Flags
csrAttrs
private static org.bouncycastle.asn1.est.CsrAttrs parseBytes(byte[]);
descriptor: ([B)Lorg/bouncycastle/asn1/est/CsrAttrs;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.asn1.ASN1Primitive.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Primitive;
invokestatic org.bouncycastle.asn1.est.CsrAttrs.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/est/CsrAttrs;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 3: new org.bouncycastle.est.ESTException
dup
new java.lang.StringBuilder
dup
ldc "malformed data: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.est.ESTException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 responseEncoding [B
3 4 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.est.ESTException
MethodParameters:
Name Flags
responseEncoding
public boolean hasRequirement(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
0 1 1 requirementOid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
requirementOid
public boolean isAttribute(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.containsKey:(Ljava/lang/Object;)Z
ifeq 4
1: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.est.AttrOrOID
invokevirtual org.bouncycastle.asn1.est.AttrOrOID.isOid:()Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
0 5 1 requirementOid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
requirementOid
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.csrAttrs:Lorg/bouncycastle/asn1/est/CsrAttrs;
invokevirtual org.bouncycastle.asn1.est.CsrAttrs.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
public java.util.Collection<org.bouncycastle.asn1.ASN1ObjectIdentifier> getRequirements();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.index:Ljava/util/HashMap;
invokevirtual java.util.HashMap.keySet:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
Signature: ()Ljava/util/Collection<Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;>;
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.CSRAttributesResponse.csrAttrs:Lorg/bouncycastle/asn1/est/CsrAttrs;
invokevirtual org.bouncycastle.asn1.est.CsrAttrs.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/est/CSRAttributesResponse;
Exceptions:
throws java.io.IOException
}
SourceFile: "CSRAttributesResponse.java"