public class ECDHPublicBCPGKey extends ECPublicBCPGKey
| Constructor and Description |
|---|
ECDHPublicBCPGKey(ASN1ObjectIdentifier oid,
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, readBytesOfEncodedLengthpublic ECDHPublicBCPGKey(BCPGInputStream in) throws java.io.IOException
in - the stream to read the packet from.java.io.IOExceptionpublic ECDHPublicBCPGKey(ASN1ObjectIdentifier oid,
ECPoint 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 ECPublicBCPGKeyjava.io.IOException