Bouncy Castle Cryptography Library 1.81

org.bouncycastle.pqc.crypto.newhope
Class NHOtherInfoGenerator.PartyV

java.lang.Object
  extended byorg.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator
      extended byorg.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator.PartyV
Enclosing class:
NHOtherInfoGenerator

public static class NHOtherInfoGenerator.PartyV
extends NHOtherInfoGenerator

Party V (responder) generation.


Nested Class Summary
 
Nested classes inherited from class org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator
NHOtherInfoGenerator.PartyU, NHOtherInfoGenerator.PartyV
 
Field Summary
 
Fields inherited from class org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator
otherInfoBuilder, random, used
 
Constructor Summary
NHOtherInfoGenerator.PartyV(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, java.security.SecureRandom random)
           
 
Method Summary
 DEROtherInfo generate()
           
 byte[] getSuppPrivInfoPartB(byte[] suppPrivInfoPartA)
           
 NHOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo)
          Add optional supplementary public info (DER tagged, implicit, 0).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NHOtherInfoGenerator.PartyV

public NHOtherInfoGenerator.PartyV(AlgorithmIdentifier algorithmID,
                                   byte[] partyUInfo,
                                   byte[] partyVInfo,
                                   java.security.SecureRandom random)
Method Detail

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.

getSuppPrivInfoPartB

public byte[] getSuppPrivInfoPartB(byte[] suppPrivInfoPartA)

generate

public DEROtherInfo generate()

Bouncy Castle Cryptography Library 1.81