Package 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
KEY_SIZE
-
Constructor Summary
Constructors Constructor Description Ed25519PublicKeyParameters(byte[] buf)
Ed25519PublicKeyParameters(byte[] buf, int off)
Ed25519PublicKeyParameters(java.io.InputStream input)
Ed25519PublicKeyParameters(Ed25519.PublicPoint publicPoint)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
-
-
-
Field Detail
-
KEY_SIZE
public static final int KEY_SIZE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf)
-
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf, int off)
-
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(Ed25519.PublicPoint publicPoint)
-
-