|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The DSAPublicKey interface is used to verify signatures
on signed data using the DSA algorithm. An implementation of
DSAPublicKey interface must also implement the
DSAKey interface methods.
When all four components of the key (Y,P,Q,G) are set, the key is initialized and ready for use.
DSAPrivateKey| Method Summary | |
short |
getY(byte[] buffer,
short offset)
Returns the value of the key in plain text. |
void |
setY(byte[] buffer,
short offset,
short length)
Sets the value of the key. |
| Methods inherited from interface javacard.security.Key |
clearKey, getSize, getType, isInitialized |
| Methods inherited from interface javacard.security.DSAKey |
getG, getP, getQ, setG, setP, setQ |
| Method Detail |
public void setY(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 getY(byte[] buffer,
short offset)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||