org.bouncycastle.jcajce.provider.asymmetric.edec
Class BCXDHPublicKey
java.lang.Object
|
+--org.bouncycastle.jcajce.provider.asymmetric.edec.BCXDHPublicKey
- All Implemented Interfaces:
- java.security.Key, java.security.PublicKey, java.io.Serializable, XDHKey, XDHPublicKey
- public class BCXDHPublicKey
- extends java.lang.Object
- implements XDHPublicKey
- See Also:
- Serialized Form
Fields inherited from interface java.security.Key |
serialVersionUID |
Fields inherited from interface java.security.PublicKey |
serialVersionUID |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface java.security.Key
getU
public java.math.BigInteger getU()
- Specified by:
getU
in interface XDHPublicKey
getUEncoding
public byte[] getUEncoding()
- Specified by:
getUEncoding
in interface XDHPublicKey
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object