Top Description Inners Fields Constructors Methods
org.bouncycastle.crypto.general

public final Class ElGamal

extends Object
Class Inheritance
Imports
java.security.SecureRandom, org.bouncycastle.crypto.Algorithm, .AsymmetricKey, .CryptoServicesRegistrar, .DigestAlgorithm, .InvalidCipherTextException, .InvalidWrappingException, .KeyUnwrapperUsingSecureRandom, .KeyWrapperUsingSecureRandom, .PlainInputProcessingException, .SingleBlockDecryptor, org.bouncycastle.crypto.asymmetric.AsymmetricDHKey, .AsymmetricDHPrivateKey, .AsymmetricDHPublicKey, .AsymmetricKeyPair, .DHDomainParameters, org.bouncycastle.crypto.fips.FipsDH, .FipsSHS, .FipsStatus, .FipsUnapprovedOperationError, org.bouncycastle.crypto.internal.AsymmetricBlockCipher, .CipherParameters, org.bouncycastle.crypto.internal.encodings.OAEPEncoding, .PKCS1Encoding, org.bouncycastle.crypto.internal.params.ParametersWithRandom, org.bouncycastle.util.Arrays

Source class for implementations of ElGamal based algorithms.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ElGamal.KeyGenParameters

ElGamal key pair generation parameters.

public static class
ElGamal.KeyPairGenerator

ElGamal key pair generator class.

public static class
ElGamal.KeyWrapOperatorFactory

Factory for creating ElGamal key wrap/unwrap operators.

public static class
ElGamal.OAEPParameters

Parameters for use with OAEP formatted key wrapping/unwrapping and encryption/decryption.

public static class
ElGamal.OperatorFactory

Factory for creating ElGamal encryption/decryption operators.

public static class
ElGamal.Parameters

Base class for ElGamal encryption/decryption and key wrap/unwrap parameters.

public static class
ElGamal.PKCS1v15Parameters

Parameters for use with PKCS#1 v1.5 formatted key wrapping/unwrapping and encryption/decryption.

public static class
ElGamal.RawParameters

Parameters for use with unformatted encryption/decryption.

private static enum
public static interface
ElGamal.WrapParameters

Marker interface for parameters that can also be used for key wrapping.

Field Summary

Modifier and TypeField and Description
public static final GeneralAlgorithm
ALGORITHM

Basic ElGamal key marker, can be used for creating general purpose ElGamal keys.

private static final GeneralAlgorithm
private static final GeneralAlgorithm
public static final ElGamal.RawParameters
RAW

RAW ElGamal algorithm parameter source.

public static final ElGamal.OAEPParameters
WRAP_OAEP

PKCS#1 v1.5 ElGamal algorithm parameter source.

public static final ElGamal.PKCS1v15Parameters
WRAP_PKCS1v1_5

OAEP ElGamal algorithm parameter source - default digest is SHA-1

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static AsymmetricBlockCipher
createCipher(boolean forEncryption, AsymmetricKey key, ElGamal.Parameters parameters, SecureRandom random)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ALGORITHMback to summary
public static final GeneralAlgorithm ALGORITHM

Basic ElGamal key marker, can be used for creating general purpose ElGamal keys.

ALGORITHM_OAEPback to summary
private static final GeneralAlgorithm ALGORITHM_OAEP
PKCS1v1_5back to summary
private static final GeneralAlgorithm PKCS1v1_5
RAWback to summary
public static final ElGamal.RawParameters RAW

RAW ElGamal algorithm parameter source.

WRAP_OAEPback to summary
public static final ElGamal.OAEPParameters WRAP_OAEP

PKCS#1 v1.5 ElGamal algorithm parameter source.

WRAP_PKCS1v1_5back to summary
public static final ElGamal.PKCS1v15Parameters WRAP_PKCS1v1_5

OAEP ElGamal algorithm parameter source - default digest is SHA-1

Constructor Detail

ElGamalback to summary
private ElGamal()

Method Detail

createCipherback to summary
private static AsymmetricBlockCipher createCipher(boolean forEncryption, AsymmetricKey key, ElGamal.Parameters parameters, SecureRandom random)
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.KeyGenParameters

extends GeneralParameters
Class Inheritance

ElGamal key pair generation parameters.

Field Summary

Modifier and TypeField and Description
private DHDomainParameters

Constructor Summary

AccessConstructor and Description
public
KeyGenParameters(DHDomainParameters
the DH domain parameters.
domainParameters
)

Base constructor for specific domain parameters.

public
KeyGenParameters(ElGamal.Parameters
the particular parameter set to generate keys for.
parameters
,
DHDomainParameters
DH domain parameters representing the curve any generated keys will be for.
domainParameters
)

Constructor for specifying the ElGamal algorithm explicitly.

Method Summary

Modifier and TypeMethod and Description
public DHDomainParameters
Inherited from org.bouncycastle.crypto.general.GeneralParameters:
getAlgorithm

Field Detail

domainParametersback to summary
private DHDomainParameters domainParameters

Constructor Detail

KeyGenParametersback to summary
public KeyGenParameters(DHDomainParameters domainParameters)

Base constructor for specific domain parameters.

Parameters
domainParameters:DHDomainParameters

the DH domain parameters.

KeyGenParametersback to summary
public KeyGenParameters(ElGamal.Parameters parameters, DHDomainParameters domainParameters)

Constructor for specifying the ElGamal algorithm explicitly.

Parameters
parameters:ElGamal.Parameters

the particular parameter set to generate keys for.

domainParameters:DHDomainParameters

DH domain parameters representing the curve any generated keys will be for.

Method Detail

getDomainParametersback to summary
public DHDomainParameters getDomainParameters()
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.KeyPairGenerator

extends GuardedAsymmetricKeyPairGenerator<ElGamal.KeyGenParameters, AsymmetricDHPublicKey, AsymmetricDHPrivateKey>
Class Inheritance

ElGamal key pair generator class.

Field Summary

Modifier and TypeField and Description
private final FipsDH.KeyPairGenerator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected AsymmetricKeyPair<AsymmetricDHPublicKey, AsymmetricDHPrivateKey>
Inherited from org.bouncycastle.crypto.general.GuardedAsymmetricKeyPairGenerator:
generateKeyPairgetParameters

Field Detail

kpGenback to summary
private final FipsDH.KeyPairGenerator kpGen

Constructor Detail

KeyPairGeneratorback to summary
public KeyPairGenerator(ElGamal.KeyGenParameters keyGenParameters, SecureRandom random)

Method Detail

doGenerateKeyPairback to summary
protected AsymmetricKeyPair<AsymmetricDHPublicKey, AsymmetricDHPrivateKey> doGenerateKeyPair()

Implements abstract org.bouncycastle.crypto.general.GuardedAsymmetricKeyPairGenerator.doGenerateKeyPair.

Annotations
@Override
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.KeyWrapOperatorFactory

extends Object
implements KeyWrapOperatorFactory<ElGamal.WrapParameters, AsymmetricDHKey>
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory
All Implemented Interfaces
org.bouncycastle.crypto.KeyWrapOperatorFactory

Factory for creating ElGamal key wrap/unwrap operators.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class
private class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters>
createKeyUnwrapper(AsymmetricDHKey
the key to initialize the un-wrapper with.
key
,
ElGamal.WrapParameters
the parameters to initialize the un-wrapper with.
parameters
)

Implements org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyUnwrapper.

Create a key un-wrapper using the passed in key and parameters.
public KeyWrapperUsingSecureRandom<ElGamal.WrapParameters>
createKeyWrapper(AsymmetricDHKey
the key to initialize the wrapper with.
key
,
ElGamal.WrapParameters
the parameters to initialize the wrapper with.
parameters
)

Implements org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyWrapper.

Create a key wrapper using the passed in key and parameters.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

KeyWrapOperatorFactoryback to summary
public KeyWrapOperatorFactory()

Method Detail

createKeyUnwrapperback to summary
public KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters> createKeyUnwrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters)

Implements org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyUnwrapper.

Doc from org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyUnwrapper.

Create a key un-wrapper using the passed in key and parameters.

Parameters
key:AsymmetricDHKey

the key to initialize the un-wrapper with.

parameters:ElGamal.WrapParameters

the parameters to initialize the un-wrapper with.

Returns:KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters>

an initialized key un-wrapper.

createKeyWrapperback to summary
public KeyWrapperUsingSecureRandom<ElGamal.WrapParameters> createKeyWrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters)

Implements org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyWrapper.

Doc from org.bouncycastle.crypto.KeyWrapOperatorFactory.createKeyWrapper.

Create a key wrapper using the passed in key and parameters.

Parameters
key:AsymmetricDHKey

the key to initialize the wrapper with.

parameters:ElGamal.WrapParameters

the parameters to initialize the wrapper with.

Returns:KeyWrapperUsingSecureRandom<ElGamal.WrapParameters>

an initialized key wrapper.

org.bouncycastle.crypto.general back to summary

private Class ElGamal.KeyWrapOperatorFactory.KeyUnwrapper

extends Object
implements KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters>
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory.KeyUnwrapper
All Implemented Interfaces
org.bouncycastle.crypto.KeyUnwrapperUsingSecureRandom, org.bouncycastle.crypto.OperatorUsingSecureRandom, org.bouncycastle.crypto.KeyUnwrapper

Field Summary

Modifier and TypeField and Description
private final AsymmetricDHKey
private final AsymmetricBlockCipher
private final ElGamal.WrapParameters

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ElGamal.WrapParameters
getParameters()

Implements org.bouncycastle.crypto.KeyUnwrapper.getParameters.

Return the parameters for this un-wrapper.
public byte[]
unwrap(byte[]
input data array.
in
,
int
offset into data array wrapped key starts at.
inOff
,
int
length of wrapped key data.
inLen
)

Implements org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Return the unwrapped byte encoding of a key.
public KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters>
withSecureRandom(SecureRandom
the SecureRandom to use.
random
)

Implements org.bouncycastle.crypto.KeyUnwrapperUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyback to summary
private final AsymmetricDHKey key
keyWrapperback to summary
private final AsymmetricBlockCipher keyWrapper
parametersback to summary
private final ElGamal.WrapParameters parameters

Constructor Detail

KeyUnwrapperback to summary
public KeyUnwrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters, SecureRandom random)

Method Detail

getParametersback to summary
public ElGamal.WrapParameters getParameters()

Implements org.bouncycastle.crypto.KeyUnwrapper.getParameters.

Doc from org.bouncycastle.crypto.KeyUnwrapper.getParameters.

Return the parameters for this un-wrapper.

Returns:ElGamal.WrapParameters

the un-wrapper's parameters.

unwrapback to summary
public byte[] unwrap(byte[] in, int inOff, int inLen) throws InvalidWrappingException

Implements org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Doc from org.bouncycastle.crypto.KeyUnwrapper.unwrap.

Return the unwrapped byte encoding of a key.

Parameters
in:byte[]

input data array.

inOff:int

offset into data array wrapped key starts at.

inLen:int

length of wrapped key data.

Returns:byte[]

the unwrapped byte encoding of the key.

Exceptions
InvalidWrappingException:
if the wrapping cannot be processed.
withSecureRandomback to summary
public KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters> withSecureRandom(SecureRandom random)

Implements org.bouncycastle.crypto.KeyUnwrapperUsingSecureRandom.withSecureRandom.

Doc from org.bouncycastle.crypto.KeyUnwrapperUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.

Parameters
random:SecureRandom

the SecureRandom to use.

Returns:KeyUnwrapperUsingSecureRandom<ElGamal.WrapParameters>

a signer which will use random where random data is required.

org.bouncycastle.crypto.general back to summary

private Class ElGamal.KeyWrapOperatorFactory.KeyWrapper

extends Object
implements KeyWrapperUsingSecureRandom<ElGamal.WrapParameters>
Class Inheritance
  • java.lang.Object
  • org.bouncycastle.crypto.general.ElGamal.KeyWrapOperatorFactory.KeyWrapper
All Implemented Interfaces
org.bouncycastle.crypto.KeyWrapperUsingSecureRandom, org.bouncycastle.crypto.OperatorUsingSecureRandom, org.bouncycastle.crypto.KeyWrapper

Field Summary

Modifier and TypeField and Description
private final AsymmetricDHKey
private final AsymmetricBlockCipher
private final ElGamal.WrapParameters

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ElGamal.WrapParameters
getParameters()

Implements org.bouncycastle.crypto.KeyWrapper.getParameters.

Return the parameters for this wrapper.
public KeyWrapperUsingSecureRandom<ElGamal.WrapParameters>
withSecureRandom(SecureRandom
the SecureRandom to use.
random
)

Implements org.bouncycastle.crypto.KeyWrapperUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.
public byte[]
wrap(byte[]
input data array.
in
,
int
offset into data array key data starts at.
inOff
,
int
length of key data.
inLen
)

Implements org.bouncycastle.crypto.KeyWrapper.wrap.

Return the wrapped version of a key byte encoding.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

keyback to summary
private final AsymmetricDHKey key
keyWrapperback to summary
private final AsymmetricBlockCipher keyWrapper
parametersback to summary
private final ElGamal.WrapParameters parameters

Constructor Detail

