| Modifier and Type | Field and Description |
|---|---|
| private transient PKCS12BagAttributeCarrierImpl | |
| private transient ElGamalParameterSpec | |
| pack-priv static final long | |
| private BigInteger |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv | |
| pack-priv | |
| 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 ASN1Encodable | |
| public Enumeration | |
| public byte[] | Returns: a PKCS8 representation of the key.Implements java. Return a PKCS8 representation of the key. |
| public String | Returns: the string "PKCS#8"Implements java. return the encoding format we produce in getEncoded(). |
| public ElGamalParameterSpec | |
| public DHParameterSpec | getParams()
Overrides default javax. Implements javax. Returns the parameters associated with this key. |
| public BigInteger | getX()
Implements org. Returns the private value, |
| public boolean | |
| public int | |
| private void | |
| public void | |
| public void | setFriendlyName(String friendlyName)
Implements org.
|
| private void |
| attrCarrier | back to summary |
|---|---|
| private transient PKCS12BagAttributeCarrierImpl attrCarrier | |
| elSpec | back to summary |
|---|---|
| private transient ElGamalParameterSpec elSpec | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID Hides javax. | |
| x | back to summary |
|---|---|
| private BigInteger x | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| protected BCElGamalPrivateKey() | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(ElGamalPrivateKey key) | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(DHPrivateKey key) | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(ElGamalPrivateKeySpec spec) | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(DHPrivateKeySpec spec) | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(PrivateKeyInfo info) throws IOException | |
| BCElGamalPrivateKey | back to summary |
|---|---|
| pack-priv BCElGamalPrivateKey(ElGamalPrivateKeyParameters params) | |
| 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.
| |
| getBagAttribute | back to summary |
|---|---|
| public ASN1Encodable getBagAttribute(ASN1ObjectIdentifier oid) Implements org. | |
| getBagAttributeKeys | back to summary |
|---|---|
| public Enumeration Implements org. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Return a PKCS8 representation of the key. The sequence returned represents a full PrivateKeyInfo object.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. return the encoding format we produce in getEncoded().
| |
| 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.
| |
| getX | back to summary |
|---|---|
| public BigInteger getX() Implements org. Doc from javax. Returns the private value,
| |
| hasFriendlyName | back to summary |
|---|---|
| public boolean hasFriendlyName() Implements org. | |
| 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 | |
| setBagAttribute | back to summary |
|---|---|
| public void setBagAttribute(ASN1ObjectIdentifier oid, ASN1Encodable attribute) Implements org. | |
| setFriendlyName | back to summary |
|---|---|
| public void setFriendlyName(String friendlyName) Implements org. | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException | |