|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.crypto.fips.provider.DHPrivateKey
A private key in PKCS#8 format for the Diffie-Hellman key agreement algorithm.
DHPublicKey,
java.security.KeyAgreement, Serialized Form| Fields inherited from interface java.security.PrivateKey |
|---|
serialVersionUID |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
protected void |
finalize()
This function zeroizes the key so that it isn't in memory when GC is done. |
java.lang.String |
getAlgorithm()
Returns the name of the algorithm associated with this key: "DH" |
byte[] |
getEncoded()
Get the encoding of the key. |
java.lang.String |
getFormat()
Returns the encoding format of this key: "PKCS#8" |
javax.crypto.spec.DHParameterSpec |
getParams()
Returns the key parameters. |
java.math.BigInteger |
getX()
Returns the private value, x. |
int |
hashCode()
Calculates a hash code value for the object. |
java.lang.String |
toString()
|
void |
zeroize()
This function zeroizes the key so that it isn't in memory |
| Methods inherited from class java.lang.Object |
|---|
clone, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.String getFormat()
getFormat in interface java.security.Keypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Keypublic java.math.BigInteger getX()
x.getX in interface javax.crypto.interfaces.DHPrivateKeyxpublic javax.crypto.spec.DHParameterSpec getParams()
getParams in interface javax.crypto.interfaces.DHKeypublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic void zeroize()
protected void finalize()
finalize in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||