KeyWrapperback to summary
public KeyWrapper(AsymmetricDHKey key, ElGamal.WrapParameters parameters, SecureRandom random)

Method Detail

getParametersback to summary
public ElGamal.WrapParameters getParameters()

Implements org.bouncycastle.crypto.KeyWrapper.getParameters.

Doc from org.bouncycastle.crypto.KeyWrapper.getParameters.

Return the parameters for this wrapper.

Returns:ElGamal.WrapParameters

the wrapper's parameters.

withSecureRandomback to summary
public KeyWrapperUsingSecureRandom<ElGamal.WrapParameters> withSecureRandom(SecureRandom random)

Implements org.bouncycastle.crypto.KeyWrapperUsingSecureRandom.withSecureRandom.

Doc from org.bouncycastle.crypto.KeyWrapperUsingSecureRandom.withSecureRandom.

Return a variant of this signer using the passed in random as its source of randomness.

Parameters
random:SecureRandom

the SecureRandom to use.

Returns:KeyWrapperUsingSecureRandom<ElGamal.WrapParameters>

a signer which will use random where random data is required.

wrapback to summary
public byte[] wrap(byte[] in, int inOff, int inLen) throws PlainInputProcessingException

Implements org.bouncycastle.crypto.KeyWrapper.wrap.

Doc from org.bouncycastle.crypto.KeyWrapper.wrap.

Return the wrapped version of a key byte encoding.

Parameters
in:byte[]

input data array.

inOff:int

offset into data array key data starts at.

inLen:int

length of key data.

Returns:byte[]

the wrapped encoding of the key.

Exceptions
PlainInputProcessingException:
if the passed in input cannot be processed.
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.OAEPParameters

extends Parameters
implements WrapParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.general.ElGamal.WrapParameters, org.bouncycastle.crypto.Parameters

Parameters for use with OAEP formatted key wrapping/unwrapping and encryption/decryption.

Field Summary

Modifier and TypeField and Description
private final DigestAlgorithm
private final byte[]
private final DigestAlgorithm

Constructor Summary

AccessConstructor and Description
pack-priv
private
OAEPParameters(DigestAlgorithm digestAlgorithm, DigestAlgorithm mgfDigestAlgorithm, byte[] encodingParams)

Method Summary

Modifier and TypeMethod and Description
public DigestAlgorithm
public byte[]
public DigestAlgorithm
public ElGamal.OAEPParameters

Returns:

a new parameter set.
withDigest
(DigestAlgorithm
a digest algorithm.
digestAlgorithm
)

Specify the digest algorithm to use.

public ElGamal.OAEPParameters

Returns:

a new parameter set.
withEncodingParams
(byte[]
encoding params to include.
encodingParams
)

Set the encoding parameters.

public ElGamal.OAEPParameters

Returns:

a new parameter set.
withMGFDigest
(DigestAlgorithm
a digest algorithm for the MGF.
mgfDigestAlgorithm
)

Specify the digest algorithm to use for the MGF.

Field Detail

digestAlgorithmback to summary
private final DigestAlgorithm digestAlgorithm
encodingParamsback to summary
private final byte[] encodingParams
mgfDigestAlgorithmback to summary
private final DigestAlgorithm mgfDigestAlgorithm

Constructor Detail

OAEPParametersback to summary
pack-priv OAEPParameters()
OAEPParametersback to summary
private OAEPParameters(DigestAlgorithm digestAlgorithm, DigestAlgorithm mgfDigestAlgorithm, byte[] encodingParams)

Method Detail

getDigestback to summary
public DigestAlgorithm getDigest()
getEncodingParamsback to summary
public byte[] getEncodingParams()
getMGFDigestback to summary
public DigestAlgorithm getMGFDigest()
withDigestback to summary
public ElGamal.OAEPParameters withDigest(DigestAlgorithm digestAlgorithm)

Specify the digest algorithm to use. This also sets the MGF digest.

Parameters
digestAlgorithm:DigestAlgorithm

a digest algorithm.

Returns:ElGamal.OAEPParameters

a new parameter set.

withEncodingParamsback to summary
public ElGamal.OAEPParameters withEncodingParams(byte[] encodingParams)

Set the encoding parameters.

Parameters
encodingParams:byte[]

encoding params to include.

Returns:ElGamal.OAEPParameters

a new parameter set.

withMGFDigestback to summary
public ElGamal.OAEPParameters withMGFDigest(DigestAlgorithm mgfDigestAlgorithm)

Specify the digest algorithm to use for the MGF.

Parameters
mgfDigestAlgorithm:DigestAlgorithm

