Android
java.security
public abstract class

java.security.SignatureSpi

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)
Methods inherited from class java.lang.Object

Details

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)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56