|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectkrb5.lib.Checksum
public class Checksum
TODO Class Description : Checksum class. A modified version of the code obtained from the Open Group Research Institute.
Field Summary | |
---|---|
byte[] |
checksum
Checksum in array of bytes |
int |
cksumType
Checksum type |
Constructor Summary | |
---|---|
Checksum(byte[] data)
Class constructor |
|
Checksum(int new_cksumType,
byte[] data)
Class constructor specifying type and array of data |
|
Checksum(int new_cksumType,
byte[] data,
EncryptionKey key)
Class constructor |
Method Summary | |
---|---|
boolean |
isEqual(Checksum cksum)
Check whether a given checksum value is the same this one |
boolean |
verifyKeyedChecksum(byte[] data,
EncryptionKey key)
Verifies the checksum value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int cksumType
public byte[] checksum
Constructor Detail |
---|
public Checksum(int new_cksumType, byte[] data) throws KrbException
KrbException
public Checksum(int new_cksumType, byte[] data, EncryptionKey key) throws KrbException
new_cksumType
- intdata
- byte[]key
- EncryptionKey
KrbException
public Checksum(byte[] data) throws KrbException
data
- byte[]
KrbException
Method Detail |
---|
public boolean verifyKeyedChecksum(byte[] data, EncryptionKey key) throws KrbException
data
- byte[]key
- EncryptionKey
KrbException
public boolean isEqual(Checksum cksum) throws KrbException
cksum
- Checksum
KrbException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |