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, readBytesOfEncodedLength
public ECDHPublicBCPGKey(BCPGInputStream in) throws IOException
in
- the stream to read the packet from.IOException
public ECDHPublicBCPGKey(ASN1ObjectIdentifier oid, ECPoint point, int hashAlgorithm, int symmetricKeyAlgorithm)
public byte getReserved()
public byte getHashAlgorithm()
public byte getSymmetricKeyAlgorithm()
public void encode(BCPGOutputStream out) throws IOException
encode
in class ECPublicBCPGKey
IOException
Copyright © 2018 BouncyCastle.org. All rights reserved.