public class org.bouncycastle.operator.bc.BcDefaultDigestProvider implements org.bouncycastle.operator.bc.BcDigestProvider
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.operator.bc.BcDefaultDigestProvider
super_class: java.lang.Object
{
private static final java.util.Map lookup;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static final org.bouncycastle.operator.bc.BcDigestProvider INSTANCE;
descriptor: Lorg/bouncycastle/operator/bc/BcDigestProvider;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.bouncycastle.operator.bc.BcDefaultDigestProvider.createTable:()Ljava/util/Map;
putstatic org.bouncycastle.operator.bc.BcDefaultDigestProvider.lookup:Ljava/util/Map;
1: new org.bouncycastle.operator.bc.BcDefaultDigestProvider
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider.<init>:()V
putstatic org.bouncycastle.operator.bc.BcDefaultDigestProvider.INSTANCE:Lorg/bouncycastle/operator/bc/BcDigestProvider;
return
LocalVariableTable:
Start End Slot Name Signature
private static java.util.Map createTable();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 0
start local 0 1: aload 0
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.idSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$1
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$1.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$2
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$2.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$3
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$3.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$4
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$4.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$5
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$5.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_224:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$6
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$6.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$7
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$7.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_384:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$8
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$8.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getstatic org.bouncycastle.asn1.nist.NISTObjectIdentifiers.id_sha3_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$9
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$9.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md5:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$10
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$10.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
11: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md4:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$11
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$11.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
12: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.md2:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$12
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$12.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 0
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3411:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$13
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$13.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 0
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_gost_3411_12_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$14
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$14.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 0
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_gost_3411_12_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$15
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$15.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 0
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd128:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$16
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$16.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 0
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd160:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$17
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$17.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 0
getstatic org.bouncycastle.asn1.teletrust.TeleTrusTObjectIdentifiers.ripemd256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
new org.bouncycastle.operator.bc.BcDefaultDigestProvider$18
dup
invokespecial org.bouncycastle.operator.bc.BcDefaultDigestProvider$18.<init>:()V
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 20 0 table Ljava/util/Map;
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/operator/bc/BcDefaultDigestProvider;
public org.bouncycastle.crypto.ExtendedDigest get(org.bouncycastle.asn1.x509.AlgorithmIdentifier);
descriptor: (Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/crypto/ExtendedDigest;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.bouncycastle.operator.bc.BcDefaultDigestProvider.lookup:Ljava/util/Map;
aload 1
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.bouncycastle.operator.bc.BcDigestProvider
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new org.bouncycastle.operator.OperatorCreationException
dup
ldc "cannot recognise digest"
invokespecial org.bouncycastle.operator.OperatorCreationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.operator.bc.BcDigestProvider
StackMap stack:
aload 2
aload 1
invokeinterface org.bouncycastle.operator.bc.BcDigestProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/crypto/ExtendedDigest;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/operator/bc/BcDefaultDigestProvider;
0 4 1 digestAlgorithmIdentifier Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
1 4 2 extProv Lorg/bouncycastle/operator/bc/BcDigestProvider;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException
MethodParameters:
Name Flags
digestAlgorithmIdentifier
}
SourceFile: "BcDefaultDigestProvider.java"
NestMembers:
org.bouncycastle.operator.bc.BcDefaultDigestProvider$1 org.bouncycastle.operator.bc.BcDefaultDigestProvider$10 org.bouncycastle.operator.bc.BcDefaultDigestProvider$11 org.bouncycastle.operator.bc.BcDefaultDigestProvider$12 org.bouncycastle.operator.bc.BcDefaultDigestProvider$13 org.bouncycastle.operator.bc.BcDefaultDigestProvider$14 org.bouncycastle.operator.bc.BcDefaultDigestProvider$15 org.bouncycastle.operator.bc.BcDefaultDigestProvider$16 org.bouncycastle.operator.bc.BcDefaultDigestProvider$17 org.bouncycastle.operator.bc.BcDefaultDigestProvider$18 org.bouncycastle.operator.bc.BcDefaultDigestProvider$2 org.bouncycastle.operator.bc.BcDefaultDigestProvider$3 org.bouncycastle.operator.bc.BcDefaultDigestProvider$4 org.bouncycastle.operator.bc.BcDefaultDigestProvider$5 org.bouncycastle.operator.bc.BcDefaultDigestProvider$6 org.bouncycastle.operator.bc.BcDefaultDigestProvider$7 org.bouncycastle.operator.bc.BcDefaultDigestProvider$8 org.bouncycastle.operator.bc.BcDefaultDigestProvider$9
InnerClasses:
org.bouncycastle.operator.bc.BcDefaultDigestProvider$1
org.bouncycastle.operator.bc.BcDefaultDigestProvider$10
org.bouncycastle.operator.bc.BcDefaultDigestProvider$11
org.bouncycastle.operator.bc.BcDefaultDigestProvider$12
org.bouncycastle.operator.bc.BcDefaultDigestProvider$13
org.bouncycastle.operator.bc.BcDefaultDigestProvider$14
org.bouncycastle.operator.bc.BcDefaultDigestProvider$15
org.bouncycastle.operator.bc.BcDefaultDigestProvider$16
org.bouncycastle.operator.bc.BcDefaultDigestProvider$17
org.bouncycastle.operator.bc.BcDefaultDigestProvider$18
org.bouncycastle.operator.bc.BcDefaultDigestProvider$2
org.bouncycastle.operator.bc.BcDefaultDigestProvider$3
org.bouncycastle.operator.bc.BcDefaultDigestProvider$4
org.bouncycastle.operator.bc.BcDefaultDigestProvider$5
org.bouncycastle.operator.bc.BcDefaultDigestProvider$6
org.bouncycastle.operator.bc.BcDefaultDigestProvider$7
org.bouncycastle.operator.bc.BcDefaultDigestProvider$8
org.bouncycastle.operator.bc.BcDefaultDigestProvider$9