| Modifier and Type | Class and Description |
|---|---|
| public static class | SipHash.
Parameters for SipHash MAC modes. |
| public static class | SipHash.
SipHash key generator. |
| public static class | SipHash.
Factory for producing SipHash MAC calculators. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | |
| public static final GeneralAlgorithm | |
| public static final GeneralAlgorithm |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static ValidatedSymmetricKey |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM | |
| SIPHASH_2_4 | back to summary |
|---|---|
| public static final GeneralAlgorithm SIPHASH_2_4 | |
| SIPHASH_4_8 | back to summary |
|---|---|
| public static final GeneralAlgorithm SIPHASH_4_8 | |
| SipHash | back to summary |
|---|---|
| private SipHash() | |
| invalidKeySize | back to summary |
|---|---|
| private static boolean invalidKeySize(int keyLength) | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, Parameters parameters) | |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| private | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | getMACSizeInBits()
Implements org. |
| public SipHash. | withMACSize(int
bit length of the MAC length. macSizeInBits)Implements org. |
| macSizeInBits | back to summary |
|---|---|
| private final int macSizeInBits | |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, int macSizeInBits) | |
| AuthParameters | back to summary |
|---|---|
| public AuthParameters() | |
| AuthParameters | back to summary |
|---|---|
| public AuthParameters(GeneralAlgorithm algorithm) | |
| getMACSizeInBits | back to summary |
|---|---|
| public int getMACSizeInBits() Implements org. Doc from org. Return the size of the MAC these parameters are for.
| |
| withMACSize | back to summary |
|---|---|
| public SipHash. Implements org. Doc from org. Create a parameter set with the specified MAC size associated with it.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final GeneralAlgorithm | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SymmetricKey | doGenerateKey()
Implements abstract org. |
| algorithm | back to summary |
|---|---|
| private final GeneralAlgorithm algorithm | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(GeneralAlgorithm algorithm, SecureRandom random) | |
| doGenerateKey | back to summary |
|---|---|
| public SymmetricKey doGenerateKey() Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | calculateMACSize(SipHash.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final SipHash.
Implements abstract org. |
| private Mac |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(SipHash. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final SipHash. Implements abstract org.
| |
| getMac | back to summary |
|---|---|
| private Mac getMac(SipHash. | |