Top Fields Constructors Methods
org.bouncycastle.crypto.params

public final Class X448PrivateKeyParameters

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

Field Summary

Modifier and TypeField and Description
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
X448PrivateKeyParameters(byte[] buf, int off)

public

Method Summary

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

public X448PublicKeyParameters
public void
generateSecret(X448PublicKeyParameters publicKey, byte[] buf, int off)

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

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

Field Detail

databack to summary
private final byte[] data
KEY_SIZEback to summary
public static final int KEY_SIZE
SECRET_SIZEback to summary
public static final int SECRET_SIZE

Constructor Detail

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

Method Detail

encodeback to summary
public void encode(byte[] buf, int off)
generatePublicKeyback to summary
public X448PublicKeyParameters generatePublicKey()
generateSecretback to summary
public void generateSecret(X448PublicKeyParameters publicKey, byte[] buf, int off)
getEncodedback to summary
public byte[] getEncoded()
validateback to summary
private static byte[] validate(byte[] buf)