|
|||||||||
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 FormFields 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.Key
public java.lang.String getAlgorithm()
getAlgorithm
in interface java.security.Key
public byte[] getEncoded()
getEncoded
in interface java.security.Key
public java.math.BigInteger getY()
y
.getY
in interface javax.crypto.interfaces.DHPublicKey
y
public javax.crypto.spec.DHParameterSpec getParams()
getParams
in interface javax.crypto.interfaces.DHKey
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public 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 |