Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg
Class Ed25519PublicBCPGKey

java.lang.Object
  |
  +--org.bouncycastle.bcpg.BCPGObject
        |
        +--org.bouncycastle.bcpg.OctetArrayBCPGKey
              |
              +--org.bouncycastle.bcpg.Ed25519PublicBCPGKey
All Implemented Interfaces:
BCPGKey, org.bouncycastle.util.Encodable

public class Ed25519PublicBCPGKey
extends OctetArrayBCPGKey

Public key of type PublicKeyAlgorithmTags.Ed25519. 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 EdDSAPublicBCPGKey with PublicKeyAlgorithmTags.EDDSA_LEGACY.

See Also:
OpenPGP - Algorithm-Specific Part for Ed25519 Keys

Field Summary
static int LENGTH
           
 
Constructor Summary
Ed25519PublicBCPGKey(BCPGInputStream in)
           
Ed25519PublicBCPGKey(byte[] key)
           
 
Methods inherited from class org.bouncycastle.bcpg.OctetArrayBCPGKey
encode, getEncoded, getFormat, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LENGTH

public static final int LENGTH
Constructor Detail

Ed25519PublicBCPGKey

public Ed25519PublicBCPGKey(BCPGInputStream in)
                     throws java.io.IOException

Ed25519PublicBCPGKey

public Ed25519PublicBCPGKey(byte[] key)

Bouncy Castle Cryptography Library 1.79