class org.bouncycastle.cms.jcajce.CMSUtils
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cms.jcajce.CMSUtils
super_class: java.lang.Object
{
private static final java.util.Set mqvAlgs;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set ecAlgs;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Set gostAlgs;
descriptor: Ljava/util/Set;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
1: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
2: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
putstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
3: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.mqvSinglePass_sha1kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.mqvSinglePass_sha224kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.mqvSinglePass_sha256kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.mqvSinglePass_sha384kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
7: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.mqvSinglePass_sha512kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
8: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.dhSinglePass_cofactorDH_sha1kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.x9.X9ObjectIdentifiers.dhSinglePass_stdDH_sha1kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
10: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_cofactorDH_sha224kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
11: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_stdDH_sha224kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
12: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_cofactorDH_sha256kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
13: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_stdDH_sha256kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_cofactorDH_sha384kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
15: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_stdDH_sha384kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
16: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_cofactorDH_sha512kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
17: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.sec.SECObjectIdentifiers.dhSinglePass_stdDH_sha512kdf_scheme:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
18: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_2001_CryptoPro_ESDH:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.cryptopro.CryptoProObjectIdentifiers.gostR3410_2001:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
20: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_agreement_gost_3410_12_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
21: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_agreement_gost_3410_12_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
22: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_gost_3410_12_256:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
23: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
getstatic org.bouncycastle.asn1.rosstandart.RosstandartObjectIdentifiers.id_tc26_gost_3410_12_512:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
24: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cms/jcajce/CMSUtils;
static boolean isMQV(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.bouncycastle.cms.jcajce.CMSUtils.mqvAlgs:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
algorithm
static boolean isEC(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.bouncycastle.cms.jcajce.CMSUtils.ecAlgs:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
algorithm
static boolean isGOST(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.bouncycastle.cms.jcajce.CMSUtils.gostAlgs:Ljava/util/Set;
aload 0
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
algorithm
static boolean isRFC2631(org.bouncycastle.asn1.ASN1ObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_alg_ESDH:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 1
aload 0
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_alg_SSDH:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 algorithm Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
MethodParameters:
Name Flags
algorithm
static org.bouncycastle.asn1.cms.IssuerAndSerialNumber getIssuerAndSerialNumber(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)Lorg/bouncycastle/asn1/cms/IssuerAndSerialNumber;
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.security.cert.X509Certificate.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.Certificate.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/Certificate;
astore 1
start local 1 1: new org.bouncycastle.asn1.cms.IssuerAndSerialNumber
dup
aload 1
invokevirtual org.bouncycastle.asn1.x509.Certificate.getIssuer:()Lorg/bouncycastle/asn1/x500/X500Name;
aload 0
invokevirtual java.security.cert.X509Certificate.getSerialNumber:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.asn1.cms.IssuerAndSerialNumber.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;Ljava/math/BigInteger;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 cert Ljava/security/cert/X509Certificate;
1 2 1 certStruct Lorg/bouncycastle/asn1/x509/Certificate;
Exceptions:
throws java.security.cert.CertificateEncodingException
MethodParameters:
Name Flags
cert
static byte[] getSubjectKeyId(java.security.cert.X509Certificate);
descriptor: (Ljava/security/cert/X509Certificate;)[B
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getstatic org.bouncycastle.asn1.x509.Extension.subjectKeyIdentifier:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokevirtual java.security.cert.X509Certificate.getExtensionValue:(Ljava/lang/String;)[B
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
invokestatic org.bouncycastle.asn1.ASN1OctetString.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokevirtual org.bouncycastle.asn1.ASN1OctetString.getOctets:()[B
areturn
3: StackMap locals: byte[]
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 cert Ljava/security/cert/X509Certificate;
1 4 1 ext [B
MethodParameters:
Name Flags
cert
static org.bouncycastle.cms.jcajce.EnvelopedDataHelper createContentHelper(java.security.Provider);
descriptor: (Ljava/security/Provider;)Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper
dup
aload 0
invokespecial org.bouncycastle.cms.jcajce.ProviderJcaJceExtHelper.<init>:(Ljava/security/Provider;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
areturn
2: StackMap locals:
StackMap stack:
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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 provider Ljava/security/Provider;
MethodParameters:
Name Flags
provider
static org.bouncycastle.cms.jcajce.EnvelopedDataHelper createContentHelper(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cms/jcajce/EnvelopedDataHelper;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnull 2
1: new org.bouncycastle.cms.jcajce.EnvelopedDataHelper
dup
new org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper
dup
aload 0
invokespecial org.bouncycastle.cms.jcajce.NamedJcaJceExtHelper.<init>:(Ljava/lang/String;)V
invokespecial org.bouncycastle.cms.jcajce.EnvelopedDataHelper.<init>:(Lorg/bouncycastle/cms/jcajce/JcaJceExtHelper;)V
areturn
2: StackMap locals:
StackMap stack:
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
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 providerName Ljava/lang/String;
MethodParameters:
Name Flags
providerName
static org.bouncycastle.asn1.ASN1Encodable (java.security.AlgorithmParameters);
descriptor: (Ljava/security/AlgorithmParameters;)Lorg/bouncycastle/asn1/ASN1Encodable;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.bouncycastle.jcajce.util.AlgorithmParametersUtils.extractParameters:(Ljava/security/AlgorithmParameters;)Lorg/bouncycastle/asn1/ASN1Encodable;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
astore 1
start local 1 3: new org.bouncycastle.cms.CMSException
dup
new java.lang.StringBuilder
dup
ldc "cannot extract parameters: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 params Ljava/security/AlgorithmParameters;
3 4 1 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
params
static void loadParameters(java.security.AlgorithmParameters, org.bouncycastle.asn1.ASN1Encodable);
descriptor: (Ljava/security/AlgorithmParameters;Lorg/bouncycastle/asn1/ASN1Encodable;)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.bouncycastle.jcajce.util.AlgorithmParametersUtils.loadParameters:(Ljava/security/AlgorithmParameters;Lorg/bouncycastle/asn1/ASN1Encodable;)V
1: goto 4
2: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 3: new org.bouncycastle.cms.CMSException
dup
ldc "error encoding algorithm parameters."
aload 2
invokespecial org.bouncycastle.cms.CMSException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 params Ljava/security/AlgorithmParameters;
0 5 1 sParams Lorg/bouncycastle/asn1/ASN1Encodable;
3 4 2 e Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Exceptions:
throws org.bouncycastle.cms.CMSException
MethodParameters:
Name Flags
params
sParams
}
SourceFile: "CMSUtils.java"