Bouncy Castle Cryptography Library 1.79

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
protected  java.security.SecureRandom random
           
 
Constructor Summary
NHSecretKeyProcessor.PartyVBuilder(java.security.SecureRandom random)
           
 
Method Summary
 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

NHSecretKeyProcessor.PartyVBuilder

public NHSecretKeyProcessor.PartyVBuilder(java.security.SecureRandom random)
Method Detail

withSharedInfo

public NHSecretKeyProcessor.PartyVBuilder withSharedInfo(byte[] sharedInfo)

getPartB

public byte[] getPartB(byte[] partUContribution)

build

public NHSecretKeyProcessor build()

Bouncy Castle Cryptography Library 1.79