加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090327210240/http://developer.android.com:80/reference/java/security/SignatureSpi.html
public abstract class

SignatureSpi

extends Object
java.lang.Object
   ↳ java.security.SignatureSpi
Known Direct Subclasses

Summary

Fields
protected SecureRandom appRandom
Public Constructors
SignatureSpi()
Public Methods
Object clone()
Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.
Protected Methods
abstract Object engineGetParameter(String param)
This method is deprecated. There is no generally accepted parameter naming convention.
AlgorithmParameters engineGetParameters()
abstract void engineInitSign(PrivateKey privateKey)
void engineInitSign(PrivateKey privateKey, SecureRandom random)
abstract void engineInitVerify(PublicKey publicKey)
void engineSetParameter(AlgorithmParameterSpec params)
abstract void engineSetParameter(String param, Object value)
This method is deprecated. Use engineSetParameter
abstract byte[] engineSign()
int engineSign(byte[] outbuf, int offset, int len)
abstract void engineUpdate(byte b)
void engineUpdate(ByteBuffer input)
abstract void engineUpdate(byte[] b, int off, int len)
abstract boolean engineVerify(byte[] sigBytes)
boolean engineVerify(byte[] sigBytes, int offset, int length)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

protected SecureRandom appRandom

Public Constructors

public SignatureSpi ()

Public Methods

public Object clone ()

Returns a new instance of the same class as the receiver, whose slots have been filled in with the values in the slots of the receiver.

Classes which wish to support cloning must specify that they implement the Cloneable interface, since the implementation checks for this.

Returns
  • Object a shallow copy of this object.

Protected Methods

protected abstract Object engineGetParameter (String param)

This method is deprecated.There is no generally accepted parameter naming convention.

@com.intel.drl.spec_ref

protected AlgorithmParameters engineGetParameters ()

protected abstract void engineInitSign (PrivateKey privateKey)

protected void engineInitSign (PrivateKey privateKey, SecureRandom random)

protected abstract void engineInitVerify (PublicKey publicKey)

protected void engineSetParameter (AlgorithmParameterSpec params)

protected abstract void engineSetParameter (String param, Object value)

This method is deprecated.Use engineSetParameter

@com.intel.drl.spec_ref

protected abstract byte[] engineSign ()

protected int engineSign (byte[] outbuf, int offset, int len)

protected abstract void engineUpdate (byte b)

protected void engineUpdate (ByteBuffer input)

protected abstract void engineUpdate (byte[] b, int off, int len)

protected abstract boolean engineVerify (byte[] sigBytes)

protected boolean engineVerify (byte[] sigBytes, int offset, int length)