| Modifier and Type | Field and Description |
|---|---|
| private static final BigInteger | |
| private CramerShoupKeyGenerationParameters |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private CramerShoupPublicKeyParameters | |
| public AsymmetricCipherKeyPair | generateKeyPair()
Implements org. |
| private CramerShoupPrivateKeyParameters | |
| private BigInteger | |
| public void | init(KeyGenerationParameters
the parameters the key pair is to be initialised with. param)Implements org. |
| ONE | back to summary |
|---|---|
| private static final BigInteger ONE | |
| param | back to summary |
|---|---|
| private CramerShoupKeyGenerationParameters param | |
| CramerShoupKeyPairGenerator | back to summary |
|---|---|
| public CramerShoupKeyPairGenerator() | |
| calculatePublicKey | back to summary |
|---|---|
| private CramerShoupPublicKeyParameters calculatePublicKey(CramerShoupParameters csParams, CramerShoupPrivateKeyParameters sk) | |
| generateKeyPair | back to summary |
|---|---|
| public AsymmetricCipherKeyPair generateKeyPair() Implements org. Doc from org. return an AsymmetricCipherKeyPair containing the generated keys.
| |
| generatePrivateKey | back to summary |
|---|---|
| private CramerShoupPrivateKeyParameters generatePrivateKey(SecureRandom random, CramerShoupParameters csParams) | |
| generateRandomElement | back to summary |
|---|---|
| private BigInteger generateRandomElement(BigInteger p, SecureRandom random) | |
| init | back to summary |
|---|---|
| public void init(KeyGenerationParameters param) Implements org. Doc from org. intialise the key pair generator.
| |