org.bouncycastle.bcpg
Class EdDSAPublicBCPGKey
java.lang.Object
|
+--org.bouncycastle.bcpg.BCPGObject
|
+--org.bouncycastle.bcpg.ECPublicBCPGKey
|
+--org.bouncycastle.bcpg.EdDSAPublicBCPGKey
- All Implemented Interfaces:
- BCPGKey, org.bouncycastle.util.Encodable
- public class EdDSAPublicBCPGKey
- extends ECPublicBCPGKey
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)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdDSAPublicBCPGKey
protected EdDSAPublicBCPGKey(BCPGInputStream in)
throws java.io.IOException
- Parameters:
in - the stream to read the packet from.
EdDSAPublicBCPGKey
public EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
org.bouncycastle.math.ec.ECPoint point)
EdDSAPublicBCPGKey
public EdDSAPublicBCPGKey(org.bouncycastle.asn1.ASN1ObjectIdentifier oid,
java.math.BigInteger encodedPoint)