public class org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder
super_class: java.lang.Object
{
private static final org.bouncycastle.operator.SecretKeySizeProvider KEY_SIZE_PROVIDER;
descriptor: Lorg/bouncycastle/operator/SecretKeySizeProvider;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int keySize;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.bouncycastle.cms.jcajce.EnvelopedDataHelper helper;
descriptor: Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private java.security.AlgorithmParameters algorithmParameters;
descriptor: Ljava/security/AlgorithmParameters;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic org.bouncycastle.operator.DefaultSecretKeySizeProvider.INSTANCE:Lorg/bouncycastle/operator/SecretKeySizeProvider;
putstatic org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.KEY_SIZE_PROVIDER:Lorg/bouncycastle/operator/SecretKeySizeProvider;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.KEY_SIZE_PROVIDER:Lorg/bouncycastle/operator/SecretKeySizeProvider;
aload 1
invokeinterface org.bouncycastle.operator.SecretKeySizeProvider.getKeySize:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)I
invokespecial org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 2 1 encryptionOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
encryptionOID
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, int);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.DefaultJcaJceExtHelper
dup
invokespecial org.bouncycastle.cms.jcajce.DefaultJcaJceExtHelper.<init>:()V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
2: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.encryptionOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: getstatic org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.KEY_SIZE_PROVIDER:Lorg/bouncycastle/operator/SecretKeySizeProvider;
aload 1
invokeinterface org.bouncycastle.operator.SecretKeySizeProvider.getKeySize:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)I
istore 3
start local 3 4: aload 1
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.des_EDE3_CBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 9
5: iload 2
sipush 168
if_icmpeq 7
iload 2
iload 3
if_icmpeq 7
6: new java.lang.IllegalArgumentException
dup
ldc "incorrect keySize for encryptionOID passed to builder."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder org.bouncycastle.asn1.ASN1ObjectIdentifier int int
StackMap stack:
aload 0
sipush 168
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.keySize:I
8: goto 17
9: StackMap locals:
StackMap stack:
aload 1
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.desCBC:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifeq 14
10: iload 2
bipush 56
if_icmpeq 12
iload 2
iload 3
if_icmpeq 12
11: new java.lang.IllegalArgumentException
dup
ldc "incorrect keySize for encryptionOID passed to builder."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
aload 0
bipush 56
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.keySize:I
13: goto 17
14: StackMap locals:
StackMap stack:
iload 3
ifle 16
iload 3
iload 2
if_icmpeq 16
15: new java.lang.IllegalArgumentException
dup
ldc "incorrect keySize for encryptionOID passed to builder."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
16: StackMap locals:
StackMap stack:
aload 0
iload 2
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.keySize:I
17: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 18 1 encryptionOID Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 18 2 keySize I
4 18 3 fixedSize I
MethodParameters:
Name Flags
encryptionOID
keySize
public org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder setProvider(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper
dup
aload 1
invokespecial org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 2 1 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
public org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder setProvider(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper
dup
aload 1
invokespecial org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.helper:Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 2 1 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
public org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder setSecureRandom(java.security.SecureRandom);
descriptor: (Ljava/security/SecureRandom;)Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.random:Ljava/security/SecureRandom;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 2 1 random Ljava/security/SecureRandom;
MethodParameters:
Name Flags
random
public org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder setAlgorithmParameters(java.security.AlgorithmParameters);
descriptor: (Ljava/security/AlgorithmParameters;)Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.algorithmParameters:Ljava/security/AlgorithmParameters;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
0 2 1 algorithmParameters Ljava/security/AlgorithmParameters;
MethodParameters:
Name Flags
algorithmParameters
public org.bouncycastle.operator.OutputEncryptor build();
descriptor: ()Lorg/bouncycastle/operator/OutputEncryptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder$CMSOutputEncryptor
dup
aload 0
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.encryptionOID:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.keySize:I
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.algorithmParameters:Ljava/security/AlgorithmParameters;
aload 0
getfield org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder.random:Ljava/security/SecureRandom;
invokespecial org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder$CMSOutputEncryptor.<init>:(Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;ILjava/security/AlgorithmParameters;Ljava/security/SecureRandom;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/JceCMSContentEncryptorBuilder;
Exceptions:
throws org.bouncycastle.cms.CMSException
}
SourceFile: "JceCMSContentEncryptorBuilder.java"
NestMembers:
org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder$CMSOutputEncryptor
InnerClasses:
private CMSOutputEncryptor = org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder$CMSOutputEncryptor of org.bouncycastle.cms.jcajce.JceCMSContentEncryptorBuilder