Top Fields Constructors Methods
org.bouncycastle.crypto.general

pack-priv final Class Ed448PrivateKeyParameters

extends AsymmetricKeyParameter
Class Inheritance
Imports
java.io.EOFException, .IOException, .InputStream, java.security.SecureRandom, org.bouncycastle.crypto.fips.FipsSHS, org.bouncycastle.crypto.internal.Xof, org.bouncycastle.crypto.internal.params.AsymmetricKeyParameter, org.bouncycastle.math.ec.rfc8032.Ed448, org.bouncycastle.util.Arrays, org.bouncycastle.util.io.Streams

Field Summary

Modifier and TypeField and Description
private final byte[]
private final Ed448
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
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)

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

Field Detail

databack to summary
private final byte[] data
ed448back to summary
private final Ed448 ed448
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, 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)