Package org.bouncycastle.pqc.crypto.newhope

## Class NHSecretKeyProcessor.PartyVBuilder

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

- Enclosing class:
    NHSecretKeyProcessor

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

  Party V (responder) processor builder.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected java.security.SecureRandom` | `random` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PartyVBuilder​(java.security.SecureRandom random)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `NHSecretKeyProcessor` | `build()` |
    `byte[]` | `getPartB​(byte[] partUContribution)` |
    `NHSecretKeyProcessor.PartyVBuilder` | `withSharedInfo​(byte[] sharedInfo)` |

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

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

- - ### Field Detail

    - #### random

          protected final java.security.SecureRandom random

  - ### Constructor Detail

    - #### PartyVBuilder

          public PartyVBuilder​(java.security.SecureRandom random)

  - ### Method Detail

    - #### withSharedInfo

          public NHSecretKeyProcessor.PartyVBuilder withSharedInfo​(byte[] sharedInfo)

    - #### getPartB

          public byte[] getPartB​(byte[] partUContribution)

    - #### build

          public NHSecretKeyProcessor build()