Package 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

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `KEY_SIZE` |
    `static int` | `SECRET_SIZE` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `X448PrivateKeyParameters​(byte[] buf, int off)` |
    `X448PrivateKeyParameters​(java.io.InputStream input)` |
    `X448PrivateKeyParameters​(java.security.SecureRandom random)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `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

      See Also:
        Constant Field Values

    - #### SECRET_SIZE

          public static final int SECRET_SIZE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### X448PrivateKeyParameters

          public X448PrivateKeyParameters​(java.security.SecureRandom random)

    - #### X448PrivateKeyParameters

          public X448PrivateKeyParameters​(byte[] buf,
                                          int off)

    - #### X448PrivateKeyParameters

          public X448PrivateKeyParameters​(java.io.InputStream input)
                                   throws java.io.IOException

      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)