public class org.bouncycastle.asn1.gm.GMNamedCurves
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.gm.GMNamedCurves
super_class: java.lang.Object
{
static org.bouncycastle.asn1.x9.X9ECParametersHolder sm2p256v1;
descriptor: Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
flags: (0x0008) ACC_STATIC
static org.bouncycastle.asn1.x9.X9ECParametersHolder wapip192v1;
descriptor: Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
flags: (0x0008) ACC_STATIC
static final java.util.Hashtable objIds;
descriptor: Ljava/util/Hashtable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.util.Hashtable curves;
descriptor: Ljava/util/Hashtable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final java.util.Hashtable names;
descriptor: Ljava/util/Hashtable;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new org.bouncycastle.asn1.gm.GMNamedCurves$1
dup
invokespecial org.bouncycastle.asn1.gm.GMNamedCurves$1.<init>:()V
putstatic org.bouncycastle.asn1.gm.GMNamedCurves.sm2p256v1:Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
1: new org.bouncycastle.asn1.gm.GMNamedCurves$2
dup
invokespecial org.bouncycastle.asn1.gm.GMNamedCurves$2.<init>:()V
putstatic org.bouncycastle.asn1.gm.GMNamedCurves.wapip192v1:Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
2: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic org.bouncycastle.asn1.gm.GMNamedCurves.objIds:Ljava/util/Hashtable;
3: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic org.bouncycastle.asn1.gm.GMNamedCurves.curves:Ljava/util/Hashtable;
4: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
putstatic org.bouncycastle.asn1.gm.GMNamedCurves.names:Ljava/util/Hashtable;
5: ldc "wapip192v1"
getstatic org.bouncycastle.asn1.gm.GMObjectIdentifiers.wapip192v1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
getstatic org.bouncycastle.asn1.gm.GMNamedCurves.wapip192v1:Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
invokestatic org.bouncycastle.asn1.gm.GMNamedCurves.defineCurve:(Ljava/lang/String;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;)V
6: ldc "sm2p256v1"
getstatic org.bouncycastle.asn1.gm.GMObjectIdentifiers.sm2p256v1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
getstatic org.bouncycastle.asn1.gm.GMNamedCurves.sm2p256v1:Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
invokestatic org.bouncycastle.asn1.gm.GMNamedCurves.defineCurve:(Ljava/lang/String;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;)V
7: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/asn1/gm/GMNamedCurves;
private static org.bouncycastle.math.ec.ECCurve configureCurve(org.bouncycastle.math.ec.ECCurve);
descriptor: (Lorg/bouncycastle/math/ec/ECCurve;)Lorg/bouncycastle/math/ec/ECCurve;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 curve Lorg/bouncycastle/math/ec/ECCurve;
MethodParameters:
Name Flags
curve
private static java.math.BigInteger fromHex(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/math/BigInteger;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.math.BigInteger
dup
iconst_1
aload 0
invokestatic org.bouncycastle.util.encoders.Hex.decode:(Ljava/lang/String;)[B
invokespecial java.math.BigInteger.<init>:(I[B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hex Ljava/lang/String;
MethodParameters:
Name Flags
hex
static void defineCurve(java.lang.String, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.asn1.x9.X9ECParametersHolder);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.objIds:Ljava/util/Hashtable;
aload 0
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
aload 1
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.names:Ljava/util/Hashtable;
aload 1
aload 0
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.curves:Ljava/util/Hashtable;
aload 1
aload 2
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
0 4 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 4 2 holder Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
MethodParameters:
Name Flags
name
oid
holder
public static org.bouncycastle.asn1.x9.X9ECParameters getByName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/asn1/x9/X9ECParameters;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.asn1.gm.GMNamedCurves.getOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack:
2: aload 1
invokestatic org.bouncycastle.asn1.gm.GMNamedCurves.getByOID:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x9/X9ECParameters;
StackMap locals:
StackMap stack: org.bouncycastle.asn1.x9.X9ECParameters
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 name Ljava/lang/String;
1 4 1 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
name
public static org.bouncycastle.asn1.x9.X9ECParameters getByOID(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Lorg/bouncycastle/asn1/x9/X9ECParameters;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.curves:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.x9.X9ECParametersHolder
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
goto 3
StackMap locals: org.bouncycastle.asn1.x9.X9ECParametersHolder
StackMap stack:
2: aload 1
invokevirtual org.bouncycastle.asn1.x9.X9ECParametersHolder.getParameters:()Lorg/bouncycastle/asn1/x9/X9ECParameters;
StackMap locals:
StackMap stack: org.bouncycastle.asn1.x9.X9ECParameters
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1 4 1 holder Lorg/bouncycastle/asn1/x9/X9ECParametersHolder;
MethodParameters:
Name Flags
oid
public static org.bouncycastle.asn1.ASN1ObjectIdentifier getOID(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.objIds:Ljava/util/Hashtable;
aload 0
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static java.lang.String getName(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.names:Ljava/util/Hashtable;
aload 0
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
oid
public static java.util.Enumeration getNames();
descriptor: ()Ljava/util/Enumeration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.bouncycastle.asn1.gm.GMNamedCurves.names:Ljava/util/Hashtable;
invokevirtual java.util.Hashtable.elements:()Ljava/util/Enumeration;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "GMNamedCurves.java"
NestMembers:
org.bouncycastle.asn1.gm.GMNamedCurves$1 org.bouncycastle.asn1.gm.GMNamedCurves$2
InnerClasses:
org.bouncycastle.asn1.gm.GMNamedCurves$1
org.bouncycastle.asn1.gm.GMNamedCurves$2