Top Description Fields Constructors Methods
org.bouncycastle.bcpg

public Class Ed25519SecretBCPGKey

extends OctetArrayBCPGKey
Class Inheritance
Imports
java.io.IOException

Secret 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

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Inherited from org.bouncycastle.bcpg.OctetArrayBCPGKey:
encodegetEncodedgetFormatgetKey

Field Detail

LENGTHback to summary
public static final int LENGTH

Constructor Detail

Ed25519SecretBCPGKeyback to summary
public Ed25519SecretBCPGKey(BCPGInputStream in) throws IOException
Ed25519SecretBCPGKeyback to summary
public Ed25519SecretBCPGKey(byte[] key)