|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.motorola.iden.security.SignatureSpi
|
+--com.motorola.iden.provider.ECDSA
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.
[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 |
public ECDSA()
| Method Detail |
protected final void engineSetParameter(AlgorithmParameterSpec params)
throws InvalidAlgorithmParameterException
engineSetParameter in class SignatureSpicom.motorola.iden.security.SignatureSpiparams - the parametersjava.lang.SecurityException - if this method is not
overridden by a providerInvalidAlgorithmParameterException - if this method is
overridden by a provider and the the given parameters
are inappropriate for this signature engineprotected final AlgorithmParameterSpec engineGetParameter()
engineGetParameter in class SignatureSpicom.motorola.iden.security.SignatureSpijava.lang.SecurityException - if this method is
not overridden by a provider
protected final void engineInitSign(PrivateKey Key)
throws InvalidKeyException
engineInitSign in class SignatureSpicom.motorola.iden.security.SignatureSpiprivateKey - the private key of the identity whose signature
will be generated.
InvalidKeyException - if the key is improperly
encoded, parameters are missing, and so on.
protected final void engineInitVerify(PublicKey Key)
throws InvalidKeyException
engineInitVerify in class SignatureSpicom.motorola.iden.security.SignatureSpipublicKey - the public key of the identity whose signature is
going to be verified.
InvalidKeyException - if the key is improperly
encoded, parameters are missing, and so on.
protected final void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpicom.motorola.iden.security.SignatureSpib - the array of bytesoff - the offset to start from in the array of byteslen - the number of bytes to use, starting at offset
SignatureException - if the engine is not initialized
properly
protected final byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpicom.motorola.iden.security.SignatureSpiSignatureException - if the engine is not
initialized properly.
protected final boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpicom.motorola.iden.security.SignatureSpisigBytes - the signature bytes to be verified.input - message to be verified.
SignatureException - if the engine is not initialized
properly, or the passed-in signature is improperly encoded or
of the wrong type, etc.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||