public class SshEd448PrivateKeyJCE extends Object implements SshEd448PrivateKey
| Constructor and Description |
|---|
SshEd448PrivateKeyJCE(byte[] sk,
byte[] pk) |
SshEd448PrivateKeyJCE(PrivateKey prv) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAlgorithm() |
PrivateKey |
getJCEPrivateKey() |
byte[] |
getSeed() |
int |
hashCode() |
byte[] |
sign(byte[] data)
Create a signature from the data.
|
byte[] |
sign(byte[] data,
String signingAlgorithm) |
public SshEd448PrivateKeyJCE(byte[] sk,
byte[] pk)
throws InvalidKeySpecException,
NoSuchAlgorithmException,
IOException,
NoSuchProviderException
public SshEd448PrivateKeyJCE(PrivateKey prv)
public byte[] sign(byte[] data)
throws IOException
SshPrivateKeysign in interface SshPrivateKeyIOExceptionpublic byte[] sign(byte[] data,
String signingAlgorithm)
throws IOException
sign in interface SshPrivateKeyIOExceptionpublic String getAlgorithm()
getAlgorithm in interface SshPrivateKeypublic PrivateKey getJCEPrivateKey()
getJCEPrivateKey in interface SshPrivateKeypublic byte[] getSeed()
getSeed in interface SshEd448PrivateKeyCopyright © 2025. All rights reserved.