Class NHOtherInfoGenerator.PartyU

java.lang.Object
org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator
org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator.PartyU
Enclosing class:
NHOtherInfoGenerator

public static class NHOtherInfoGenerator.PartyU extends NHOtherInfoGenerator
Party U (initiator) generation.
  • Constructor Details

  • Method Details

    • withSuppPubInfo

      public NHOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo)
      Add optional supplementary public info (DER tagged, implicit, 0).
      Parameters:
      suppPubInfo - supplementary public info.
      Returns:
      the current builder instance.
    • getSuppPrivInfoPartA

      public byte[] getSuppPrivInfoPartA()
    • generate

      public DEROtherInfo generate(byte[] suppPrivInfoPartB)