Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.params
Class X448PrivateKeyParameters

java.lang.Object
  |
  +--org.bouncycastle.crypto.params.AsymmetricKeyParameter
        |
        +--org.bouncycastle.crypto.params.X448PrivateKeyParameters
All Implemented Interfaces:
CipherParameters

public final class X448PrivateKeyParameters
extends AsymmetricKeyParameter


Field Summary
static int KEY_SIZE
           
static int SECRET_SIZE
           
 
Constructor Summary
X448PrivateKeyParameters(byte[] buf)
           
X448PrivateKeyParameters(byte[] buf, int off)
           
X448PrivateKeyParameters(java.io.InputStream input)
           
X448PrivateKeyParameters(java.security.SecureRandom random)
           
 
Method Summary
 void encode(byte[] buf, int off)
           
 X448PublicKeyParameters generatePublicKey()
           
 void generateSecret(X448PublicKeyParameters publicKey, byte[] buf, int off)
           
 byte[] getEncoded()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_SIZE

public static final int KEY_SIZE

SECRET_SIZE

public static final int SECRET_SIZE
Constructor Detail

X448PrivateKeyParameters

public X448PrivateKeyParameters(java.security.SecureRandom random)

X448PrivateKeyParameters

public X448PrivateKeyParameters(byte[] buf)

X448PrivateKeyParameters

public X448PrivateKeyParameters(byte[] buf,
                                int off)

X448PrivateKeyParameters

public X448PrivateKeyParameters(java.io.InputStream input)
                         throws java.io.IOException
Method Detail

encode

public void encode(byte[] buf,
                   int off)

getEncoded

public byte[] getEncoded()

generatePublicKey

public X448PublicKeyParameters generatePublicKey()

generateSecret

public void generateSecret(X448PublicKeyParameters publicKey,
                           byte[] buf,
                           int off)

Bouncy Castle Cryptography Library 1.77.0