|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.management.snmp.usm
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Encryption algorithm interface. Every privacy algorithm must be compliant to this interface. When developing your own algorithm you have to implement this interface.
Method Summary | |
byte[] |
decrypt(byte[] key,
SnmpEncryptionPair pair)
Deprecated. Decrypt some data using a key. |
SnmpEncryptionPair |
encrypt(byte[] key,
byte[] data,
int length)
Deprecated. Encrypt some data using a key. |
int |
getDeltaSize()
Deprecated. Gets the delta size. |
int |
getKeySize()
Deprecated. The privacy algorithm key size. |
Methods inherited from interface com.sun.jdmk.snmp.usm.SnmpUsmAlgorithm |
getAlgorithm, getOid |
Method Detail |
public SnmpEncryptionPair encrypt(byte[] key, byte[] data, int length) throws SnmpUsmException
key
- The key to use.data
- The data to encrypt.length
- The length of the data to encrypt.
SnmpUsmException
public byte[] decrypt(byte[] key, SnmpEncryptionPair pair) throws SnmpUsmException
key
- The key to use.pair
- The data to decrypt and parameters.
SnmpUsmException
public int getKeySize()
public int getDeltaSize()
getDeltaSize
in interface SnmpUsmAlgorithm
|
FCS Release jdmk-5_1-b34.2 2005.11.29_16:24:00_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |