Package org.bouncycastle.bcpg
Class Ed25519SecretBCPGKey
java.lang.Object
org.bouncycastle.bcpg.BCPGObject
org.bouncycastle.bcpg.OctetArrayBCPGKey
org.bouncycastle.bcpg.Ed25519SecretBCPGKey
- All Implemented Interfaces:
BCPGKey,org.bouncycastle.util.Encodable
Secret key of type
PublicKeyAlgorithmTags.Ed25519.
This type was introduced with Crypto-Refresh 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.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.bouncycastle.bcpg.OctetArrayBCPGKey
encode, getEncoded, getFormat, getKey
-
Field Details
-
LENGTH
public static final int LENGTH- See Also:
-
-
Constructor Details
-
Ed25519SecretBCPGKey
- Throws:
IOException
-
Ed25519SecretBCPGKey
public Ed25519SecretBCPGKey(byte[] key)
-