public final class X25519PrivateKeyParameters extends AsymmetricKeyParameter
| Modifier and Type | Field and Description |
|---|---|
static int |
KEY_SIZE |
static int |
SECRET_SIZE |
| Constructor and Description |
|---|
X25519PrivateKeyParameters(byte[] buf,
int off) |
X25519PrivateKeyParameters(InputStream input) |
X25519PrivateKeyParameters(SecureRandom random) |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(byte[] buf,
int off) |
X25519PublicKeyParameters |
generatePublicKey() |
void |
generateSecret(X25519PublicKeyParameters publicKey,
byte[] buf,
int off) |
byte[] |
getEncoded() |
isPrivatepublic static final int KEY_SIZE
public static final int SECRET_SIZE
public X25519PrivateKeyParameters(SecureRandom random)
public X25519PrivateKeyParameters(byte[] buf,
int off)
public X25519PrivateKeyParameters(InputStream input) throws IOException
IOExceptionpublic void encode(byte[] buf,
int off)
public byte[] getEncoded()
public X25519PublicKeyParameters generatePublicKey()
public void generateSecret(X25519PublicKeyParameters publicKey, byte[] buf, int off)
Copyright © 2015–2019 The veraPDF Consortium. All rights reserved.