Class GordianSymCipherSpecBuilder
java.lang.Object
io.github.tonywasher.joceanus.gordianknot.api.cipher.GordianSymCipherSpecBuilder
The SymCipherSpec Builder class.
-
Method Summary
Modifier and TypeMethodDescriptionstatic GordianSymCipherSpeccbc(GordianSymKeySpec pKeySpec, GordianPadding pPadding) Create a CBC symKey cipherSpec.static GordianSymCipherSpecccm(GordianSymKeySpec pKeySpec) Create a CCM symKey cipherSpec.static GordianSymCipherSpeccfb(GordianSymKeySpec pKeySpec) Create a CFB symKey cipherSpec.static GordianSymCipherSpeceax(GordianSymKeySpec pKeySpec) Create an EAX symKey cipherSpec.static GordianSymCipherSpececb(GordianSymKeySpec pKeySpec, GordianPadding pPadding) Create an ECB symKey cipherSpec.static GordianSymCipherSpecgcfb(GordianSymKeySpec pKeySpec) Create a GCFB symKey cipherSpec.static GordianSymCipherSpecgcm(GordianSymKeySpec pKeySpec) Create a GCM symKey cipherSpec.static GordianSymCipherSpecgofb(GordianSymKeySpec pKeySpec) Create a GOFB symKey cipherSpec.static GordianSymCipherSpeckccm(GordianSymKeySpec pKeySpec) Create a KCCM symKey cipherSpec.static GordianSymCipherSpeckctr(GordianSymKeySpec pKeySpec) Create a KCTR symKey cipherSpec.static GordianSymCipherSpeckgcm(GordianSymKeySpec pKeySpec) Create a KGCM symKey cipherSpec.static GordianSymCipherSpecocb(GordianSymKeySpec pKeySpec) Create an OCB symKey cipherSpec.static GordianSymCipherSpecofb(GordianSymKeySpec pKeySpec) Create a OFB symKey cipherSpec.static GordianSymCipherSpecsic(GordianSymKeySpec pKeySpec) Create a SIC symKey cipherSpec.
-
Method Details
-
ecb
Create an ECB symKey cipherSpec.- Parameters:
pKeySpec- the keySpecpPadding- the padding- Returns:
- the cipherSpec
-
cbc
Create a CBC symKey cipherSpec.- Parameters:
pKeySpec- the keySpecpPadding- the padding- Returns:
- the cipherSpec
-
cfb
Create a CFB symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
gcfb
Create a GCFB symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
ofb
Create a OFB symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
gofb
Create a GOFB symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
sic
Create a SIC symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
kctr
Create a KCTR symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
ccm
Create a CCM symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
kccm
Create a KCCM symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
gcm
Create a GCM symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
kgcm
Create a KGCM symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
eax
Create an EAX symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-
ocb
Create an OCB symKey cipherSpec.- Parameters:
pKeySpec- the keySpec- Returns:
- the cipherSpec
-