public class ECDHPublicBCPGKey extends ECPublicBCPGKey
Constructor and Description |
---|
ECDHPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
java.math.BigInteger point,
int hashAlgorithm,
int symmetricKeyAlgorithm) |
ECDHPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point,
int hashAlgorithm,
int symmetricKeyAlgorithm) |
ECDHPublicBCPGKey(BCPGInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
encode(BCPGOutputStream out) |
byte |
getHashAlgorithm() |
byte |
getReserved() |
byte |
getSymmetricKeyAlgorithm() |
getCurveOID, getEncoded, getEncodedPoint, getFormat, readBytesOfEncodedLength
public ECDHPublicBCPGKey(BCPGInputStream in) throws java.io.IOException
in
- the stream to read the packet from.java.io.IOException
public ECDHPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.math.ec.ECPoint point, int hashAlgorithm, int symmetricKeyAlgorithm)
public ECDHPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, java.math.BigInteger point, int hashAlgorithm, int symmetricKeyAlgorithm)
public byte getReserved()
public byte getHashAlgorithm()
public byte getSymmetricKeyAlgorithm()
public void encode(BCPGOutputStream out) throws java.io.IOException
encode
in class ECPublicBCPGKey
java.io.IOException