public class org.bouncycastle.jce.provider.asymmetric.ec.Signature extends org.bouncycastle.jce.provider.DSABase
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.jce.provider.asymmetric.ec.Signature
super_class: org.bouncycastle.jce.provider.DSABase
{
void <init>(org.bouncycastle.crypto.Digest, org.bouncycastle.crypto.DSA, org.bouncycastle.jce.provider.DSAEncoder);
descriptor: (Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/DSA;Lorg/bouncycastle/jce/provider/DSAEncoder;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.bouncycastle.jce.provider.DSABase.<init>:(Lorg/bouncycastle/crypto/Digest;Lorg/bouncycastle/crypto/DSA;Lorg/bouncycastle/jce/provider/DSAEncoder;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/jce/provider/asymmetric/ec/Signature;
0 2 1 digest Lorg/bouncycastle/crypto/Digest;
0 2 2 signer Lorg/bouncycastle/crypto/DSA;
0 2 3 encoder Lorg/bouncycastle/jce/provider/DSAEncoder;
MethodParameters:
Name Flags
digest
signer
encoder
protected void engineInitVerify(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.security.interfaces.ECPublicKey
ifeq 3
1: aload 1
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.generatePublicKeyParameter:(Ljava/security/PublicKey;)Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
astore 2
start local 2 2: goto 11
end local 2 3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
astore 3
start local 3 4: aload 3
invokestatic org.bouncycastle.jce.provider.JDKKeyFactory.createPublicKeyFromDERStream:([B)Ljava/security/PublicKey;
astore 1
5: aload 1
instanceof java.security.interfaces.ECPublicKey
ifeq 8
6: aload 1
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.generatePublicKeyParameter:(Ljava/security/PublicKey;)Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
astore 2
start local 2 7: goto 11
end local 2 8: StackMap locals: org.bouncycastle.jce.provider.asymmetric.ec.Signature java.security.PublicKey top byte[]
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "can't recognise key type in ECDSA based signer"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 3 9: StackMap locals: org.bouncycastle.jce.provider.asymmetric.ec.Signature java.security.PublicKey
StackMap stack: java.lang.Exception
pop
10: new java.security.InvalidKeyException
dup
ldc "can't recognise key type in ECDSA based signer"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
start local 2 11: StackMap locals: org.bouncycastle.crypto.CipherParameters
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.asymmetric.ec.Signature.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
12: aload 0
getfield org.bouncycastle.jce.provider.asymmetric.ec.Signature.signer:Lorg/bouncycastle/crypto/DSA;
iconst_0
aload 2
invokeinterface org.bouncycastle.crypto.DSA.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
13: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/bouncycastle/jce/provider/asymmetric/ec/Signature;
0 14 1 publicKey Ljava/security/PublicKey;
2 3 2 param Lorg/bouncycastle/crypto/CipherParameters;
7 8 2 param Lorg/bouncycastle/crypto/CipherParameters;
11 14 2 param Lorg/bouncycastle/crypto/CipherParameters;
4 9 3 bytes [B
Exception table:
from to target type
3 9 9 Class java.lang.Exception
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
publicKey
protected void engineInitSign(java.security.PrivateKey, java.security.SecureRandom);
descriptor: (Ljava/security/PrivateKey;Ljava/security/SecureRandom;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof org.bouncycastle.jce.interfaces.ECKey
ifeq 3
1: aload 1
invokestatic org.bouncycastle.jce.provider.asymmetric.ec.ECUtil.generatePrivateKeyParameter:(Ljava/security/PrivateKey;)Lorg/bouncycastle/crypto/params/AsymmetricKeyParameter;
astore 3
start local 3 2: goto 4
end local 3 3: StackMap locals:
StackMap stack:
new java.security.InvalidKeyException
dup
ldc "can't recognise key type in ECDSA based signer"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
start local 3 4: StackMap locals: org.bouncycastle.crypto.CipherParameters
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.asymmetric.ec.Signature.digest:Lorg/bouncycastle/crypto/Digest;
invokeinterface org.bouncycastle.crypto.Digest.reset:()V
5: aload 2
ifnull 8
6: aload 0
getfield org.bouncycastle.jce.provider.asymmetric.ec.Signature.signer:Lorg/bouncycastle/crypto/DSA;
iconst_1
new org.bouncycastle.crypto.params.ParametersWithRandom
dup
aload 3
aload 2
invokespecial org.bouncycastle.crypto.params.ParametersWithRandom.<init>:(Lorg/bouncycastle/crypto/CipherParameters;Ljava/security/SecureRandom;)V
invokeinterface org.bouncycastle.crypto.DSA.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield org.bouncycastle.jce.provider.asymmetric.ec.Signature.signer:Lorg/bouncycastle/crypto/DSA;
iconst_1
aload 3
invokeinterface org.bouncycastle.crypto.DSA.init:(ZLorg/bouncycastle/crypto/CipherParameters;)V
9: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/jce/provider/asymmetric/ec/Signature;
0 10 1 privateKey Ljava/security/PrivateKey;
0 10 2 random Ljava/security/SecureRandom;
2 3 3 param Lorg/bouncycastle/crypto/CipherParameters;
4 10 3 param Lorg/bouncycastle/crypto/CipherParameters;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
privateKey
random
}
SourceFile: "Signature.java"
NestMembers:
org.bouncycastle.jce.provider.asymmetric.ec.Signature$CVCDSAEncoder org.bouncycastle.jce.provider.asymmetric.ec.Signature$StdDSAEncoder org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA224 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA256 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA224 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA256 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA384 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA512 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSARipeMD160 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSAnone org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR224 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR256 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR384 org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR512
InnerClasses:
private CVCDSAEncoder = org.bouncycastle.jce.provider.asymmetric.ec.Signature$CVCDSAEncoder of org.bouncycastle.jce.provider.asymmetric.ec.Signature
private StdDSAEncoder = org.bouncycastle.jce.provider.asymmetric.ec.Signature$StdDSAEncoder of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecCVCDSA = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecCVCDSA224 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA224 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecCVCDSA256 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecCVCDSA256 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSA = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSA224 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA224 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSA256 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA256 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSA384 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA384 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSA512 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSA512 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSARipeMD160 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSARipeMD160 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecDSAnone = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecDSAnone of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecNR = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecNR224 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR224 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecNR256 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR256 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecNR384 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR384 of org.bouncycastle.jce.provider.asymmetric.ec.Signature
public ecNR512 = org.bouncycastle.jce.provider.asymmetric.ec.Signature$ecNR512 of org.bouncycastle.jce.provider.asymmetric.ec.Signature