org.bouncycastle.crypto.params

## Class AsymmetricKeyParameter

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter

- All Implemented Interfaces:
    CipherParameters
  Direct Known Subclasses:
    MLKEMKeyParameters

      public class AsymmetricKeyParameter
      extends Object
      implements CipherParameters

  Parameter class for asymmetric key operations. Distinguishes between public and private key usage in cryptographic operations.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `(package private) boolean` | `privateKey`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AsymmetricKeyParameter(boolean privateKey)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isPrivate()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### privateKey

          boolean privateKey

  - ### Constructor Detail

    - #### AsymmetricKeyParameter

          public AsymmetricKeyParameter(boolean privateKey)

  - ### Method Detail

    - #### isPrivate

          public boolean isPrivate()