public static class PQCOtherInfoGenerator.PartyV extends PQCOtherInfoGenerator
PQCOtherInfoGenerator.PartyU, PQCOtherInfoGenerator.PartyV
kemParameters, otherInfoBuilder, random
Constructor and Description |
---|
PartyV(KEMParameters kemParameters,
org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmID,
byte[] partyUInfo,
byte[] partyVInfo,
java.security.SecureRandom random) |
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.crypto.util.DEROtherInfo |
generate() |
byte[] |
getSuppPrivInfoPartB(byte[] suppPrivInfoPartA)
Return the part B information - a secret encrypted using the encoded public key passed in suppPrivInfoPartA.
|
PQCOtherInfoGenerator |
withSuppPubInfo(byte[] suppPubInfo)
Add optional supplementary public info (DER tagged, implicit, 0).
|
public PartyV(KEMParameters kemParameters, org.bouncycastle.asn1.x509.AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, java.security.SecureRandom random)
public PQCOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo)
suppPubInfo
- supplementary public info.public byte[] getSuppPrivInfoPartB(byte[] suppPrivInfoPartA)
suppPrivInfoPartA
- encoding of Party U's public key.public org.bouncycastle.crypto.util.DEROtherInfo generate()