public final class Ed448PrivateKeyParameters extends AsymmetricKeyParameter
Modifier and Type | Field and Description |
---|---|
static int |
KEY_SIZE |
static int |
SIGNATURE_SIZE |
Constructor and Description |
---|
Ed448PrivateKeyParameters(byte[] buf) |
Ed448PrivateKeyParameters(byte[] buf,
int off) |
Ed448PrivateKeyParameters(java.io.InputStream input) |
Ed448PrivateKeyParameters(java.security.SecureRandom random) |
Modifier and Type | Method and Description |
---|---|
void |
encode(byte[] buf,
int off) |
Ed448PublicKeyParameters |
generatePublicKey() |
byte[] |
getEncoded() |
void |
sign(int algorithm,
byte[] ctx,
byte[] msg,
int msgOff,
int msgLen,
byte[] sig,
int sigOff) |
isPrivate
public static final int KEY_SIZE
public static final int SIGNATURE_SIZE
public Ed448PrivateKeyParameters(java.security.SecureRandom random)
public Ed448PrivateKeyParameters(byte[] buf)
public Ed448PrivateKeyParameters(byte[] buf, int off)
public Ed448PrivateKeyParameters(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public void encode(byte[] buf, int off)
public byte[] getEncoded()
public Ed448PublicKeyParameters generatePublicKey()
public void sign(int algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)