public class org.bouncycastle.asn1.x509.AlgorithmIdentifier extends org.bouncycastle.asn1.ASN1Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x509.AlgorithmIdentifier
super_class: org.bouncycastle.asn1.ASN1Encodable
{
private org.bouncycastle.asn1.DERObjectIdentifier objectId;
descriptor: Lorg/bouncycastle/asn1/DERObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.DEREncodable parameters;
descriptor: Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0002) ACC_PRIVATE
private boolean parametersDefined;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static org.bouncycastle.asn1.x509.AlgorithmIdentifier getInstance(org.bouncycastle.asn1.ASN1TaggedObject, boolean);
descriptor: (Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokestatic org.bouncycastle.asn1.ASN1Sequence.getInstance:(Lorg/bouncycastle/asn1/ASN1TaggedObject;Z)Lorg/bouncycastle/asn1/ASN1Sequence;
invokestatic org.bouncycastle.asn1.x509.AlgorithmIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 obj Lorg/bouncycastle/asn1/ASN1TaggedObject;
0 1 1 explicit Z
MethodParameters:
Name Flags
obj
explicit
public static org.bouncycastle.asn1.x509.AlgorithmIdentifier getInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
instanceof org.bouncycastle.asn1.x509.AlgorithmIdentifier
ifeq 2
1: StackMap locals:
StackMap stack:
aload 0
checkcast org.bouncycastle.asn1.x509.AlgorithmIdentifier
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.DERObjectIdentifier
ifeq 4
3: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
checkcast org.bouncycastle.asn1.DERObjectIdentifier
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof java.lang.String
ifeq 6
5: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
checkcast java.lang.String
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Ljava/lang/String;)V
areturn
6: StackMap locals:
StackMap stack:
aload 0
instanceof org.bouncycastle.asn1.ASN1Sequence
ifeq 8
7: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
checkcast org.bouncycastle.asn1.ASN1Sequence
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1Sequence;)V
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknown object in factory: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public void <init>(org.bouncycastle.asn1.DERObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
2: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 4 1 objectId Lorg/bouncycastle/asn1/DERObjectIdentifier;
MethodParameters:
Name Flags
objectId
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
2: aload 0
new org.bouncycastle.asn1.DERObjectIdentifier
dup
aload 1
invokespecial org.bouncycastle.asn1.DERObjectIdentifier.<init>:(Ljava/lang/String;)V
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 4 1 objectId Ljava/lang/String;
MethodParameters:
Name Flags
objectId
public void <init>(org.bouncycastle.asn1.DERObjectIdentifier, org.bouncycastle.asn1.DEREncodable);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;Lorg/bouncycastle/asn1/DEREncodable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
2: aload 0
iconst_1
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
3: aload 0
aload 1
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
4: aload 0
aload 2
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 6 1 objectId Lorg/bouncycastle/asn1/DERObjectIdentifier;
0 6 2 parameters Lorg/bouncycastle/asn1/DEREncodable;
MethodParameters:
Name Flags
objectId
parameters
public void <init>(org.bouncycastle.asn1.ASN1Sequence);
descriptor: (Lorg/bouncycastle/asn1/ASN1Sequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.bouncycastle.asn1.ASN1Encodable.<init>:()V
1: aload 0
iconst_0
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
2: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_1
if_icmplt 3
aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmple 6
3: StackMap locals: org.bouncycastle.asn1.x509.AlgorithmIdentifier org.bouncycastle.asn1.ASN1Sequence
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Bad sequence size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_0
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
invokestatic org.bouncycastle.asn1.DERObjectIdentifier.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/DERObjectIdentifier;
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
7: aload 1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.size:()I
iconst_2
if_icmpne 11
8: aload 0
iconst_1
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
9: aload 0
aload 1
iconst_1
invokevirtual org.bouncycastle.asn1.ASN1Sequence.getObjectAt:(I)Lorg/bouncycastle/asn1/DEREncodable;
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
0 13 1 seq Lorg/bouncycastle/asn1/ASN1Sequence;
MethodParameters:
Name Flags
seq
public org.bouncycastle.asn1.ASN1ObjectIdentifier getAlgorithm();
descriptor: ()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.getId:()Ljava/lang/String;
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
public org.bouncycastle.asn1.DERObjectIdentifier getObjectId();
descriptor: ()Lorg/bouncycastle/asn1/DERObjectIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
public org.bouncycastle.asn1.DEREncodable getParameters();
descriptor: ()Lorg/bouncycastle/asn1/DEREncodable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
public org.bouncycastle.asn1.DERObject toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/DERObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new org.bouncycastle.asn1.ASN1EncodableVector
dup
invokespecial org.bouncycastle.asn1.ASN1EncodableVector.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.objectId:Lorg/bouncycastle/asn1/DERObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
2: aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parametersDefined:Z
ifeq 7
3: aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
ifnull 6
4: aload 1
aload 0
getfield org.bouncycastle.asn1.x509.AlgorithmIdentifier.parameters:Lorg/bouncycastle/asn1/DEREncodable;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
5: goto 7
6: StackMap locals: org.bouncycastle.asn1.ASN1EncodableVector
StackMap stack:
aload 1
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokevirtual org.bouncycastle.asn1.ASN1EncodableVector.add:(Lorg/bouncycastle/asn1/DEREncodable;)V
7: StackMap locals:
StackMap stack:
new org.bouncycastle.asn1.DERSequence
dup
aload 1
invokespecial org.bouncycastle.asn1.DERSequence.<init>:(Lorg/bouncycastle/asn1/ASN1EncodableVector;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
1 8 1 v Lorg/bouncycastle/asn1/ASN1EncodableVector;
}
SourceFile: "AlgorithmIdentifier.java"