Package org.bouncycastle.crypto.params
Class Ed25519PublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.Ed25519PublicKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEd25519PublicKeyParameters
(byte[] buf) Ed25519PublicKeyParameters
(byte[] buf, int off) Ed25519PublicKeyParameters
(Ed25519.PublicPoint publicPoint) -
Method Summary
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Field Details
-
KEY_SIZE
public static final int KEY_SIZE- See Also:
-
-
Constructor Details
-
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf) -
Ed25519PublicKeyParameters
public Ed25519PublicKeyParameters(byte[] buf, int off) -
Ed25519PublicKeyParameters
- Throws:
IOException
-
Ed25519PublicKeyParameters
-
-
Method Details
-
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)
-