javadoc fixes

This commit is contained in:
zzz
2014-03-05 16:53:04 +00:00
parent 597662d0dc
commit 3fdc964eac
2 changed files with 5 additions and 5 deletions

View File

@ -22,8 +22,7 @@ import org.bouncycastle.oldcrypto.macs.I2PHMac;
/**
* Calculate the HMAC-MD5-128 of a key+message. All the good stuff occurs
* in {@link org.bouncycastle.oldcrypto.macs.I2PHMac} and
* {@link org.bouncycastle.oldcrypto.digests.MD5Digest}.
* in {@link org.bouncycastle.oldcrypto.macs.I2PHMac}
*
* Keys are always 32 bytes.
* This is used only by UDP.
@ -71,7 +70,8 @@ public class HMACGenerator {
/**
* Calculate the HMAC of the data with the given key
*
* @return the first 16 bytes contain the HMAC, the last 16 bytes are zero
* @param target out parameter the first 16 bytes contain the HMAC, the last 16 bytes are zero
* @param targetOffset offset into target to put the hmac
* @throws IllegalArgumentException for bad key or target too small
*/
public void calculate(SessionKey key, byte data[], int offset, int length, byte target[], int targetOffset) {

View File

@ -42,7 +42,7 @@ public class KeyCertificate extends Certificate {
* A KeyCertificate with crypto type 0 (ElGamal)
* and the signature type and extra data from the given public key.
*
* @param sig non-null data non-null
* @param spk non-null data non-null
* @throws IllegalArgumentException
*/
public KeyCertificate(SigningPublicKey spk) {
@ -68,7 +68,7 @@ public class KeyCertificate extends Certificate {
* If type.getPubkeyLen() is greater than 128, caller MUST
* fill in the extra key data in the payload.
*
* @param sig non-null data non-null
* @param type non-null
* @throws IllegalArgumentException
*/
public KeyCertificate(SigType type) {