Package org.bouncycastle.crypto.params
Class Ed448PrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.Ed448PrivateKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEd448PrivateKeyParameters
(byte[] buf) Ed448PrivateKeyParameters
(byte[] buf, int off) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(byte[] buf, int off) byte[]
void
sign
(int algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff) void
sign
(int algorithm, Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff) Deprecated.use overload that doesn't take a public keyMethods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Field Details
-
KEY_SIZE
public static final int KEY_SIZE- See Also:
-
SIGNATURE_SIZE
public static final int SIGNATURE_SIZE- See Also:
-
-
Constructor Details
-
Ed448PrivateKeyParameters
-
Ed448PrivateKeyParameters
public Ed448PrivateKeyParameters(byte[] buf) -
Ed448PrivateKeyParameters
public Ed448PrivateKeyParameters(byte[] buf, int off) -
Ed448PrivateKeyParameters
- Throws:
IOException
-
-
Method Details
-
encode
public void encode(byte[] buf, int off) -
getEncoded
public byte[] getEncoded() -
generatePublicKey
-
sign
public void sign(int algorithm, Ed448PublicKeyParameters publicKey, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff) Deprecated.use overload that doesn't take a public key -
sign
public void sign(int algorithm, byte[] ctx, byte[] msg, int msgOff, int msgLen, byte[] sig, int sigOff)
-