public class org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder
super_class: java.lang.Object
{
private org.bouncycastle.crypto.ExtendedDigest digest;
descriptor: Lorg/bouncycastle/crypto/ExtendedDigest;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.crypto.BufferedBlockCipher engine;
descriptor: Lorg/bouncycastle/crypto/BufferedBlockCipher;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.ASN1ObjectIdentifier algorithm;
descriptor: Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private int iterationCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.crypto.BlockCipher);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/crypto/BlockCipher;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
new org.bouncycastle.crypto.digests.SHA1Digest
dup
invokespecial org.bouncycastle.crypto.digests.SHA1Digest.<init>:()V
invokespecial org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/crypto/BlockCipher;Lorg/bouncycastle/crypto/ExtendedDigest;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;
0 2 1 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 2 2 engine Lorg/bouncycastle/crypto/BlockCipher;
MethodParameters:
Name Flags
algorithm
engine
public void <init>(org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.crypto.BlockCipher, org.bouncycastle.crypto.ExtendedDigest);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/crypto/BlockCipher;Lorg/bouncycastle/crypto/ExtendedDigest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 1024
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.iterationCount:I
2: aload 0
aload 1
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.algorithm:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
3: aload 0
new org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher
dup
aload 2
new org.bouncycastle.crypto.paddings.PKCS7Padding
dup
invokespecial org.bouncycastle.crypto.paddings.PKCS7Padding.<init>:()V
invokespecial org.bouncycastle.crypto.paddings.PaddedBufferedBlockCipher.<init>:(Lorg/bouncycastle/crypto/BlockCipher;Lorg/bouncycastle/crypto/paddings/BlockCipherPadding;)V
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.engine:Lorg/bouncycastle/crypto/BufferedBlockCipher;
4: aload 0
aload 3
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.digest:Lorg/bouncycastle/crypto/ExtendedDigest;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;
0 6 1 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
0 6 2 engine Lorg/bouncycastle/crypto/BlockCipher;
0 6 3 pbeDigest Lorg/bouncycastle/crypto/ExtendedDigest;
MethodParameters:
Name Flags
algorithm
engine
pbeDigest
public org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder setIterationCount(int);
descriptor: (I)Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.iterationCount:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;
0 2 1 iterationCount I
MethodParameters:
Name Flags
iterationCount
public org.bouncycastle.operator.OutputEncryptor build(char[]);
descriptor: ([C)Lorg/bouncycastle/operator/OutputEncryptor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.random:Ljava/security/SecureRandom;
ifnonnull 2
1: aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
putfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.random:Ljava/security/SecureRandom;
2: StackMap locals:
StackMap stack:
bipush 20
newarray 8
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.random:Ljava/security/SecureRandom;
aload 2
invokevirtual java.security.SecureRandom.nextBytes:([B)V
4: new org.bouncycastle.asn1.pkcs.PKCS12PBEParams
dup
aload 2
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.iterationCount:I
invokespecial org.bouncycastle.asn1.pkcs.PKCS12PBEParams.<init>:([BI)V
astore 3
start local 3 5: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.algorithm:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.digest:Lorg/bouncycastle/crypto/ExtendedDigest;
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.engine:Lorg/bouncycastle/crypto/BufferedBlockCipher;
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.getBlockSize:()I
aload 3
aload 1
invokestatic org.bouncycastle.pkcs.bc.PKCS12PBEUtils.createCipherParameters:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/crypto/ExtendedDigest;ILorg/bouncycastle/asn1/pkcs/PKCS12PBEParams;[C)Lorg/bouncycastle/crypto/CipherParameters;
astore 4
start local 4 6: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder.engine:Lorg/bouncycastle/crypto/BufferedBlockCipher;
iconst_1
aload 4
invokevirtual org.bouncycastle.crypto.BufferedBlockCipher.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
7: new org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder$1
dup
aload 0
aload 3
aload 1
invokespecial org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder$1.<init>:(Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;Lorg/bouncycastle/asn1/pkcs/PKCS12PBEParams;[C)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12PBEOutputEncryptorBuilder;
0 8 1 password [C
3 8 2 salt [B
5 8 3 pbeParams Lorg/bouncycastle/asn1/pkcs/PKCS12PBEParams;
6 8 4 params Lorg/bouncycastle/crypto/CipherParameters;
MethodParameters:
Name Flags
password final
}
SourceFile: "BcPKCS12PBEOutputEncryptorBuilder.java"
NestMembers:
org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder$1
InnerClasses:
org.bouncycastle.pkcs.bc.BcPKCS12PBEOutputEncryptorBuilder$1