class org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator implements org.bouncycastle.operator.DigestCalculator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator
super_class: java.lang.Object
{
private java.io.ByteArrayOutputStream bOut;
descriptor: Ljava/io/ByteArrayOutputStream;
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
0: .line 59
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 62
aload 0 /* this */
new java.io.ByteArrayOutputStream
dup
invokespecial java.io.ByteArrayOutputStream.<init>:()V
putfield org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator.bOut:Ljava/io/ByteArrayOutputStream;
2: .line 59
return
end local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/bc/BcX509ExtensionUtils$SHA1DigestCalculator;
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier();
descriptor: ()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
0: .line 66
new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.idSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)V
areturn
end local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/bc/BcX509ExtensionUtils$SHA1DigestCalculator;
public java.io.OutputStream getOutputStream();
descriptor: ()Ljava/io/OutputStream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
0: .line 71
aload 0 /* this */
getfield org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator.bOut:Ljava/io/ByteArrayOutputStream;
areturn
end local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/bc/BcX509ExtensionUtils$SHA1DigestCalculator;
public byte[] getDigest();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
0: .line 76
aload 0 /* this */
getfield org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator.bOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
astore 1 /* bytes */
start local 1 // byte[] bytes
1: .line 78
aload 0 /* this */
getfield org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator.bOut:Ljava/io/ByteArrayOutputStream;
invokevirtual java.io.ByteArrayOutputStream.reset:()V
2: .line 80
new org.bouncycastle.crypto.digests.SHA1Digest
dup
invokespecial org.bouncycastle.crypto.digests.SHA1Digest.<init>:()V
astore 2 /* sha1 */
start local 2 // org.bouncycastle.crypto.Digest sha1
3: .line 82
aload 2 /* sha1 */
aload 1 /* bytes */
iconst_0
aload 1 /* bytes */
arraylength
invokeinterface org.bouncycastle.crypto.Digest.update:([BII)V
4: .line 84
aload 2 /* sha1 */
invokeinterface org.bouncycastle.crypto.Digest.getDigestSize:()I
newarray 8
astore 3 /* digest */
start local 3 // byte[] digest
5: .line 86
aload 2 /* sha1 */
aload 3 /* digest */
iconst_0
invokeinterface org.bouncycastle.crypto.Digest.doFinal:([BI)I
pop
6: .line 88
aload 3 /* digest */
areturn
end local 3 // byte[] digest
end local 2 // org.bouncycastle.crypto.Digest sha1
end local 1 // byte[] bytes
end local 0 // org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/bouncycastle/cert/bc/BcX509ExtensionUtils$SHA1DigestCalculator;
1 7 1 bytes [B
3 7 2 sha1 Lorg/bouncycastle/crypto/Digest;
5 7 3 digest [B
}
SourceFile: "BcX509ExtensionUtils.java"
NestHost: org.bouncycastle.cert.bc.BcX509ExtensionUtils
InnerClasses:
private SHA1DigestCalculator = org.bouncycastle.cert.bc.BcX509ExtensionUtils$SHA1DigestCalculator of org.bouncycastle.cert.bc.BcX509ExtensionUtils