org.bouncycastle.bcpg
Class ECDHPublicBCPGKey
java.lang.Object
|
+--org.bouncycastle.bcpg.BCPGObject
|
+--org.bouncycastle.bcpg.ECPublicBCPGKey
|
+--org.bouncycastle.bcpg.ECDHPublicBCPGKey
- public class ECDHPublicBCPGKey
- extends ECPublicBCPGKey
base class for an ECDH Public Key.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ECDHPublicBCPGKey
public ECDHPublicBCPGKey(BCPGInputStream in)
throws java.io.IOException
- Parameters:
in
- the stream to read the packet from.
ECDHPublicBCPGKey
public ECDHPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point,
int hashAlgorithm,
int symmetricKeyAlgorithm)
getReserved
public byte getReserved()
getHashAlgorithm
public byte getHashAlgorithm()
getSymmetricKeyAlgorithm
public byte getSymmetricKeyAlgorithm()
encode
public void encode(BCPGOutputStream out)
throws java.io.IOException
- Overrides:
- encode in class ECPublicBCPGKey