Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class EdDSAPublicBCPGKey

extends ECPublicBCPGKey
Class Inheritance
Imports
java.io.IOException, java.math.BigInteger, org.bouncycastle.asn1.ASN1ObjectIdentifier, org.bouncycastle.math.ec.ECPoint

Base class for an EdDSA Public Key. Here, the curve is identified by an OID and the key is MPI encoded. This class is used with PublicKeyAlgorithmTags#EDDSA_LEGACY only and MUST NOT be used with v6 keys. Modern OpenPGP uses dedicated key types: For PublicKeyAlgorithmTags#Ed25519 see Ed25519PublicBCPGKey instead. For PublicKeyAlgorithmTags#Ed448 see Ed448PublicBCPGKey instead.
See Also
OpenPGP - Algorithm-Specific Parts for EdDSALegacy Keys (deprecated)

Field Summary

Inherited from org.bouncycastle.bcpg.ECPublicBCPGKey:
oidpoint

Constructor Summary

AccessConstructor and Description
protected
EdDSAPublicBCPGKey(BCPGInputStream
the stream to read the packet from.
in
)

public
public

Method Summary

Inherited from org.bouncycastle.bcpg.ECPublicBCPGKey:
encodegetCurveOIDgetEncodedgetEncodedPointgetFormatreadBytesOfEncodedLength

Constructor Detail

EdDSAPublicBCPGKeyback to summary
protected EdDSAPublicBCPGKey(BCPGInputStream in) throws IOException
Parameters
in:BCPGInputStream

the stream to read the packet from.

EdDSAPublicBCPGKeyback to summary
public EdDSAPublicBCPGKey(ASN1ObjectIdentifier oid, ECPoint point)
EdDSAPublicBCPGKeyback to summary
public EdDSAPublicBCPGKey(ASN1ObjectIdentifier oid, BigInteger encodedPoint)