Class Overview
This class encapsulates the checksum type for HMAC RC4
Summary
|
[Expand]
Inherited Methods |
From class
sun.security.mule.krb5.internal.crypto.CksumType
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
HmacMd5ArcFourCksumType
()
Public Methods
public
byte[]
calculateChecksum
(byte[] data, int size)
public
byte[]
calculateKeyedChecksum
(byte[] data, int size, byte[] key, int usage)
Calculates keyed checksum.
Parameters
| data
| The data used to generate the checksum. |
| size
| Length of the data. |
| key
| The key used to encrypt the checksum. |
| usage
| |
public
int
confounderSize
()
public
boolean
verifyKeyedChecksum
(byte[] data, int size, byte[] key, byte[] checksum, int usage)
Parameters
| data
| The data. |
| size
| The length of data. |
| key
| The key used to encrypt the checksum. |
| checksum
| |
| usage
| |
Returns
- true if verification is successful.