public class org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder implements org.bouncycastle.pkcs.PKCS12MacCalculatorBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder
super_class: java.lang.Object
{
private org.bouncycastle.crypto.ExtendedDigest digest;
descriptor: Lorg/bouncycastle/crypto/ExtendedDigest;
flags: (0x0002) ACC_PRIVATE
private org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmIdentifier;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0002) ACC_PRIVATE
private java.security.SecureRandom random;
descriptor: Ljava/security/SecureRandom;
flags: (0x0002) ACC_PRIVATE
private int saltLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int iterationCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
new org.bouncycastle.crypto.digests.SHA1Digest
dup
invokespecial org.bouncycastle.crypto.digests.SHA1Digest.<init>:()V
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.idSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
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
invokespecial org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.<init>:(Lorg/bouncycastle/crypto/ExtendedDigest;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12MacCalculatorBuilder;
public void <init>(org.bouncycastle.crypto.ExtendedDigest, org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/crypto/ExtendedDigest;Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
sipush 1024
putfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.iterationCount:I
2: aload 0
aload 1
putfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.digest:Lorg/bouncycastle/crypto/ExtendedDigest;
3: aload 0
aload 2
putfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
4: aload 0
aload 1
invokeinterface org.bouncycastle.crypto.ExtendedDigest.getDigestSize:()I
putfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.saltLength:I
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12MacCalculatorBuilder;
0 6 1 digest Lorg/bouncycastle/crypto/ExtendedDigest;
0 6 2 algorithmIdentifier Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
MethodParameters:
Name Flags
digest
algorithmIdentifier
public org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder setIterationCount(int);
descriptor: (I)Lorg/bouncycastle/pkcs/bc/BcPKCS12MacCalculatorBuilder;
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.BcPKCS12MacCalculatorBuilder.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/BcPKCS12MacCalculatorBuilder;
0 2 1 iterationCount I
MethodParameters:
Name Flags
iterationCount
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getDigestAlgorithmIdentifier();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12MacCalculatorBuilder;
public org.bouncycastle.operator.MacCalculator build(char[]);
descriptor: ([C)Lorg/bouncycastle/operator/MacCalculator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.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.BcPKCS12MacCalculatorBuilder.random:Ljava/security/SecureRandom;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.saltLength:I
newarray 8
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.random:Ljava/security/SecureRandom;
aload 2
invokevirtual java.security.SecureRandom.nextBytes:([B)V
4: aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.algorithmIdentifier:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.digest:Lorg/bouncycastle/crypto/ExtendedDigest;
new org.bouncycastle.asn1.pkcs.PKCS12PBEParams
dup
aload 2
aload 0
getfield org.bouncycastle.pkcs.bc.BcPKCS12MacCalculatorBuilder.iterationCount:I
invokespecial org.bouncycastle.asn1.pkcs.PKCS12PBEParams.<init>:([BI)V
aload 1
invokestatic org.bouncycastle.pkcs.bc.PKCS12PBEUtils.createMacCalculator:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/crypto/ExtendedDigest;Lorg/bouncycastle/asn1/pkcs/PKCS12PBEParams;[C)Lorg/bouncycastle/operator/MacCalculator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/pkcs/bc/BcPKCS12MacCalculatorBuilder;
0 5 1 password [C
3 5 2 salt [B
MethodParameters:
Name Flags
password final
}
SourceFile: "BcPKCS12MacCalculatorBuilder.java"