|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ECPublicKey interface is used to verify signatures
on signed data using the ECDSA algorithm and to generate shared
secrets using the ECDH algorithm. An implementation of
ECPublicKey interface must also implement the
ECKey interface methods.
When all components of the key (W, A, B, G, R, Field) are set, the key is initialized and ready for use.
The notation used to describe parameters specific to the EC algorithm is based on the naming conventions established in [IEEE P1363].
ECPrivateKey| Method Summary | |
short |
getW(byte[] buffer,
short offset)
Returns the point of the curve comprising the public key in plain text form. |
void |
setW(byte[] buffer,
short offset,
short length)
Sets the point of the curve comprising the public key. |
| Methods inherited from interface javacard.security.Key |
clearKey, getSize, getType, isInitialized |
| Methods inherited from interface javacard.security.ECKey |
getA, getB, getField, getG, getK, getR, setA, setB, setFieldF2M, setFieldF2M, setFieldFP, setG, setK, setR |
| Method Detail |
public void setW(byte[] buffer,
short offset,
short length)
throws CryptoException
Note:
javacardx.crypto.KeyEncryption interface
and the Cipher object specified via
setKeyCipher() is not
null, the key value is decrypted using the
Cipher object.
CryptoException
public short getW(byte[] buffer,
short offset)
throws CryptoException
CryptoException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||