| Modifier and Type | Class and Description |
|---|---|
| public static class | GOST28147.
Factory for GOST28147 AEAD encryption/decryption operators. |
| public static class | GOST28147.
Parameters for GOST28147 AEAD and MAC modes. |
| private static class | |
| public static class | GOST28147.
GOST28147 key generator. |
| public static class | GOST28147.
Factory for producing GOST28147 MAC calculators. |
| public static class | GOST28147.
Factory for basic GOST28147 encryption/decryption operators. |
| public static class | GOST28147.
Parameters for general GOST28147 block cipher modes. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | ALGORITHM
Raw GOST28147 algorithm, can be used for creating general purpose GOST28147 keys. |
| public static final GOST28147. | CBC
GOST28147 in cipher block chaining (CBC) mode. |
| public static final GOST28147. | CBCwithCS1
GOST28147 in cipher block chaining mode cipher text stealing type 1. |
| public static final GOST28147. | CBCwithCS2
GOST28147 in cipher block chaining mode cipher text stealing type 2. |
| public static final GOST28147. | CBCwithCS3
GOST28147 in cipher block chaining mode cipher text stealing type 3. |
| public static final GOST28147. | CBCwithISO10126_2
GOST28147 in cipher block chaining mode with ISO10126-2 padding. |
| public static final GOST28147. | CBCwithISO7816_4
GOST28147 in cipher block chaining mode with ISO7816-4 padding. |
| public static final GOST28147. | CBCwithPKCS7
GOST28147 in cipher block chaining mode with PKCS#7/PKCS#5 padding. |
| public static final GOST28147. | CBCwithTBC
GOST28147 in cipher block chaining mode with trailing bit complement (TBC) padding. |
| public static final GOST28147. | CBCwithX923
GOST28147 in cipher block chaining mode with X9.23 padding. |
| public static final GOST28147. | CFB64
GOST28147 in cipher feedback (CFB) mode, 64 bit block size. |
| public static final GOST28147. | CFB8
GOST28147 in cipher feedback (CFB) mode, 8 bit block size. |
| public static final GOST28147. | CMAC
GOST28147 cipher-based MAC algorithm. |
| public static final GOST28147. | CTR
GOST28147 in counter (CTR) mode. |
| private static byte[] | |
| private static byte[] | |
| public static final GOST28147. | EAX
GOST28147 in EAX mode.. |
| public static final GOST28147. | ECB
GOST28147 in electronic code book (ECB) mode. |
| public static final GOST28147. | ECBwithISO10126_2
GOST28147 in electronic code book mode with ISO10126-2 padding. |
| public static final GOST28147. | ECBwithISO7816_4
GOST28147 in electronic code book mode with ISO7816-4 padding. |
| public static final GOST28147. | ECBwithPKCS7
GOST28147 in electronic code book mode with PKCS#7/PKCS#5 padding. |
| public static final GOST28147. | ECBwithTBC
GOST28147 in electronic code book mode with trailing bit complement (TBC) padding. |
| public static final GOST28147. | ECBwithX923
GOST28147 in electronic code book mode with X9.23 padding. |
| private static final GOST28147. | |
| private static byte[] | |
| private static byte[] | |
| private static byte[] | |
| private static byte[] | |
| private static byte[] | |
| public static final GOST28147. | GCFB
Standard GOST28147 GOST-CFB mode |
| public static final GOST28147. | GOFB
Standard GOST28147 GOST-OFB mode |
| public static final GOST28147. | MAC
Standard GOST28147 MAC algorithm |
| private static Map | |
| public static final GOST28147. | OFB
GOST28147 in output feedback (OFB) mode. |
| private static Map | |
| private static byte[] | |
| private static byte[] | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static KeyParameter | |
| public static byte[] | |
| public static byte[] | Returns: byte array representing the S-Boxan object identifier associated with an S-Box. sBoxOID)Return the S-Box associated with SBox OID. |
| public static String | |
| public static ASN1ObjectIdentifier | |
| public static ASN1ObjectIdentifier | |
| private static GOST28147Parameters |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw GOST28147 algorithm, can be used for creating general purpose GOST28147 keys. | |
| CBC | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining (CBC) mode. | |
| CBCwithCS1 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode cipher text stealing type 1. | |
| CBCwithCS2 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode cipher text stealing type 2. | |
| CBCwithCS3 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode cipher text stealing type 3. | |
| CBCwithISO10126_2 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode with ISO10126-2 padding. | |
| CBCwithISO7816_4 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode with ISO7816-4 padding. | |
| CBCwithPKCS7 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode with PKCS#7/PKCS#5 padding. | |
| CBCwithTBC | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode with trailing bit complement (TBC) padding. | |
| CBCwithX923 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher block chaining mode with X9.23 padding. | |
| CFB64 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher feedback (CFB) mode, 64 bit block size. | |
| CFB8 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in cipher feedback (CFB) mode, 8 bit block size. | |
| CMAC | back to summary |
|---|---|
| public static final GOST28147. GOST28147 cipher-based MAC algorithm. | |
| CTR | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in counter (CTR) mode. | |
| DSbox_A | back to summary |
|---|---|
| private static byte[] DSbox_A | |
| DSbox_Test | back to summary |
|---|---|
| private static byte[] DSbox_Test | |
| EAX | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in EAX mode.. | |
| ECB | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book (ECB) mode. | |
| ECBwithISO10126_2 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book mode with ISO10126-2 padding. | |
| ECBwithISO7816_4 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book mode with ISO7816-4 padding. | |
| ECBwithPKCS7 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book mode with PKCS#7/PKCS#5 padding. | |
| ECBwithTBC | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book mode with trailing bit complement (TBC) padding. | |
| ECBwithX923 | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in electronic code book mode with X9.23 padding. | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final GOST28147. | |
| ESbox_A | back to summary |
|---|---|
| private static byte[] ESbox_A | |
| ESbox_B | back to summary |
|---|---|
| private static byte[] ESbox_B | |
| ESbox_C | back to summary |
|---|---|
| private static byte[] ESbox_C | |
| ESbox_D | back to summary |
|---|---|
| private static byte[] ESbox_D | |
| ESbox_Test | back to summary |
|---|---|
| private static byte[] ESbox_Test | |
| GCFB | back to summary |
|---|---|
| public static final GOST28147. Standard GOST28147 GOST-CFB mode | |
| GOFB | back to summary |
|---|---|
| public static final GOST28147. Standard GOST28147 GOST-OFB mode | |
| MAC | back to summary |
|---|---|
| public static final GOST28147. Standard GOST28147 MAC algorithm | |
| nameMappings | back to summary |
|---|---|
| private static Map<String, ASN1ObjectIdentifier> nameMappings | |
| OFB | back to summary |
|---|---|
| public static final GOST28147. GOST28147 in output feedback (OFB) mode. | |
| oidMappings | back to summary |
|---|---|
| private static Map<ASN1ObjectIdentifier, String> oidMappings | |
| Param_Z | back to summary |
|---|---|
| private static byte[] Param_Z | |
| Sbox_Default | back to summary |
|---|---|
| private static byte[] Sbox_Default | |
| sBoxes | back to summary |
|---|---|
| private static Map<String, byte[]> sBoxes | |
| GOST28147 | back to summary |
|---|---|
| private GOST28147() | |
| addSBox | back to summary |
|---|---|
| private static void addSBox(String sBoxName, byte[] sBox) | |
| createGOST28147Parameters | back to summary |
|---|---|
| private static KeyParameter createGOST28147Parameters(SymmetricKey key, Algorithm algorithm, byte[] sBox) | |
| getSBox | back to summary |
|---|---|
| public static byte[] getSBox(String sBoxName) Return the S-Box associated with SBoxName
| |
| getSBox | back to summary |
|---|---|
| public static byte[] getSBox(ASN1ObjectIdentifier sBoxOID) Return the S-Box associated with SBox OID.
| |
| getSBoxName | back to summary |
|---|---|
| public static String getSBoxName(ASN1ObjectIdentifier oid) | |
| getSBoxOID | back to summary |
|---|---|
| public static ASN1ObjectIdentifier getSBoxOID(String name) | |
| getSBoxOID | back to summary |
|---|---|
| public static ASN1ObjectIdentifier getSBoxOID(byte[] sBox) | |
| validateKey | back to summary |
|---|---|
| private static GOST28147Parameters validateKey(SymmetricKey key, Algorithm genAlgorithm, byte[] sBox) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AEADBlockCipher | createAEADCipher(boolean forEncryption, SymmetricKey key, GOST28147.
Implements abstract org. |
| AEADOperatorFactory | back to summary |
|---|---|
| public AEADOperatorFactory() | |
| createAEADCipher | back to summary |
|---|---|
| protected AEADBlockCipher createAEADCipher(boolean forEncryption, SymmetricKey key, GOST28147. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv | |
| public | AuthParameters(GeneralAlgorithm
algorithm mode. algorithm, byte[] alternate sBox to use. sBox)Base constructor - the algorithm, null IV. |
| Modifier and Type | Method and Description |
|---|---|
| protected GOST28147. | create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
Implements abstract org. |
| public byte[] | |
| public GOST28147. |
| sBox | back to summary |
|---|---|
| private final byte[] sBox | |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, byte[] iv, int tagLenInBits, byte[] sBox) | |
| AuthParameters | back to summary |
|---|---|
| pack-priv AuthParameters(GeneralAlgorithm algorithm) Base constructor - the algorithm, null IV. In this case the tag length defaults to the 64 for CMAC, 32 bits otherwise.
| |
| AuthParameters | back to summary |
|---|---|
| public AuthParameters(GeneralAlgorithm algorithm, byte[] sBox) Base constructor - the algorithm, null IV. In this case the tag length defaults to the 64 for CMAC, 32 bits otherwise.
| |
| create | back to summary |
|---|---|
| protected GOST28147. Implements abstract org. | |
| getSBox | back to summary |
|---|---|
| public byte[] getSBox() | |
| withSBox | back to summary |
|---|---|
| public GOST28147. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BlockCipher |
| EngineProvider | back to summary |
|---|---|
| private EngineProvider() | |
| createEngine | back to summary |
|---|---|
| public BlockCipher createEngine() Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final Algorithm | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected SymmetricKey | doGenerateKey()
Implements abstract org. |
| algorithm | back to summary |
|---|---|
| private final Algorithm algorithm | |
| 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> algorithm, SecureRandom random) | |
| doGenerateKey | back to summary |
|---|---|
| protected SymmetricKey doGenerateKey() Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | calculateMACSize(GOST28147.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final GOST28147.
Implements abstract org. |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(GOST28147. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final GOST28147. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BufferedBlockCipher | createCipher(boolean forEncryption, SymmetricKey key, GOST28147.
Implements abstract org. |
| OperatorFactory | back to summary |
|---|---|
| public OperatorFactory() | |
| createCipher | back to summary |
|---|---|
| protected BufferedBlockCipher createCipher(boolean forEncryption, SymmetricKey key, GOST28147. Implements abstract org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | getIV()
Implements org. |
| public byte[] | |
| public GOST28147. | withIV(byte[]
the IV to use. iv)Implements org. |
| public GOST28147. | withIV(SecureRandom
the SecureRandom to use as the source of IV data. random)Implements org. |
| public GOST28147. |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| sBox | back to summary |
|---|---|
| private final byte[] sBox | |
| Parameters | back to summary |
|---|---|
| pack-priv Parameters(GeneralAlgorithm algorithm) | |
| Parameters | back to summary |
|---|---|
| private Parameters(GOST28147. | |
| getIV | back to summary |
|---|---|
| public byte[] getIV() Implements org. Doc from org. Return the initialization vector associated with this parameter set.
| |
| getSBox | back to summary |
|---|---|
| public byte[] getSBox() | |
| withIV | back to summary |
|---|---|
| public GOST28147. Implements org. Doc from org. Create a new parameter set with a different IV.
| |
| withIV | back to summary |
|---|---|
| public GOST28147. Implements org. Doc from org. Create a new parameter set with a different IV based on the output of the passed in random.
| |
| withSBox | back to summary |
|---|---|
| public GOST28147. | |