public interface SDesFactory
| Modifier and Type | Method and Description |
|---|---|
CryptoAttribute |
createCryptoAttribute()
Creates an empty crypto attribute for the grammar implementing this interface.
|
CryptoSuite |
createCryptoSuite(String suite)
Creates a crypto suite instance for the grammar implementing this interface.
|
KeyParam |
createKeyParam(String keyParam)
Creates a key parameter instance for the grammar implementing this interface.
|
KeyParam[] |
createKeyParamArray(int size)
Utility method to create a typed array of
KeyParameters. |
SessionParam |
createSessionParam(String sessionParam)
Creates a session parameter instance for the grammar implementing this interface.
|
SessionParam[] |
createSessionParamArray(int size)
Utility method to create a typed array of
SessionParams. |
void |
setRandomGenerator(Random r)
Sets the random number generator to be used for generating the SDES keys.
|
CryptoSuite createCryptoSuite(String suite)
suite - The suite name that defines the cryptographic parameters.KeyParam createKeyParam(String keyParam)
keyParam - The textual representation of the key parameter field.KeyParam[] createKeyParamArray(int size)
KeyParameters.size - The size of the array to create.SessionParam createSessionParam(String sessionParam)
sessionParam - The textual representation of the session parameter.SessionParam[] createSessionParamArray(int size)
SessionParams.size - The size of the array to create.CryptoAttribute createCryptoAttribute()
void setRandomGenerator(Random r)
r - The random number generator.Copyright © 2016 University of Applied Sciences Northwestern Switzerland. All rights reserved.