public class SshEd448PrivateKeyJCE extends Object implements SshEd25519PrivateKey
Modifier and Type | Field and Description |
---|---|
static byte[] |
ASN_HEADER |
Constructor and Description |
---|
SshEd448PrivateKeyJCE(byte[] sk) |
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) throws InvalidKeySpecException, NoSuchAlgorithmException, IOException, NoSuchProviderException
public SshEd448PrivateKeyJCE(PrivateKey prv)
public byte[] sign(byte[] data) throws IOException
SshPrivateKey
sign
in interface SshPrivateKey
IOException
public byte[] sign(byte[] data, String signingAlgorithm) throws IOException
sign
in interface SshPrivateKey
IOException
public String getAlgorithm()
getAlgorithm
in interface SshPrivateKey
public PrivateKey getJCEPrivateKey()
getJCEPrivateKey
in interface SshPrivateKey
public byte[] getSeed()
getSeed
in interface SshEd25519PrivateKey
Copyright © 2024. All rights reserved.