NHSecretKeyProcessor.PartyUBuilder (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.pqc.crypto.newhope

## Class NHSecretKeyProcessor.PartyUBuilder

- java.lang.Object
- - org.bouncycastle.pqc.crypto.newhope.NHSecretKeyProcessor.PartyUBuilder

- Enclosing class:
    NHSecretKeyProcessor

      public static class NHSecretKeyProcessor.PartyUBuilder
      extends java.lang.Object

  Party U (initiator) processor builder.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PartyUBuilder(java.security.SecureRandom random)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `NHSecretKeyProcessor` | `build(byte[] partB)`
    `byte[]` | `getPartA()`
    `NHSecretKeyProcessor.PartyUBuilder` | `withSharedInfo(byte[] sharedInfo)`

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

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

- - ### Constructor Detail

    - #### PartyUBuilder

          public PartyUBuilder(java.security.SecureRandom random)

  - ### Method Detail

    - #### withSharedInfo

          public NHSecretKeyProcessor.PartyUBuilder withSharedInfo(byte[] sharedInfo)

    - #### getPartA

          public byte[] getPartA()

    - #### build

          public NHSecretKeyProcessor build(byte[] partB)