|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
SymmetricKey is an interface representing a key to be used in a symmetric key
cryptographyic system.
A symmetric key system implies the same key is used for both decryption and encryption.
SymmetricKeyFactory| Method Summary | ||
|
int |
getBitLength()
Returns the number of bits that make up the actual keying material ( for example parity bits are not counted ). |
|
byte[] |
getData()
Returns a copy of the byte array representing the key. |
|
int |
getLength()
Returns the length of the key in bytes. |
|
SymmetricCryptoToken |
getSymmetricCryptoToken()
Returns the crypto token associated with this key. |
| Methods inherited from interface net.rim.device.api.crypto.Key |
getAlgorithm |
| Method Detail |
public int getBitLength()
throws CryptoTokenException,
CryptoUnsupportedOperationException
CryptoTokenException - Thrown when a problem occurs with a crypto
token or the crypto token is invalid.CryptoUnsupportedOperationException - Thrown when a call is made to an
unsupported operation.
public byte[] getData()
throws CryptoTokenException,
CryptoUnsupportedOperationException
CryptoTokenException - Thrown when a problem occurs with a crypto
token or the crypto token is invalid.CryptoUnsupportedOperationException - Thrown when a call is made to
an unsupported operation.
public int getLength()
throws CryptoTokenException,
CryptoUnsupportedOperationException
CryptoTokenException - Thrown when a problem occurs with a crypto
token or the crypto token is invalid.CryptoUnsupportedOperationException - Thrown when a call is made to an
unsupported operation.public SymmetricCryptoToken getSymmetricCryptoToken()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2007 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.