public final class GOST28147
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GOST28147.AEADOperatorFactory
Factory for GOST28147 AEAD encryption/decryption operators.
|
static class |
GOST28147.AuthParameters
Parameters for GOST28147 AEAD and MAC modes.
|
static class |
GOST28147.KeyGenerator
GOST28147 key generator.
|
static class |
GOST28147.MACOperatorFactory
Factory for producing GOST28147 MAC calculators.
|
static class |
GOST28147.OperatorFactory
Factory for basic GOST28147 encryption/decryption operators.
|
static class |
GOST28147.Parameters
Parameters for general GOST28147 block cipher modes.
|
Modifier and Type | Field and Description |
---|---|
static GeneralAlgorithm |
ALGORITHM
Raw GOST28147 algorithm, can be used for creating general purpose GOST28147 keys.
|
static GOST28147.Parameters |
CBC
GOST28147 in cipher block chaining (CBC) mode.
|
static GOST28147.Parameters |
CBCwithCS1
GOST28147 in cipher block chaining mode cipher text stealing type 1.
|
static GOST28147.Parameters |
CBCwithCS2
GOST28147 in cipher block chaining mode cipher text stealing type 2.
|
static GOST28147.Parameters |
CBCwithCS3
GOST28147 in cipher block chaining mode cipher text stealing type 3.
|
static GOST28147.Parameters |
CBCwithISO10126_2
GOST28147 in cipher block chaining mode with ISO10126-2 padding.
|
static GOST28147.Parameters |
CBCwithISO7816_4
GOST28147 in cipher block chaining mode with ISO7816-4 padding.
|
static GOST28147.Parameters |
CBCwithPKCS7
GOST28147 in cipher block chaining mode with PKCS#7/PKCS#5 padding.
|
static GOST28147.Parameters |
CBCwithTBC
GOST28147 in cipher block chaining mode with trailing bit complement (TBC) padding.
|
static GOST28147.Parameters |
CBCwithX923
GOST28147 in cipher block chaining mode with X9.23 padding.
|
static GOST28147.Parameters |
CFB64
GOST28147 in cipher feedback (CFB) mode, 64 bit block size.
|
static GOST28147.Parameters |
CFB8
GOST28147 in cipher feedback (CFB) mode, 8 bit block size.
|
static GOST28147.AuthParameters |
CMAC
GOST28147 cipher-based MAC algorithm.
|
static GOST28147.Parameters |
CTR
GOST28147 in counter (CTR) mode.
|
static GOST28147.AuthParameters |
EAX
GOST28147 in EAX mode..
|
static GOST28147.Parameters |
ECB
GOST28147 in electronic code book (ECB) mode.
|
static GOST28147.Parameters |
ECBwithISO10126_2
GOST28147 in electronic code book mode with ISO10126-2 padding.
|
static GOST28147.Parameters |
ECBwithISO7816_4
GOST28147 in electronic code book mode with ISO7816-4 padding.
|
static GOST28147.Parameters |
ECBwithPKCS7
GOST28147 in electronic code book mode with PKCS#7/PKCS#5 padding.
|
static GOST28147.Parameters |
ECBwithTBC
GOST28147 in electronic code book mode with trailing bit complement (TBC) padding.
|
static GOST28147.Parameters |
ECBwithX923
GOST28147 in electronic code book mode with X9.23 padding.
|
static GOST28147.Parameters |
GCFB
Standard GOST28147 GOST-CFB mode
|
static GOST28147.Parameters |
GOFB
Standard GOST28147 GOST-OFB mode
|
static GOST28147.AuthParameters |
MAC
Standard GOST28147 MAC algorithm
|
static GOST28147.Parameters |
OFB
GOST28147 in output feedback (OFB) mode.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
getSBox(ASN1ObjectIdentifier sBoxOID)
Return the S-Box associated with SBox OID.
|
static byte[] |
getSBox(java.lang.String sBoxName)
Return the S-Box associated with SBoxName
|
static java.lang.String |
getSBoxName(ASN1ObjectIdentifier oid) |
static ASN1ObjectIdentifier |
getSBoxOID(byte[] sBox) |
static ASN1ObjectIdentifier |
getSBoxOID(java.lang.String name) |
public static final GeneralAlgorithm ALGORITHM
public static final GOST28147.Parameters ECB
public static final GOST28147.Parameters ECBwithPKCS7
public static final GOST28147.Parameters ECBwithISO10126_2
public static final GOST28147.Parameters ECBwithX923
public static final GOST28147.Parameters ECBwithISO7816_4
public static final GOST28147.Parameters ECBwithTBC
public static final GOST28147.Parameters CBC
public static final GOST28147.Parameters CBCwithPKCS7
public static final GOST28147.Parameters CBCwithISO10126_2
public static final GOST28147.Parameters CBCwithX923
public static final GOST28147.Parameters CBCwithISO7816_4
public static final GOST28147.Parameters CBCwithTBC
public static final GOST28147.Parameters CBCwithCS1
public static final GOST28147.Parameters CBCwithCS2
public static final GOST28147.Parameters CBCwithCS3
public static final GOST28147.Parameters CFB8
public static final GOST28147.Parameters CFB64
public static final GOST28147.Parameters OFB
public static final GOST28147.Parameters CTR
public static final GOST28147.AuthParameters EAX
public static final GOST28147.AuthParameters CMAC
public static final GOST28147.Parameters GCFB
public static final GOST28147.Parameters GOFB
public static final GOST28147.AuthParameters MAC
public static byte[] getSBox(java.lang.String sBoxName)
sBoxName
- name of the S-Boxpublic static byte[] getSBox(ASN1ObjectIdentifier sBoxOID)
sBoxOID
- an object identifier associated with an S-Box.public static java.lang.String getSBoxName(ASN1ObjectIdentifier oid)
public static ASN1ObjectIdentifier getSBoxOID(java.lang.String name)
public static ASN1ObjectIdentifier getSBoxOID(byte[] sBox)