public class org.bouncycastle.crypto.util.AlgorithmIdentifierFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.crypto.util.AlgorithmIdentifierFactory
super_class: java.lang.Object
{
static final org.bouncycastle.asn1.ASN1ObjectIdentifier IDEA_CBC;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0018) ACC_STATIC, ACC_FINAL
static final org.bouncycastle.asn1.ASN1ObjectIdentifier CAST5_CBC;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static final short[] rc2Table;
descriptor: [S
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
ldc "1.3.6.1.4.1.188.7.1.1.2"
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.intern:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.IDEA_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
1: new org.bouncycastle.asn1.ASN1ObjectIdentifier
dup
ldc "1.2.840.113533.7.66.10"
invokespecial org.bouncycastle.asn1.ASN1ObjectIdentifier.<init>:(Ljava/lang/String;)V
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.intern:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
putstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.CAST5_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
2: sipush 256
newarray 9
dup
iconst_0
3: sipush 189
sastore
dup
iconst_1
bipush 86
sastore
dup
iconst_2
sipush 234
sastore
dup
iconst_3
sipush 242
sastore
dup
iconst_4
sipush 162
sastore
dup
iconst_5
sipush 241
sastore
dup
bipush 6
sipush 172
sastore
dup
bipush 7
bipush 42
sastore
dup
bipush 8
sipush 176
sastore
dup
bipush 9
sipush 147
sastore
dup
bipush 10
sipush 209
sastore
dup
bipush 11
sipush 156
sastore
dup
bipush 12
bipush 27
sastore
dup
bipush 13
bipush 51
sastore
dup
bipush 14
sipush 253
sastore
dup
bipush 15
sipush 208
sastore
dup
bipush 16
4: bipush 48
sastore
dup
bipush 17
iconst_4
sastore
dup
bipush 18
sipush 182
sastore
dup
bipush 19
sipush 220
sastore
dup
bipush 20
bipush 125
sastore
dup
bipush 21
sipush 223
sastore
dup
bipush 22
bipush 50
sastore
dup
bipush 23
bipush 75
sastore
dup
bipush 24
sipush 247
sastore
dup
bipush 25
sipush 203
sastore
dup
bipush 26
bipush 69
sastore
dup
bipush 27
sipush 155
sastore
dup
bipush 28
bipush 49
sastore
dup
bipush 29
sipush 187
sastore
dup
bipush 30
bipush 33
sastore
dup
bipush 31
bipush 90
sastore
dup
bipush 32
5: bipush 65
sastore
dup
bipush 33
sipush 159
sastore
dup
bipush 34
sipush 225
sastore
dup
bipush 35
sipush 217
sastore
dup
bipush 36
bipush 74
sastore
dup
bipush 37
bipush 77
sastore
dup
bipush 38
sipush 158
sastore
dup
bipush 39
sipush 218
sastore
dup
bipush 40
sipush 160
sastore
dup
bipush 41
bipush 104
sastore
dup
bipush 42
bipush 44
sastore
dup
bipush 43
sipush 195
sastore
dup
bipush 44
bipush 39
sastore
dup
bipush 45
bipush 95
sastore
dup
bipush 46
sipush 128
sastore
dup
bipush 47
bipush 54
sastore
dup
bipush 48
6: bipush 62
sastore
dup
bipush 49
sipush 238
sastore
dup
bipush 50
sipush 251
sastore
dup
bipush 51
sipush 149
sastore
dup
bipush 52
bipush 26
sastore
dup
bipush 53
sipush 254
sastore
dup
bipush 54
sipush 206
sastore
dup
bipush 55
sipush 168
sastore
dup
bipush 56
bipush 52
sastore
dup
bipush 57
sipush 169
sastore
dup
bipush 58
bipush 19
sastore
dup
bipush 59
sipush 240
sastore
dup
bipush 60
sipush 166
sastore
dup
bipush 61
bipush 63
sastore
dup
bipush 62
sipush 216
sastore
dup
bipush 63
bipush 12
sastore
dup
bipush 64
7: bipush 120
sastore
dup
bipush 65
bipush 36
sastore
dup
bipush 66
sipush 175
sastore
dup
bipush 67
bipush 35
sastore
dup
bipush 68
bipush 82
sastore
dup
bipush 69
sipush 193
sastore
dup
bipush 70
bipush 103
sastore
dup
bipush 71
bipush 23
sastore
dup
bipush 72
sipush 245
sastore
dup
bipush 73
bipush 102
sastore
dup
bipush 74
sipush 144
sastore
dup
bipush 75
sipush 231
sastore
dup
bipush 76
sipush 232
sastore
dup
bipush 77
bipush 7
sastore
dup
bipush 78
sipush 184
sastore
dup
bipush 79
bipush 96
sastore
dup
bipush 80
8: bipush 72
sastore
dup
bipush 81
sipush 230
sastore
dup
bipush 82
bipush 30
sastore
dup
bipush 83
bipush 83
sastore
dup
bipush 84
sipush 243
sastore
dup
bipush 85
sipush 146
sastore
dup
bipush 86
sipush 164
sastore
dup
bipush 87
bipush 114
sastore
dup
bipush 88
sipush 140
sastore
dup
bipush 89
bipush 8
sastore
dup
bipush 90
bipush 21
sastore
dup
bipush 91
bipush 110
sastore
dup
bipush 92
sipush 134
sastore
dup
bipush 94
sipush 132
sastore
dup
bipush 95
sipush 250
sastore
dup
bipush 96
9: sipush 244
sastore
dup
bipush 97
bipush 127
sastore
dup
bipush 98
sipush 138
sastore
dup
bipush 99
bipush 66
sastore
dup
bipush 100
bipush 25
sastore
dup
bipush 101
sipush 246
sastore
dup
bipush 102
sipush 219
sastore
dup
bipush 103
sipush 205
sastore
dup
bipush 104
bipush 20
sastore
dup
bipush 105
sipush 141
sastore
dup
bipush 106
bipush 80
sastore
dup
bipush 107
bipush 18
sastore
dup
bipush 108
sipush 186
sastore
dup
bipush 109
bipush 60
sastore
dup
bipush 110
bipush 6
sastore
dup
bipush 111
bipush 78
sastore
dup
bipush 112
10: sipush 236
sastore
dup
bipush 113
sipush 179
sastore
dup
bipush 114
bipush 53
sastore
dup
bipush 115
bipush 17
sastore
dup
bipush 116
sipush 161
sastore
dup
bipush 117
sipush 136
sastore
dup
bipush 118
sipush 142
sastore
dup
bipush 119
bipush 43
sastore
dup
bipush 120
sipush 148
sastore
dup
bipush 121
sipush 153
sastore
dup
bipush 122
sipush 183
sastore
dup
bipush 123
bipush 113
sastore
dup
bipush 124
bipush 116
sastore
dup
bipush 125
sipush 211
sastore
dup
bipush 126
sipush 228
sastore
dup
bipush 127
sipush 191
sastore
dup
sipush 128
11: bipush 58
sastore
dup
sipush 129
sipush 222
sastore
dup
sipush 130
sipush 150
sastore
dup
sipush 131
bipush 14
sastore
dup
sipush 132
sipush 188
sastore
dup
sipush 133
bipush 10
sastore
dup
sipush 134
sipush 237
sastore
dup
sipush 135
bipush 119
sastore
dup
sipush 136
sipush 252
sastore
dup
sipush 137
bipush 55
sastore
dup
sipush 138
bipush 107
sastore
dup
sipush 139
iconst_3
sastore
dup
sipush 140
bipush 121
sastore
dup
sipush 141
sipush 137
sastore
dup
sipush 142
bipush 98
sastore
dup
sipush 143
sipush 198
sastore
dup
sipush 144
12: sipush 215
sastore
dup
sipush 145
sipush 192
sastore
dup
sipush 146
sipush 210
sastore
dup
sipush 147
bipush 124
sastore
dup
sipush 148
bipush 106
sastore
dup
sipush 149
sipush 139
sastore
dup
sipush 150
bipush 34
sastore
dup
sipush 151
sipush 163
sastore
dup
sipush 152
bipush 91
sastore
dup
sipush 153
iconst_5
sastore
dup
sipush 154
bipush 93
sastore
dup
sipush 155
iconst_2
sastore
dup
sipush 156
bipush 117
sastore
dup
sipush 157
sipush 213
sastore
dup
sipush 158
bipush 97
sastore
dup
sipush 159
sipush 227
sastore
dup
sipush 160
13: bipush 24
sastore
dup
sipush 161
sipush 143
sastore
dup
sipush 162
bipush 85
sastore
dup
sipush 163
bipush 81
sastore
dup
sipush 164
sipush 173
sastore
dup
sipush 165
bipush 31
sastore
dup
sipush 166
bipush 11
sastore
dup
sipush 167
bipush 94
sastore
dup
sipush 168
sipush 133
sastore
dup
sipush 169
sipush 229
sastore
dup
sipush 170
sipush 194
sastore
dup
sipush 171
bipush 87
sastore
dup
sipush 172
bipush 99
sastore
dup
sipush 173
sipush 202
sastore
dup
sipush 174
bipush 61
sastore
dup
sipush 175
bipush 108
sastore
dup
sipush 176
14: sipush 180
sastore
dup
sipush 177
sipush 197
sastore
dup
sipush 178
sipush 204
sastore
dup
sipush 179
bipush 112
sastore
dup
sipush 180
sipush 178
sastore
dup
sipush 181
sipush 145
sastore
dup
sipush 182
bipush 89
sastore
dup
sipush 183
bipush 13
sastore
dup
sipush 184
bipush 71
sastore
dup
sipush 185
bipush 32
sastore
dup
sipush 186
sipush 200
sastore
dup
sipush 187
bipush 79
sastore
dup
sipush 188
bipush 88
sastore
dup
sipush 189
sipush 224
sastore
dup
sipush 190
iconst_1
sastore
dup
sipush 191
sipush 226
sastore
dup
sipush 192
15: bipush 22
sastore
dup
sipush 193
bipush 56
sastore
dup
sipush 194
sipush 196
sastore
dup
sipush 195
bipush 111
sastore
dup
sipush 196
bipush 59
sastore
dup
sipush 197
bipush 15
sastore
dup
sipush 198
bipush 101
sastore
dup
sipush 199
bipush 70
sastore
dup
sipush 200
sipush 190
sastore
dup
sipush 201
bipush 126
sastore
dup
sipush 202
bipush 45
sastore
dup
sipush 203
bipush 123
sastore
dup
sipush 204
sipush 130
sastore
dup
sipush 205
sipush 249
sastore
dup
sipush 206
bipush 64
sastore
dup
sipush 207
sipush 181
sastore
dup
sipush 208
16: bipush 29
sastore
dup
sipush 209
bipush 115
sastore
dup
sipush 210
sipush 248
sastore
dup
sipush 211
sipush 235
sastore
dup
sipush 212
bipush 38
sastore
dup
sipush 213
sipush 199
sastore
dup
sipush 214
sipush 135
sastore
dup
sipush 215
sipush 151
sastore
dup
sipush 216
bipush 37
sastore
dup
sipush 217
bipush 84
sastore
dup
sipush 218
sipush 177
sastore
dup
sipush 219
bipush 40
sastore
dup
sipush 220
sipush 170
sastore
dup
sipush 221
sipush 152
sastore
dup
sipush 222
sipush 157
sastore
dup
sipush 223
sipush 165
sastore
dup
sipush 224
17: bipush 100
sastore
dup
sipush 225
bipush 109
sastore
dup
sipush 226
bipush 122
sastore
dup
sipush 227
sipush 212
sastore
dup
sipush 228
bipush 16
sastore
dup
sipush 229
sipush 129
sastore
dup
sipush 230
bipush 68
sastore
dup
sipush 231
sipush 239
sastore
dup
sipush 232
bipush 73
sastore
dup
sipush 233
sipush 214
sastore
dup
sipush 234
sipush 174
sastore
dup
sipush 235
bipush 46
sastore
dup
sipush 236
sipush 221
sastore
dup
sipush 237
bipush 118
sastore
dup
sipush 238
bipush 92
sastore
dup
sipush 239
bipush 47
sastore
dup
sipush 240
18: sipush 167
sastore
dup
sipush 241
bipush 28
sastore
dup
sipush 242
sipush 201
sastore
dup
sipush 243
bipush 9
sastore
dup
sipush 244
bipush 105
sastore
dup
sipush 245
sipush 154
sastore
dup
sipush 246
sipush 131
sastore
dup
sipush 247
sipush 207
sastore
dup
sipush 248
bipush 41
sastore
dup
sipush 249
bipush 57
sastore
dup
sipush 250
sipush 185
sastore
dup
sipush 251
sipush 233
sastore
dup
sipush 252
bipush 76
sastore
dup
sipush 253
sipush 255
sastore
dup
sipush 254
bipush 67
sastore
dup
sipush 255
sipush 171
sastore
19: putstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.rc2Table:[S
20: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/crypto/util/AlgorithmIdentifierFactory;
public static org.bouncycastle.asn1.x509.AlgorithmIdentifier generateEncryptionAlgID(org.bouncycastle.asn1.ASN1ObjectIdentifier, int, java.security.SecureRandom);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ILjava/security/SecureRandom;)Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_aes128_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
1: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_aes192_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
2: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_aes256_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
3: aload 0
getstatic org.bouncycastle.asn1.ntt.NTTObjectIdentifiers.id_camellia128_cbc:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
4: aload 0
getstatic org.bouncycastle.asn1.ntt.NTTObjectIdentifiers.id_camellia192_cbc:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
5: aload 0
getstatic org.bouncycastle.asn1.ntt.NTTObjectIdentifiers.id_camellia256_cbc:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 7
6: aload 0
getstatic org.bouncycastle.asn1.kisa.KISAObjectIdentifiers.id_seedCBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 10
7: StackMap locals:
StackMap stack:
bipush 16
newarray 8
astore 3
start local 3 8: aload 2
aload 3
invokevirtual java.security.SecureRandom.nextBytes:([B)V
9: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
end local 3 10: StackMap locals:
StackMap stack:
aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.des_EDE3_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 13
11: aload 0
getstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.IDEA_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 13
12: aload 0
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.desCBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 16
13: StackMap locals:
StackMap stack:
bipush 8
newarray 8
astore 3
start local 3 14: aload 2
aload 3
invokevirtual java.security.SecureRandom.nextBytes:([B)V
15: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
new org.bouncycastle.asn1.DEROctetString
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
end local 3 16: StackMap locals:
StackMap stack:
aload 0
getstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.CAST5_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 21
17: bipush 8
newarray 8
astore 3
start local 3 18: aload 2
aload 3
invokevirtual java.security.SecureRandom.nextBytes:([B)V
19: new org.bouncycastle.asn1.misc.CAST5CBCParameters
dup
aload 3
iload 1
invokespecial org.bouncycastle.asn1.misc.CAST5CBCParameters.<init>:([BI)V
astore 4
start local 4 20: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
aload 4
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
end local 4 end local 3 21: StackMap locals:
StackMap stack:
aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rc4:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 23
22: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
23: StackMap locals:
StackMap stack:
aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.RC2_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 28
24: bipush 8
newarray 8
astore 3
start local 3 25: aload 2
aload 3
invokevirtual java.security.SecureRandom.nextBytes:([B)V
26: new org.bouncycastle.asn1.pkcs.RC2CBCParameter
dup
getstatic org.bouncycastle.crypto.util.AlgorithmIdentifierFactory.rc2Table:[S
sipush 128
saload
aload 3
invokespecial org.bouncycastle.asn1.pkcs.RC2CBCParameter.<init>:(I[B)V
astore 4
start local 4 27: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
aload 0
aload 4
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
areturn
end local 4 end local 3 28: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "unable to match algorithm"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 encryptionOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 29 1 keySize I
0 29 2 random Ljava/security/SecureRandom;
8 10 3 iv [B
14 16 3 iv [B
18 21 3 iv [B
20 21 4 cbcParams Lorg/bouncycastle/asn1/misc/CAST5CBCParameters;
25 28 3 iv [B
27 28 4 cbcParams Lorg/bouncycastle/asn1/pkcs/RC2CBCParameter;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
encryptionOID
keySize
random
}
SourceFile: "AlgorithmIdentifierFactory.java"