class org.bouncycastle.jce.provider.RSAUtil
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.jce.provider.RSAUtil
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.bouncycastle.jce.provider.RSAUtil this
0: .line 17
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.bouncycastle.jce.provider.RSAUtil this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/jce/provider/RSAUtil;
static boolean isRsaOid(org.bouncycastle.asn1.DERObjectIdentifier);
descriptor: (Lorg/bouncycastle/asn1/DERObjectIdentifier;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // org.bouncycastle.asn1.DERObjectIdentifier algOid
0: .line 22
aload 0 /* algOid */
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.rsaEncryption:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 5
1: .line 23
aload 0 /* algOid */
getstatic org.bouncycastle.asn1.x509.X509ObjectIdentifiers.id_ea_rsa:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 5
2: .line 24
aload 0 /* algOid */
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_RSASSA_PSS:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 5
3: .line 25
aload 0 /* algOid */
getstatic org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers.id_RSAES_OAEP:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.DERObjectIdentifier.equals:(Ljava/lang/Object;)Z
ifne 5
4: .line 22
iconst_0
ireturn
StackMap locals:
StackMap stack:
5: iconst_1
ireturn
end local 0 // org.bouncycastle.asn1.DERObjectIdentifier algOid
LocalVariableTable:
Start End Slot Name Signature
0 6 0 algOid Lorg/bouncycastle/asn1/DERObjectIdentifier;
MethodParameters:
Name Flags
algOid
static org.bouncycastle.crypto.params.RSAKeyParameters generatePublicKeyParameter(java.security.interfaces.RSAPublicKey);
descriptor: (Ljava/security/interfaces/RSAPublicKey;)Lorg/bouncycastle/crypto/params/RSAKeyParameters;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 // java.security.interfaces.RSAPublicKey key
0: .line 31
new org.bouncycastle.crypto.params.RSAKeyParameters
dup
iconst_0
aload 0 /* key */
invokeinterface java.security.interfaces.RSAPublicKey.getModulus:()Ljava/math/BigInteger;
aload 0 /* key */
invokeinterface java.security.interfaces.RSAPublicKey.getPublicExponent:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.crypto.params.RSAKeyParameters.<init>:(ZLjava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 0 // java.security.interfaces.RSAPublicKey key
LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/security/interfaces/RSAPublicKey;
MethodParameters:
Name Flags
key
static org.bouncycastle.crypto.params.RSAKeyParameters generatePrivateKeyParameter(java.security.interfaces.RSAPrivateKey);
descriptor: (Ljava/security/interfaces/RSAPrivateKey;)Lorg/bouncycastle/crypto/params/RSAKeyParameters;
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=2, args_size=1
start local 0 // java.security.interfaces.RSAPrivateKey key
0: .line 38
aload 0 /* key */
instanceof java.security.interfaces.RSAPrivateCrtKey
ifeq 6
1: .line 40
aload 0 /* key */
checkcast java.security.interfaces.RSAPrivateCrtKey
astore 1 /* k */
start local 1 // java.security.interfaces.RSAPrivateCrtKey k
2: .line 42
new org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters
dup
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getModulus:()Ljava/math/BigInteger;
3: .line 43
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPublicExponent:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPrivateExponent:()Ljava/math/BigInteger;
4: .line 44
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPrimeP:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPrimeQ:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPrimeExponentP:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getPrimeExponentQ:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateCrtKey.getCrtCoefficient:()Ljava/math/BigInteger;
5: .line 42
invokespecial org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters.<init>:(Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 1 // java.security.interfaces.RSAPrivateCrtKey k
6: .line 48
StackMap locals:
StackMap stack:
aload 0 /* key */
astore 1 /* k */
start local 1 // java.security.interfaces.RSAPrivateKey k
7: .line 50
new org.bouncycastle.crypto.params.RSAKeyParameters
dup
iconst_1
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateKey.getModulus:()Ljava/math/BigInteger;
aload 1 /* k */
invokeinterface java.security.interfaces.RSAPrivateKey.getPrivateExponent:()Ljava/math/BigInteger;
invokespecial org.bouncycastle.crypto.params.RSAKeyParameters.<init>:(ZLjava/math/BigInteger;Ljava/math/BigInteger;)V
areturn
end local 1 // java.security.interfaces.RSAPrivateKey k
end local 0 // java.security.interfaces.RSAPrivateKey key
LocalVariableTable:
Start End Slot Name Signature
0 8 0 key Ljava/security/interfaces/RSAPrivateKey;
2 6 1 k Ljava/security/interfaces/RSAPrivateCrtKey;
7 8 1 k Ljava/security/interfaces/RSAPrivateKey;
MethodParameters:
Name Flags
key
}
SourceFile: "RSAUtil.java"