org.bouncycastle.crypto.params
Class Ed25519PublicKeyParameters
java.lang.Object
|
+--org.bouncycastle.crypto.params.AsymmetricKeyParameter
|
+--org.bouncycastle.crypto.params.Ed25519PublicKeyParameters
- All Implemented Interfaces:
- CipherParameters
- public final class Ed25519PublicKeyParameters
- extends AsymmetricKeyParameter
Method Summary |
void |
encode(byte[] buf,
int off)
|
byte[] |
getEncoded()
|
boolean |
verify(int algorithm,
byte[] ctx,
byte[] msg,
int msgOff,
int msgLen,
byte[] sig,
int sigOff)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SIZE
public static final int KEY_SIZE
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf)
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf,
int off)
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(java.io.InputStream input)
throws java.io.IOException
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(org.bouncycastle.math.ec.rfc8032.Ed25519.PublicPoint publicPoint)
encode
public void encode(byte[] buf,
int off)
getEncoded
public byte[] getEncoded()
verify
public boolean verify(int algorithm,
byte[] ctx,
byte[] msg,
int msgOff,
int msgLen,
byte[] sig,
int sigOff)