Package org.bouncycastle.bcpg
Class Ed448PublicBCPGKey
- java.lang.Object
-
- org.bouncycastle.bcpg.BCPGObject
-
- org.bouncycastle.bcpg.OctetArrayBCPGKey
-
- org.bouncycastle.bcpg.Ed448PublicBCPGKey
-
- All Implemented Interfaces:
BCPGKey
,org.bouncycastle.util.Encodable
public class Ed448PublicBCPGKey extends OctetArrayBCPGKey
Public key of typePublicKeyAlgorithmTags.Ed448
. 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, seeEdDSAPublicBCPGKey
withPublicKeyAlgorithmTags.EDDSA_LEGACY
.
-
-
Field Summary
Fields Modifier and Type Field Description static int
LENGTH
-
Constructor Summary
Constructors Constructor Description Ed448PublicBCPGKey(byte[] key)
Ed448PublicBCPGKey(BCPGInputStream in)
-
Method Summary
-
Methods inherited from class org.bouncycastle.bcpg.OctetArrayBCPGKey
encode, getEncoded, getFormat, getKey
-
-
-
-
Field Detail
-
LENGTH
public static final int LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Ed448PublicBCPGKey
public Ed448PublicBCPGKey(BCPGInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
Ed448PublicBCPGKey
public Ed448PublicBCPGKey(byte[] key)
-
-