References Deprecated
ElGamalPublicKey is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private transient ElGamalParameterSpec | |
| pack-priv static final long | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv | BCElGamalPublicKey(ElGamalPublicKey key)
References Deprecated
ElGamalPublicKey is deprecated or references (maybe indirectly) at least one deprecated element.
|
| pack-priv | |
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public ElGamalParameterSpec | |
| public DHParameterSpec | getParams()
Overrides default javax. Implements javax. Returns the parameters associated with this key. |
| public BigInteger | getY()
Implements org. Returns the public value, |
| public int | |
| private void | |
| private void |
| elSpec | back to summary |
|---|---|
| private transient ElGamalParameterSpec elSpec | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| y | back to summary |
|---|---|
| private BigInteger y | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(ElGamalPublicKeySpec spec) | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(DHPublicKeySpec spec) | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(ElGamalPublicKey key)
References Deprecated
See corresponding docs for further information. | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(DHPublicKey key) | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(ElGamalPublicKeyParameters params) | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(BigInteger y, ElGamalParameterSpec elSpec) | |
| BCElGamalPublicKey | back to summary |
|---|---|
| pack-priv BCElGamalPublicKey(SubjectPublicKeyInfo info) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or
| |
| getParameters | back to summary |
|---|---|
| public ElGamalParameterSpec getParameters() Implements org. | |
| getParams | back to summary |
|---|---|
| public DHParameterSpec getParams() Overrides default javax. Implements javax. Doc from javax. Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation.
| |
| getY | back to summary |
|---|---|
| public BigInteger getY() Implements org. Doc from javax. Returns the public value,
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |