| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final EngineProvider | |
| public static final GeneralAlgorithm | ALGORITHM
Raw Poly1305 algorithm, can be used for creating general purpose Poly1305 keys. |
| private static final EngineProvider | |
| private static final EngineProvider | |
| public static final Poly1305. | |
| public static final Poly1305. | |
| public static final Poly1305. | |
| public static final Poly1305. | |
| public static final Poly1305. | |
| public static final Poly1305. | |
| private static final EngineProvider | |
| private static final EngineProvider | |
| private static final EngineProvider |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static ValidatedSymmetricKey |
| AES_ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> AES_ENGINE_PROVIDER | |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw Poly1305 algorithm, can be used for creating general purpose Poly1305 keys. | |
| CAMILLIA_ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> CAMILLIA_ENGINE_PROVIDER | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> ENGINE_PROVIDER | |
| MAC | back to summary |
|---|---|
| public static final Poly1305. | |
| MACwithAES | back to summary |
|---|---|
| public static final Poly1305. | |
| MACwithCAMELLIA | back to summary |
|---|---|
| public static final Poly1305. | |
| MACwithSEED | back to summary |
|---|---|
| public static final Poly1305. | |
| MACwithSerpent | back to summary |
|---|---|
| public static final Poly1305. | |
| MACwithTwofish | back to summary |
|---|---|
| public static final Poly1305. | |
| SEED_ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> SEED_ENGINE_PROVIDER | |
| SERPENT_ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> SERPENT_ENGINE_PROVIDER | |
| TWOFISH_ENGINE_PROVIDER | back to summary |
|---|---|
| private static final EngineProvider<T> TWOFISH_ENGINE_PROVIDER | |
| Poly1305 | back to summary |
|---|---|
| private Poly1305() | |
| invalidKeySize | back to summary |
|---|---|
| private static boolean invalidKeySize(int keyLength) | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, Algorithm algorithm) | |
| Modifier and Type | Field and Description |
|---|---|
| private final EngineProvider | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| private | AuthParameters(GeneralAlgorithm algorithm, boolean ivRequired, byte[] iv, int tagLenInBits, EngineProvider<T> engineProvider)
|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected Poly1305. | create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
Implements abstract org. |
| engineProvider | back to summary |
|---|---|
| private final EngineProvider<T> engineProvider | |
| ivRequired | back to summary |
|---|---|
| private final boolean ivRequired | |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, boolean ivRequired, byte[] iv, int tagLenInBits, EngineProvider<T> engineProvider) | |
| AuthParameters | back to summary |
|---|---|
| pack-priv AuthParameters(GeneralAlgorithm algorithm) Base constructor - the algorithm, null IV. In this case the tag length defaults to the 128.
| |
| AuthParameters | back to summary |
|---|---|
| pack-priv AuthParameters(GeneralAlgorithm algorithm, EngineProvider<T> engineProvider) | |
| create | back to summary |
|---|---|
| protected Poly1305. Implements abstract org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final GeneralAlgorithm | |
| private static final int | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SymmetricKey | doGenerateKey()
Implements abstract org. |
| algorithm | back to summary |
|---|---|
| private final GeneralAlgorithm algorithm | |
| keySizeInBits | back to summary |
|---|---|
| private static final int keySizeInBits | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(GeneralParameters<T extends Algorithm> parameterSet, SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| private 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(Poly1305.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final Poly1305.
Implements abstract org. |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(Poly1305. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final Poly1305. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final byte[] | |
| pack-priv static final byte[] | |
| pack-priv static final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Mac |
| input | back to summary |
|---|---|
| pack-priv static final byte[] input | |
| key | back to summary |
|---|---|
| pack-priv static final byte[] key | |
| output | back to summary |
|---|---|
| pack-priv static final byte[] output | |
| Poly1305EngineProvider | back to summary |
|---|---|
| private Poly1305EngineProvider() | |
| createEngine | back to summary |
|---|---|
| public Mac createEngine() Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final BlockCipher | |
| private static final byte[] | |
| private static final byte[] | |
| private static final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Mac |
| engine | back to summary |
|---|---|
| private final BlockCipher engine | |
| input | back to summary |
|---|---|
| private static final byte[] input | |
| iv | back to summary |
|---|---|
| private static final byte[] iv | |
| key | back to summary |
|---|---|
| private static final byte[] key | |
| output | back to summary |
|---|---|
| private final byte[] output | |
| Poly1305WithCipherEngineProvider | back to summary |
|---|---|
| public Poly1305WithCipherEngineProvider(BlockCipher engine, byte[] output) | |
| createEngine | back to summary |
|---|---|
| public Mac createEngine() Implements org. | |