public class org.bouncycastle.asn1.x500.style.IETFUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.asn1.x500.style.IETFUtils
super_class: java.lang.Object
{
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/x500/style/IETFUtils;
public static org.bouncycastle.asn1.x500.RDN[] rDNsFromString(java.lang.String, org.bouncycastle.asn1.x500.X500NameStyle);
descriptor: (Ljava/lang/String;Lorg/bouncycastle/asn1/x500/X500NameStyle;)[Lorg/bouncycastle/asn1/x500/RDN;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=17, args_size=2
start local 0 start local 1 0: new org.bouncycastle.asn1.x500.style.X500NameTokenizer
dup
aload 0
invokespecial org.bouncycastle.asn1.x500.style.X500NameTokenizer.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: new org.bouncycastle.asn1.x500.X500NameBuilder
dup
aload 1
invokespecial org.bouncycastle.asn1.x500.X500NameBuilder.<init>:(Lorg/bouncycastle/asn1/x500/X500NameStyle;)V
astore 3
start local 3 2: goto 28
3: StackMap locals: org.bouncycastle.asn1.x500.style.X500NameTokenizer org.bouncycastle.asn1.x500.X500NameBuilder
StackMap stack:
aload 2
invokevirtual org.bouncycastle.asn1.x500.style.X500NameTokenizer.nextToken:()Ljava/lang/String;
astore 4
start local 4 4: aload 4
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 5
start local 5 5: iload 5
iconst_m1
if_icmpne 7
6: new java.lang.IllegalArgumentException
dup
ldc "badly formated directory string"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.lang.String int
StackMap stack:
aload 4
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 8: aload 4
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 7
start local 7 9: aload 1
aload 6
invokeinterface org.bouncycastle.asn1.x500.X500NameStyle.attrNameToOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
astore 8
start local 8 10: aload 7
bipush 43
invokevirtual java.lang.String.indexOf:(I)I
ifle 27
11: new org.bouncycastle.asn1.x500.style.X500NameTokenizer
dup
aload 7
bipush 43
invokespecial org.bouncycastle.asn1.x500.style.X500NameTokenizer.<init>:(Ljava/lang/String;C)V
astore 9
start local 9 12: aload 9
invokevirtual org.bouncycastle.asn1.x500.style.X500NameTokenizer.nextToken:()Ljava/lang/String;
astore 10
start local 10 13: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 11
start local 11 14: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 12
start local 12 15: aload 11
aload 8
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
16: aload 12
aload 10
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
17: goto 24
18: StackMap locals: java.lang.String org.bouncycastle.asn1.x500.X500NameStyle org.bouncycastle.asn1.x500.style.X500NameTokenizer org.bouncycastle.asn1.x500.X500NameBuilder java.lang.String int java.lang.String java.lang.String org.bouncycastle.asn1.ASN1ObjectIdentifier org.bouncycastle.asn1.x500.style.X500NameTokenizer java.lang.String java.util.Vector java.util.Vector
StackMap stack:
aload 9
invokevirtual org.bouncycastle.asn1.x500.style.X500NameTokenizer.nextToken:()Ljava/lang/String;
astore 13
start local 13 19: aload 13
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 14
start local 14 20: aload 13
iconst_0
iload 14
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 15
start local 15 21: aload 13
iload 14
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 16
start local 16 22: aload 11
aload 1
aload 15
invokeinterface org.bouncycastle.asn1.x500.X500NameStyle.attrNameToOID:(Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
23: aload 12
aload 16
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
end local 16 end local 15 end local 14 end local 13 24: StackMap locals:
StackMap stack:
aload 9
invokevirtual org.bouncycastle.asn1.x500.style.X500NameTokenizer.hasMoreTokens:()Z
ifne 18
25: aload 3
aload 11
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.toOIDArray:(Ljava/util/Vector;)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 12
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.toValueArray:(Ljava/util/Vector;)[Ljava/lang/String;
invokevirtual org.bouncycastle.asn1.x500.X500NameBuilder.addMultiValuedRDN:([Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;[Ljava/lang/String;)Lorg/bouncycastle/asn1/x500/X500NameBuilder;
pop
end local 12 end local 11 end local 10 end local 9 26: goto 28
27: StackMap locals: java.lang.String org.bouncycastle.asn1.x500.X500NameStyle org.bouncycastle.asn1.x500.style.X500NameTokenizer org.bouncycastle.asn1.x500.X500NameBuilder java.lang.String int java.lang.String java.lang.String org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack:
aload 3
aload 8
aload 7
invokevirtual org.bouncycastle.asn1.x500.X500NameBuilder.addRDN:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Ljava/lang/String;)Lorg/bouncycastle/asn1/x500/X500NameBuilder;
pop
end local 8 end local 7 end local 6 end local 5 end local 4 28: StackMap locals: java.lang.String org.bouncycastle.asn1.x500.X500NameStyle org.bouncycastle.asn1.x500.style.X500NameTokenizer org.bouncycastle.asn1.x500.X500NameBuilder
StackMap stack:
aload 2
invokevirtual org.bouncycastle.asn1.x500.style.X500NameTokenizer.hasMoreTokens:()Z
ifne 3
29: aload 3
invokevirtual org.bouncycastle.asn1.x500.X500NameBuilder.build:()Lorg/bouncycastle/asn1/x500/X500Name;
invokevirtual org.bouncycastle.asn1.x500.X500Name.getRDNs:()[Lorg/bouncycastle/asn1/x500/RDN;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 name Ljava/lang/String;
0 30 1 x500Style Lorg/bouncycastle/asn1/x500/X500NameStyle;
1 30 2 nTok Lorg/bouncycastle/asn1/x500/style/X500NameTokenizer;
2 30 3 builder Lorg/bouncycastle/asn1/x500/X500NameBuilder;
4 28 4 token Ljava/lang/String;
5 28 5 index I
8 28 6 attr Ljava/lang/String;
9 28 7 value Ljava/lang/String;
10 28 8 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
12 26 9 vTok Lorg/bouncycastle/asn1/x500/style/X500NameTokenizer;
13 26 10 v Ljava/lang/String;
14 26 11 oids Ljava/util/Vector;
15 26 12 values Ljava/util/Vector;
19 24 13 sv Ljava/lang/String;
20 24 14 ndx I
21 24 15 nm Ljava/lang/String;
22 24 16 vl Ljava/lang/String;
MethodParameters:
Name Flags
name
x500Style
private static java.lang.String[] toValueArray(java.util.Vector);
descriptor: (Ljava/util/Vector;)[Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Vector.size:()I
anewarray java.lang.String
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.lang.String[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast java.lang.String
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmpne 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 values Ljava/util/Vector;
1 7 1 tmp [Ljava/lang/String;
2 6 2 i I
MethodParameters:
Name Flags
values
private static org.bouncycastle.asn1.ASN1ObjectIdentifier[] toOIDArray(java.util.Vector);
descriptor: (Ljava/util/Vector;)[Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.util.Vector.size:()I
anewarray org.bouncycastle.asn1.ASN1ObjectIdentifier
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
invokevirtual java.util.Vector.elementAt:(I)Ljava/lang/Object;
checkcast org.bouncycastle.asn1.ASN1ObjectIdentifier
aastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmpne 3
end local 2 6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 oids Ljava/util/Vector;
1 7 1 tmp [Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
2 6 2 i I
MethodParameters:
Name Flags
oids
public static org.bouncycastle.asn1.ASN1ObjectIdentifier decodeAttrName(java.lang.String, java.util.Hashtable);
descriptor: (Ljava/lang/String;Ljava/util/Hashtable;)Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.bouncycastle.util.Strings.toUpperCase:(Ljava/lang/String;)Ljava/lang/String;
ldc "OID."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 0
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 48
if_icmplt 4
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 57
if_icmpgt 4
3: new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
aload 0
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
areturn
4: StackMap locals:
StackMap stack:
aload 1
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
astore 2
start local 2 5: aload 2
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown object id - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - passed to distinguished name"
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
7: StackMap locals: org.bouncycastle.asn1.ASN1ObjectIdentifier
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 name Ljava/lang/String;
0 8 1 lookUp Ljava/util/Hashtable;
5 8 2 oid Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
name
lookUp
public static org.bouncycastle.asn1.ASN1Encodable valueFromHexString(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Lorg/bouncycastle/asn1/ASN1Encodable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 0
1: aload 0
invokevirtual java.lang.String.length:()I
iload 1
isub
iconst_2
idiv
newarray 8
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 15
4: StackMap locals: byte[] int
StackMap stack:
aload 0
iload 3
iconst_2
imul
iload 1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 5: aload 0
iload 3
iconst_2
imul
iload 1
iadd
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 4
bipush 97
if_icmpge 9
7: aload 2
iload 3
iload 4
bipush 48
isub
iconst_4
ishl
i2b
bastore
8: goto 10
9: StackMap locals: int int
StackMap stack:
aload 2
iload 3
iload 4
bipush 97
isub
bipush 10
iadd
iconst_4
ishl
i2b
bastore
10: StackMap locals:
StackMap stack:
iload 5
bipush 97
if_icmpge 13
11: aload 2
iload 3
dup2
baload
iload 5
bipush 48
isub
i2b
ior
i2b
bastore
12: goto 14
13: StackMap locals:
StackMap stack:
aload 2
iload 3
dup2
baload
iload 5
bipush 97
isub
bipush 10
iadd
i2b
ior
i2b
bastore
end local 5 end local 4 14: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
15: iload 3
aload 2
arraylength
if_icmpne 4
end local 3 16: aload 2
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 str Ljava/lang/String;
0 17 1 off I
2 17 2 data [B
3 16 3 index I
5 14 4 left C
6 14 5 right C
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
str
off
public static void appendTypeAndValue(java.lang.StringBuffer, org.bouncycastle.asn1.x500.AttributeTypeAndValue, java.util.Hashtable);
descriptor: (Ljava/lang/StringBuffer;Lorg/bouncycastle/asn1/x500/AttributeTypeAndValue;Ljava/util/Hashtable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual org.bouncycastle.asn1.x500.AttributeTypeAndValue.getType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 1: aload 3
ifnull 4
2: aload 0
aload 3
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
3: goto 5
4: StackMap locals: java.lang.String
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.asn1.x500.AttributeTypeAndValue.getType:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: StackMap locals:
StackMap stack:
aload 0
bipush 61
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
6: aload 0
aload 1
invokevirtual org.bouncycastle.asn1.x500.AttributeTypeAndValue.getValue:()Lorg/bouncycastle/asn1/ASN1Encodable;
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.valueToString:(Lorg/bouncycastle/asn1/ASN1Encodable;)Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 buf Ljava/lang/StringBuffer;
0 8 1 typeAndValue Lorg/bouncycastle/asn1/x500/AttributeTypeAndValue;
0 8 2 oidSymbols Ljava/util/Hashtable;
1 8 3 sym Ljava/lang/String;
MethodParameters:
Name Flags
buf
typeAndValue
oidSymbols
public static java.lang.String valueToString(org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Lorg/bouncycastle/asn1/ASN1Encodable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
instanceof org.bouncycastle.asn1.ASN1String
ifeq 8
aload 0
instanceof org.bouncycastle.asn1.DERUniversalString
ifne 8
2: aload 0
checkcast org.bouncycastle.asn1.ASN1String
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
astore 2
start local 2 3: aload 2
invokevirtual java.lang.String.length:()I
ifle 6
aload 2
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 6
4: aload 1
new java.lang.StringBuilder
dup
ldc "\\"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
5: goto 9
6: StackMap locals: java.lang.StringBuffer java.lang.String
StackMap stack:
aload 1
aload 2
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
end local 2 7: goto 9
8: StackMap locals:
StackMap stack:
aload 1
new java.lang.StringBuilder
dup
ldc "#"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.bouncycastle.asn1.ASN1Encodable.getDERObject:()Lorg/bouncycastle/asn1/DERObject;
invokevirtual org.bouncycastle.asn1.DERObject.getDEREncoded:()[B
invokestatic org.bouncycastle.util.encoders.Hex.encode:([B)[B
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.bytesToString:([B)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
9: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.length:()I
istore 2
start local 2 10: iconst_0
istore 3
start local 3 11: aload 1
invokevirtual java.lang.StringBuffer.length:()I
iconst_2
if_icmplt 26
aload 1
iconst_0
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 92
if_icmpne 26
aload 1
iconst_1
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 35
if_icmpne 26
12: iinc 3 2
13: goto 26
14: StackMap locals: int int
StackMap stack:
aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 44
if_icmpeq 22
15: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 34
if_icmpeq 22
16: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 92
if_icmpeq 22
17: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 43
if_icmpeq 22
18: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 61
if_icmpeq 22
19: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 60
if_icmpeq 22
20: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 62
if_icmpeq 22
21: aload 1
iload 3
invokevirtual java.lang.StringBuffer.charAt:(I)C
bipush 59
if_icmpne 25
22: StackMap locals:
StackMap stack:
aload 1
iload 3
ldc "\\"
invokevirtual java.lang.StringBuffer.insert:(ILjava/lang/String;)Ljava/lang/StringBuffer;
pop
23: iinc 3 1
24: iinc 2 1
25: StackMap locals:
StackMap stack:
iinc 3 1
26: StackMap locals:
StackMap stack:
iload 3
iload 2
if_icmpne 14
27: aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 value Lorg/bouncycastle/asn1/ASN1Encodable;
1 28 1 vBuf Ljava/lang/StringBuffer;
3 7 2 v Ljava/lang/String;
10 28 2 end I
11 28 3 index I
MethodParameters:
Name Flags
value
private static java.lang.String bytesToString(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
arraylength
newarray 5
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: char[] int
StackMap stack:
aload 1
iload 2
aload 0
iload 2
baload
sipush 255
iand
i2c
castore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 1
arraylength
if_icmpne 3
end local 2 6: new java.lang.String
dup
aload 1
invokespecial java.lang.String.<init>:([C)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 data [B
1 7 1 cs [C
2 6 2 i I
MethodParameters:
Name Flags
data
public static java.lang.String canonicalize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.String.length:()I
ifle 5
aload 1
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 35
if_icmpne 5
2: aload 1
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.decodeObject:(Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1Object;
astore 2
start local 2 3: aload 2
instanceof org.bouncycastle.asn1.ASN1String
ifeq 5
4: aload 2
checkcast org.bouncycastle.asn1.ASN1String
invokeinterface org.bouncycastle.asn1.ASN1String.getString:()Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.bouncycastle.util.Strings.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
astore 1
end local 2 5: StackMap locals: java.lang.String
StackMap stack:
aload 1
invokestatic org.bouncycastle.asn1.x500.style.IETFUtils.stripInternalSpaces:(Ljava/lang/String;)Ljava/lang/String;
astore 1
6: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 s Ljava/lang/String;
1 7 1 value Ljava/lang/String;
3 5 2 obj Lorg/bouncycastle/asn1/DERObject;
MethodParameters:
Name Flags
s
private static org.bouncycastle.asn1.ASN1Object decodeObject(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/asn1/ASN1Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.bouncycastle.util.encoders.Hex.decode:(Ljava/lang/String;)[B
invokestatic org.bouncycastle.asn1.ASN1Object.fromByteArray:([B)Lorg/bouncycastle/asn1/ASN1Object;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "unknown encoding in name: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 oValue Ljava/lang/String;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
MethodParameters:
Name Flags
oValue
public static java.lang.String stripInternalSpaces(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual java.lang.String.length:()I
ifeq 12
2: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
istore 2
start local 2 3: aload 1
iload 2
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
4: iconst_1
istore 3
start local 3 5: goto 11
6: StackMap locals: java.lang.StringBuffer int int
StackMap stack:
aload 0
iload 3
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 7: iload 2
bipush 32
if_icmpne 8
iload 4
bipush 32
if_icmpeq 9
8: StackMap locals: int
StackMap stack:
aload 1
iload 4
invokevirtual java.lang.StringBuffer.append:(C)Ljava/lang/StringBuffer;
pop
9: StackMap locals:
StackMap stack:
iload 4
istore 2
end local 4 10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 6
end local 3 end local 2 12: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 str Ljava/lang/String;
1 13 1 res Ljava/lang/StringBuffer;
3 12 2 c1 C
5 12 3 k I
7 10 4 c2 C
MethodParameters:
Name Flags
str
}
SourceFile: "IETFUtils.java"