Package org.bouncycastle.crypto.params
Class X448PrivateKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.crypto.params.X448PrivateKeyParameters
- All Implemented Interfaces:
CipherParameters
-
Field Summary
-
Constructor Summary
ConstructorDescriptionX448PrivateKeyParameters
(byte[] buf) X448PrivateKeyParameters
(byte[] buf, int off) X448PrivateKeyParameters
(SecureRandom random) -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(byte[] buf, int off) void
generateSecret
(X448PublicKeyParameters publicKey, byte[] buf, int off) byte[]
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Field Details
-
KEY_SIZE
public static final int KEY_SIZE- See Also:
-
SECRET_SIZE
public static final int SECRET_SIZE- See Also:
-
-
Constructor Details
-
X448PrivateKeyParameters
-
X448PrivateKeyParameters
public X448PrivateKeyParameters(byte[] buf) -
X448PrivateKeyParameters
public X448PrivateKeyParameters(byte[] buf, int off) -
X448PrivateKeyParameters
- Throws:
IOException
-
-
Method Details
-
encode
public void encode(byte[] buf, int off) -
getEncoded
public byte[] getEncoded() -
generatePublicKey
-
generateSecret
-