Class X25519PublicBCPGKey

All Implemented Interfaces:
BCPGKey, org.bouncycastle.util.Encodable

public class X25519PublicBCPGKey extends OctetArrayBCPGKey
Public key of type PublicKeyAlgorithmTags.X25519. This type was introduced with RFC9580 and can be used with v4, v6 keys. Note however, that legacy implementations might not understand this key type yet. For a key type compatible with legacy v4 implementations, see ECDHPublicBCPGKey with PublicKeyAlgorithmTags.ECDH.
See Also: