com.motorola.iden.provider
Class ECDSA

java.lang.Object
  |
  +--com.motorola.iden.security.SignatureSpi
        |
        +--com.motorola.iden.provider.ECDSA

public class ECDSA
extends SignatureSpi

ECDSA is not supported in Gemini product.

MOTOROLA and the Stylized M Logo are registered trademarks of Motorola, Inc. Reg. U.S. Pat. & Tm. Off.
© Copyright 2002 - 2004 Motorola, Inc. All Rights Reserved.

See Also:
[CipherSpi]

Constructor Summary
ECDSA()
           
 
Method Summary
protected  AlgorithmParameterSpec engineGetParameter()
          ECDSA is not supported in Gemini product.
protected  void engineInitSign(PrivateKey Key)
          ECDSA is not supported in Gemini product.
protected  void engineInitVerify(PublicKey Key)
          ECDSA is not supported in Gemini product.
protected  void engineSetParameter(AlgorithmParameterSpec params)
          ECDSA is not supported in Gemini product.
protected  byte[] engineSign()
          ECDSA is not supported in Gemini product.
protected  void engineUpdate(byte[] b, int off, int len)
          ECDSA is not supported in Gemini product.
protected  boolean engineVerify(byte[] sigBytes)
          ECDSA is not supported in Gemini product.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDSA

public ECDSA()
Method Detail

engineSetParameter

protected final void engineSetParameter(AlgorithmParameterSpec params)
                                 throws InvalidAlgorithmParameterException
ECDSA is not supported in Gemini product.
Overrides:
engineSetParameter in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Parameters:
params - the parameters
Throws:
java.lang.SecurityException - if this method is not overridden by a provider
InvalidAlgorithmParameterException - if this method is overridden by a provider and the the given parameters are inappropriate for this signature engine

engineGetParameter

protected final AlgorithmParameterSpec engineGetParameter()
ECDSA is not supported in Gemini product.
Overrides:
engineGetParameter in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Returns:
the parameters used with this signature engine, or null if this signature engine does not use any parameters
Throws:
java.lang.SecurityException - if this method is not overridden by a provider

engineInitSign

protected final void engineInitSign(PrivateKey Key)
                             throws InvalidKeyException
ECDSA is not supported in Gemini product.
Overrides:
engineInitSign in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Parameters:
privateKey - the private key of the identity whose signature will be generated.

Throws:
InvalidKeyException - if the key is improperly encoded, parameters are missing, and so on.

engineInitVerify

protected final void engineInitVerify(PublicKey Key)
                               throws InvalidKeyException
ECDSA is not supported in Gemini product.
Overrides:
engineInitVerify in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Parameters:
publicKey - the public key of the identity whose signature is going to be verified.

Throws:
InvalidKeyException - if the key is improperly encoded, parameters are missing, and so on.

engineUpdate

protected final void engineUpdate(byte[] b,
                                  int off,
                                  int len)
                           throws SignatureException
ECDSA is not supported in Gemini product.
Overrides:
engineUpdate in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Parameters:
b - the array of bytes
off - the offset to start from in the array of bytes
len - the number of bytes to use, starting at offset

Throws:
SignatureException - if the engine is not initialized properly

engineSign

protected final byte[] engineSign()
                           throws SignatureException
ECDSA is not supported in Gemini product.
Overrides:
engineSign in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Returns:
the signature bytes of the signing operation's result.

Throws:
SignatureException - if the engine is not initialized properly.

engineVerify

protected final boolean engineVerify(byte[] sigBytes)
                              throws SignatureException
ECDSA is not supported in Gemini product.
Overrides:
engineVerify in class SignatureSpi
Following copied from class: com.motorola.iden.security.SignatureSpi
Parameters:
sigBytes - the signature bytes to be verified.
input - message to be verified.

Returns:
true if the signature was verified, false if not.

Throws:
SignatureException - if the engine is not initialized properly, or the passed-in signature is improperly encoded or of the wrong type, etc.