public class EdDSAPublicBCPGKey extends ECPublicBCPGKey
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.Modifier | Constructor and Description |
---|---|
|
EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
java.math.BigInteger encodedPoint) |
|
EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point) |
protected |
EdDSAPublicBCPGKey(BCPGInputStream in) |
encode, getCurveOID, getEncoded, getEncodedPoint, getFormat, readBytesOfEncodedLength
protected EdDSAPublicBCPGKey(BCPGInputStream in) throws java.io.IOException
in
- the stream to read the packet from.java.io.IOException
public EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, org.bouncycastle.math.ec.ECPoint point)
public EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid, java.math.BigInteger encodedPoint)