| Modifier and Type | Field and Description |
|---|---|
| pack-priv ElGamalParameterSpec |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected byte[] | engineGetEncoded()
Implements abstract java. |
| protected byte[] | engineGetEncoded(String
the name of the encoding format. format)Implements abstract java. |
| protected void | engineInit(AlgorithmParameterSpec
the parameter specification. paramSpec)Implements abstract java. paramSpec.
|
| protected void | engineInit(byte[]
the encoded parameters. params)Implements abstract java. |
| protected void | engineInit(byte[]
the encoded parameters. params, String the name of the decoding format. format)Implements abstract java. params and
decodes them according to the specified decoding format.
|
| protected String | engineToString()
Implements abstract java. |
| protected AlgorithmParameterSpec | localEngineGetParameterSpec(Class<T> paramSpec)
Implements abstract org. |
| currentSpec | back to summary |
|---|---|
| pack-priv ElGamalParameterSpec currentSpec | |
| AlgorithmParametersSpi | back to summary |
|---|---|
| public AlgorithmParametersSpi() | |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded() Implements abstract java. Return the X.509 ASN.1 structure ElGamalParameter.
ElGamalParameter ::= SEQUENCE {
prime INTEGER, -- p
base INTEGER, -- g}
| |
| engineGetEncoded | back to summary |
|---|---|
| protected byte[] engineGetEncoded(String format) Implements abstract java. Doc from java. Returns the parameters encoded in the specified format.
If
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException Implements abstract java. Doc from java. Initializes this parameters object using the parameters
specified in
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] params) throws IOException Implements abstract java. Doc from java. Imports the specified parameters and decodes them according to the primary decoding format for parameters. The primary decoding format for parameters is ASN.1, if an ASN.1 specification for this type of parameters exists.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(byte[] params, String format) throws IOException Implements abstract java. Doc from java. Imports the parameters from
| |
| engineToString | back to summary |
|---|---|
| protected String engineToString() Implements abstract java. Doc from java. Returns a formatted string describing the parameters.
| |
| localEngineGetParameterSpec | back to summary |
|---|---|
| protected AlgorithmParameterSpec localEngineGetParameterSpec(Class<T> paramSpec) throws InvalidParameterSpecException Implements abstract org. | |