org.bouncycastle.bcpg
Class X448SecretBCPGKey
java.lang.Object
|
+--org.bouncycastle.bcpg.BCPGObject
|
+--org.bouncycastle.bcpg.OctetArrayBCPGKey
|
+--org.bouncycastle.bcpg.X448SecretBCPGKey
- All Implemented Interfaces:
- BCPGKey, org.bouncycastle.util.Encodable
- public class X448SecretBCPGKey
- extends OctetArrayBCPGKey
Secret key of type PublicKeyAlgorithmTags.X448.
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:
-
OpenPGP - Algorithm-Specific Part for X448 Keys
|
Field Summary |
static int |
LENGTH
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LENGTH
public static final int LENGTH
X448SecretBCPGKey
public X448SecretBCPGKey(BCPGInputStream in)
throws java.io.IOException
X448SecretBCPGKey
public X448SecretBCPGKey(byte[] key)