|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.ibm.crypto.fips.provider.DHPublicKey
A public key in X.509 format for the Diffie-Hellman key agreement algorithm.
DHPrivateKey,
java.security.KeyAgreement, Serialized Form| Fields inherited from interface java.security.PublicKey |
|---|
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: "X.509" |
javax.crypto.spec.DHParameterSpec |
getParams()
Returns the key parameters. |
java.math.BigInteger |
getY()
Returns the public value, y. |
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 getY()
y.getY in interface javax.crypto.interfaces.DHPublicKeyypublic 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 | ||||||||