Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.jcajce.provider.asymmetric.edec
Class SignatureSpi

java.lang.Object
  |
  +--java.security.SignatureSpi
        |
        +--org.bouncycastle.jcajce.provider.asymmetric.edec.SignatureSpi
Direct Known Subclasses:
SignatureSpi.Ed25519, SignatureSpi.Ed448, SignatureSpi.EdDSA

public class SignatureSpi
extends java.security.SignatureSpi


Inner Class Summary
static class SignatureSpi.Ed25519
           
static class SignatureSpi.Ed448
           
static class SignatureSpi.EdDSA
           
 
Fields inherited from class java.security.SignatureSpi
appRandom
 
Method Summary
protected  java.lang.Object engineGetParameter(java.lang.String s)
           
protected  java.security.AlgorithmParameters engineGetParameters()
           
protected  void engineInitSign(java.security.PrivateKey privateKey)
           
protected  void engineInitVerify(java.security.PublicKey publicKey)
           
protected  void engineSetParameter(java.lang.String s, java.lang.Object o)
           
protected  byte[] engineSign()
           
protected  void engineUpdate(byte b)
           
protected  void engineUpdate(byte[] bytes, int off, int len)
           
protected  boolean engineVerify(byte[] signature)
           
 
Methods inherited from class java.security.SignatureSpi
clone, engineInitSign, engineSetParameter, engineSign
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

engineInitVerify

protected void engineInitVerify(java.security.PublicKey publicKey)
                         throws java.security.InvalidKeyException
Overrides:
engineInitVerify in class java.security.SignatureSpi

engineInitSign

protected void engineInitSign(java.security.PrivateKey privateKey)
                       throws java.security.InvalidKeyException
Overrides:
engineInitSign in class java.security.SignatureSpi

engineUpdate

protected void engineUpdate(byte b)
                     throws java.security.SignatureException
Overrides:
engineUpdate in class java.security.SignatureSpi

engineUpdate

protected void engineUpdate(byte[] bytes,
                            int off,
                            int len)
                     throws java.security.SignatureException
Overrides:
engineUpdate in class java.security.SignatureSpi

engineSign

protected byte[] engineSign()
                     throws java.security.SignatureException
Overrides:
engineSign in class java.security.SignatureSpi

engineVerify

protected boolean engineVerify(byte[] signature)
                        throws java.security.SignatureException
Overrides:
engineVerify in class java.security.SignatureSpi

engineSetParameter

protected void engineSetParameter(java.lang.String s,
                                  java.lang.Object o)
                           throws java.security.InvalidParameterException
Overrides:
engineSetParameter in class java.security.SignatureSpi

engineGetParameter

protected java.lang.Object engineGetParameter(java.lang.String s)
                                       throws java.security.InvalidParameterException
Overrides:
engineGetParameter in class java.security.SignatureSpi

engineGetParameters

protected java.security.AlgorithmParameters engineGetParameters()

Bouncy Castle Cryptography Library 1.77.0