a digest algorithm for the MGF.

Returns:ElGamal.OAEPParameters

a new parameter set.

org.bouncycastle.crypto.general back to summary

public final Class ElGamal.OperatorFactory

extends GuardedAsymmetricOperatorFactory<ElGamal.Parameters>
Class Inheritance

Factory for creating ElGamal encryption/decryption operators.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public SingleBlockDecryptor<ElGamal.Parameters>
createBlockDecryptor(AsymmetricKey
the key to be used in the decryptor.
key
,
final ElGamal.Parameters
the parameter set for the decryptor.
parameters
)

Implements org.bouncycastle.crypto.AsymmetricOperatorFactory.createBlockDecryptor.

Create a block decryptor for the passed in key and parameter set.
protected AsymmetricBlockCipher
Inherited from org.bouncycastle.crypto.general.GuardedAsymmetricOperatorFactory:
createBlockEncryptorisRawEngine

Constructor Detail

OperatorFactoryback to summary
public OperatorFactory()

Method Detail

createBlockDecryptorback to summary
public SingleBlockDecryptor<ElGamal.Parameters> createBlockDecryptor(AsymmetricKey key, final ElGamal.Parameters parameters)

Implements org.bouncycastle.crypto.AsymmetricOperatorFactory.createBlockDecryptor.

Doc from org.bouncycastle.crypto.AsymmetricOperatorFactory.createBlockDecryptor.

Create a block decryptor for the passed in key and parameter set.

Parameters
key:AsymmetricKey

the key to be used in the decryptor.

parameters:ElGamal.Parameters

the parameter set for the decryptor.

Returns:SingleBlockDecryptor<ElGamal.Parameters>

an initialised block decryptor for the passed in arguments.

createCipherback to summary
protected AsymmetricBlockCipher createCipher(boolean forEncryption, AsymmetricKey key, ElGamal.Parameters parameters, SecureRandom random)

Implements abstract org.bouncycastle.crypto.general.GuardedAsymmetricOperatorFactory.createCipher.

Annotations
@Override
org.bouncycastle.crypto.general back to summary

public Class ElGamal.Parameters

extends GeneralParameters
Class Inheritance
Known Direct Subclasses
org.bouncycastle.crypto.general.ElGamal.RawParameters, org.bouncycastle.crypto.general.ElGamal.PKCS1v15Parameters, org.bouncycastle.crypto.general.ElGamal.OAEPParameters

Base class for ElGamal encryption/decryption and key wrap/unwrap parameters.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from org.bouncycastle.crypto.general.GeneralParameters:
getAlgorithm

Constructor Detail

Parametersback to summary
pack-priv Parameters(GeneralAlgorithm algorithm)
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.PKCS1v15Parameters

extends Parameters
implements WrapParameters
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.general.ElGamal.WrapParameters, org.bouncycastle.crypto.Parameters

Parameters for use with PKCS#1 v1.5 formatted key wrapping/unwrapping and encryption/decryption.

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

PKCS1v15Parametersback to summary
pack-priv PKCS1v15Parameters()
org.bouncycastle.crypto.general back to summary

public final Class ElGamal.RawParameters

extends Parameters
Class Inheritance

Parameters for use with unformatted encryption/decryption.

Constructor Summary

AccessConstructor and Description
pack-priv

Constructor Detail

RawParametersback to summary
pack-priv RawParameters()
org.bouncycastle.crypto.general back to summary

private final Enum ElGamal.Variations

extends Enum<ElGamal.Variations>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ElGamal.Variations
public static final ElGamal.Variations
public static final ElGamal.Variations

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ElGamal.Variations
public static ElGamal.Variations[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

OAEPback to summary
public static final ElGamal.Variations OAEP
PKCS1v1_5back to summary
public static final ElGamal.Variations PKCS1v1_5
RAWback to summary
public static final ElGamal.Variations RAW

Constructor Detail

Variationsback to summary
private Variations()

Method Detail

valueOfback to summary
public static ElGamal.Variations valueOf(String name)
valuesback to summary
public static ElGamal.Variations[] values()
org.bouncycastle.crypto.general back to summary

public Interface ElGamal.WrapParameters

extends Parameters
Known Direct Implementers
org.bouncycastle.crypto.general.ElGamal.PKCS1v15Parameters, org.bouncycastle.crypto.general.ElGamal.OAEPParameters

Marker interface for parameters that can also be used for key wrapping.

Method Summary

Inherited from org.bouncycastle.crypto.Parameters:
getAlgorithm