|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.bouncycastle.bcpg.HashUtils
| Constructor Summary | |
HashUtils()
|
|
| Method Summary | |
static int |
getV6SignatureSaltSizeInBytes(int hashAlgorithm)
Return the length of the salt per hash algorithm, used in OpenPGP v6 signatures. |
boolean |
saltSizeMatchesSpec(int hashAlgorithm,
int saltSize)
Return true, if the encountered saltLength matches the value the specification gives for the hashAlgorithm. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HashUtils()
| Method Detail |
public static int getV6SignatureSaltSizeInBytes(int hashAlgorithm)
hashAlgorithm - hash algorithm tag
public boolean saltSizeMatchesSpec(int hashAlgorithm,
int saltSize)
hashAlgorithm - hash algorithm tagsaltSize - encountered salt size
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||