Top Fields Constructors Methods
org.bouncycastle.crypto.params

public final Class Ed448PrivateKeyParameters

extends AsymmetricKeyParameter
Class Inheritance
Imports
java.io.EOFException, .IOException, .InputStream, java.security.SecureRandom, org.bouncycastle.math.ec.rfc8032.Ed448, org.bouncycastle.util.Arrays, org.bouncycastle.util.io.Streams

Field Summary

Modifier and TypeField and Description
private Ed448PublicKeyParameters
private final byte[]
public static final int
public static final int
Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
privateKey

Constructor Summary

AccessConstructor and Description
public
public
public
Ed448PrivateKeyParameters(byte[] buf, int off)

public

Method Summary

Modifier and TypeMethod and Description
public void
encode(byte[] buf, int off)

public Ed448PublicKeyParameters
public byte[]
public void
sign(int algorithm, Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)
Deprecated use overload that doesn't take a public key

public void
sign(int algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)

private static byte[]
validate(byte[] buf)

Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
isPrivate

Field Detail

cachedPublicKeyback to summary
private Ed448PublicKeyParameters cachedPublicKey
databack to summary
private final byte[] data
KEY_SIZEback to summary
public static final int KEY_SIZE
SIGNATURE_SIZEback to summary
public static final int SIGNATURE_SIZE

Constructor Detail

Ed448PrivateKeyParametersback to summary
public Ed448PrivateKeyParameters(SecureRandom random)
Ed448PrivateKeyParametersback to summary
public Ed448PrivateKeyParameters(byte[] buf)
Ed448PrivateKeyParametersback to summary
public Ed448PrivateKeyParameters(byte[] buf, int off)
Ed448PrivateKeyParametersback to summary
public Ed448PrivateKeyParameters(InputStream input) throws IOException

Method Detail

encodeback to summary
public void encode(byte[] buf, int off)
generatePublicKeyback to summary
public Ed448PublicKeyParameters generatePublicKey()
getEncodedback to summary
public byte[] getEncoded()
signback to summary
public void sign(int algorithm, Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)

Deprecated

use overload that doesn't take a public key

signback to summary
public void sign(int algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)
validateback to summary
private static byte[] validate(byte[] buf)