public static class PQCOtherInfoGenerator.PartyU extends PQCOtherInfoGenerator
PQCOtherInfoGenerator.PartyU, PQCOtherInfoGenerator.PartyV
kemParameters, otherInfoBuilder, random
Constructor and Description |
---|
PartyU(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[] suppPrivInfoPartB)
Generate the OtherInfo decrypting the contents of suppPrivInfoPartB and putting it in the
suppPrivInfo field of the OtherInfo structure.
|
byte[] |
getSuppPrivInfoPartA()
Return the part A information (Party U's public key).
|
PQCOtherInfoGenerator |
withSuppPubInfo(byte[] suppPubInfo)
Add optional supplementary public info (DER tagged, implicit, 0).
|
public PartyU(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[] getSuppPrivInfoPartA()
public org.bouncycastle.crypto.util.DEROtherInfo generate(byte[] suppPrivInfoPartB)
suppPrivInfoPartB
- an encrypted packet