|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PrivateKey
PrivateKey
represents the idea of a private key, which
is a key intended to be secret, and has an associated public key intended to be publically
disclosed. The private key normally performs operations such as decryption and signing,
whereas the public key performs operations such as encryption and verification.
Method Summary | ||
---|---|---|
|
CryptoSystem |
getCryptoSystem()
Returns the CryptoSystem used by this private key. |
|
void |
verify()
Performs certain integrity checks on the private key parameters. |
Methods inherited from interface net.rim.device.api.crypto.Key |
---|
getAlgorithm |
Method Detail |
---|
CryptoSystem getCryptoSystem()
CryptoSystem
used by this private key.
void verify() throws InvalidKeyException, InvalidCryptoSystemException, CryptoTokenException, CryptoUnsupportedOperationException
InvalidKeyException
- Thrown if the specified key is improperly
formatted or invalid.
InvalidCryptoSystemException
- Thrown if the
specified crypto system is invalid.
CryptoTokenException
- Thrown if an error occurs with the crypto
token or the crypto token is invalid.
CryptoUnsupportedOperationException
- Thrown if a call is made to
an unsupported operation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal