JML

java.security
Class SignatureSpi

java.lang.Object
  extended byjava.security.SignatureSpi
Direct Known Subclasses:
Signature

public abstract class SignatureSpi
extends Object


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
protected  SecureRandom appRandom
           
 
Constructor Summary
SignatureSpi()
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 Object clone()
           
protected abstract  Object engineGetParameter(String)
           
protected  AlgorithmParameters engineGetParameters()
           
protected abstract  void engineInitSign(PrivateKey)
           
protected  void engineInitSign(PrivateKey, SecureRandom)
           
protected abstract  void engineInitVerify(PublicKey)
           
protected abstract  void engineSetParameter(String, Object)
           
protected  void engineSetParameter(AlgorithmParameterSpec)
           
protected abstract  byte[] engineSign()
           
protected  int engineSign(byte[], int, int)
           
protected abstract  void engineUpdate(byte)
           
protected abstract  void engineUpdate(byte[], int, int)
           
protected abstract  boolean engineVerify(byte[])
           
protected  boolean engineVerify(byte[], int, int)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

appRandom

protected SecureRandom appRandom
Constructor Detail

SignatureSpi

public SignatureSpi()
Method Detail

engineSign

protected abstract byte[] engineSign()
                              throws SignatureException
Throws:
SignatureException

engineUpdate

protected abstract void engineUpdate(byte)
                              throws SignatureException
Throws:
SignatureException

engineVerify

protected abstract boolean engineVerify(byte[])
                                 throws SignatureException
Throws:
SignatureException

engineSign

protected int engineSign(byte[],
                         int,
                         int)
                  throws SignatureException
Throws:
SignatureException

engineUpdate

protected abstract void engineUpdate(byte[],
                                     int,
                                     int)
                              throws SignatureException
Throws:
SignatureException

engineVerify

protected boolean engineVerify(byte[],
                               int,
                               int)
                        throws SignatureException
Throws:
SignatureException

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException

engineGetParameters

protected AlgorithmParameters engineGetParameters()

engineInitSign

protected abstract void engineInitSign(PrivateKey)
                                throws InvalidKeyException
Throws:
InvalidKeyException

engineInitVerify

protected abstract void engineInitVerify(PublicKey)
                                  throws InvalidKeyException
Throws:
InvalidKeyException

engineSetParameter

protected void engineSetParameter(AlgorithmParameterSpec)
                           throws InvalidAlgorithmParameterException
Throws:
InvalidAlgorithmParameterException

engineGetParameter

protected abstract Object engineGetParameter(String)
                                      throws InvalidParameterException
Throws:
InvalidParameterException

engineSetParameter

protected abstract void engineSetParameter(String,
                                           Object)
                                    throws InvalidParameterException
Throws:
InvalidParameterException

engineInitSign

protected void engineInitSign(PrivateKey,
                              SecureRandom)
                       throws InvalidKeyException
Throws:
InvalidKeyException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.