Class NHOtherInfoGenerator.PartyV
java.lang.Object
org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator
org.bouncycastle.pqc.crypto.newhope.NHOtherInfoGenerator.PartyV
- Enclosing class:
NHOtherInfoGenerator
Party V (responder) generation.
-
Nested Class Summary
Nested classes/interfaces 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
ConstructorsConstructorDescriptionPartyV(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) -
Method Summary
Modifier and TypeMethodDescriptiongenerate()byte[]getSuppPrivInfoPartB(byte[] suppPrivInfoPartA) withSuppPubInfo(byte[] suppPubInfo) Add optional supplementary public info (DER tagged, implicit, 0).
-
Constructor Details
-
PartyV
public PartyV(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random)
-
-
Method Details
-
withSuppPubInfo
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
-