| Modifier and Type | Class and Description |
|---|---|
| public static class | PQCOtherInfoGenerator.PartyU
Party U (initiator) generation. |
| public static class | PQCOtherInfoGenerator.PartyV
Party V (responder) generation. |
| Modifier and Type | Field and Description |
|---|---|
| protected final DEROtherInfo. | |
| protected final SecureRandom | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | PQCOtherInfoGenerator(AlgorithmIdentifier
the algorithm associated with this invocation of the KDF. algorithmID, byte[] sender party info. partyUInfo, byte[] receiver party info. partyVInfo, SecureRandom a source of randomness. random)Create a basic builder with just the compulsory fields. |
| Modifier and Type | Method and Description |
|---|---|
| private static byte[] | |
| private static AsymmetricKeyParameter |
| otherInfoBuilder | back to summary |
|---|---|
| protected final DEROtherInfo. | |
| random | back to summary |
|---|---|
| protected final SecureRandom random | |
| used | back to summary |
|---|---|
| protected boolean used | |
| PQCOtherInfoGenerator | back to summary |
|---|---|
| public PQCOtherInfoGenerator(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) Create a basic builder with just the compulsory fields.
| |
| getEncoded | back to summary |
|---|---|
| private static byte[] getEncoded(AsymmetricKeyParameter pubKey) | |
| getPublicKey | back to summary |
|---|---|
| private static AsymmetricKeyParameter getPublicKey(byte[] enc) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private AsymmetricCipherKeyPair | |
| private EncapsulatedSecretExtractor |
| Access | Constructor and Description |
|---|---|
| public | PartyU(KEMParameters
the key type parameters for populating the private info field. kemParams, AlgorithmIdentifier the algorithm associated with this invocation of the KDF. algorithmID, byte[] sender party info. partyUInfo, byte[] receiver party info. partyVInfo, SecureRandom a source of randomness. random)Create a basic builder with just the compulsory fields for the initiator. |
| Modifier and Type | Method and Description |
|---|---|
| public DEROtherInfo | |
| public byte[] | |
| public PQCOtherInfoGenerator | Returns: the current builder instance.supplementary public info. suppPubInfo)Add optional supplementary public info (DER tagged, implicit, 0). |
| aKp | back to summary |
|---|---|
| private AsymmetricCipherKeyPair aKp | |
| encSE | back to summary |
|---|---|
| private EncapsulatedSecretExtractor encSE | |
| PartyU | back to summary |
|---|---|
| public PartyU(KEMParameters kemParams, AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) Create a basic builder with just the compulsory fields for the initiator.
| |
| generate | back to summary |
|---|---|
| public DEROtherInfo generate(byte[] suppPrivInfoPartB) | |
| getSuppPrivInfoPartA | back to summary |
|---|---|
| public byte[] getSuppPrivInfoPartA() | |
| withSuppPubInfo | back to summary |
|---|---|
| public PQCOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo) Add optional supplementary public info (DER tagged, implicit, 0).
| |
| Modifier and Type | Field and Description |
|---|---|
| private EncapsulatedSecretGenerator |
| Access | Constructor and Description |
|---|---|
| public | PartyV(KEMParameters
the key type parameters for populating the private info field. kemParams, AlgorithmIdentifier the algorithm associated with this invocation of the KDF. algorithmID, byte[] sender party info. partyUInfo, byte[] receiver party info. partyVInfo, SecureRandom a source of randomness. random)Create a basic builder with just the compulsory fields for the responder. |
| Modifier and Type | Method and Description |
|---|---|
| public DEROtherInfo | |
| public byte[] | |
| public PQCOtherInfoGenerator | Returns: the current builder instance.supplementary public info. suppPubInfo)Add optional supplementary public info (DER tagged, implicit, 0). |
| encSG | back to summary |
|---|---|
| private EncapsulatedSecretGenerator encSG | |
| PartyV | back to summary |
|---|---|
| public PartyV(KEMParameters kemParams, AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) Create a basic builder with just the compulsory fields for the responder.
| |
| generate | back to summary |
|---|---|
| public DEROtherInfo generate() | |
| getSuppPrivInfoPartB | back to summary |
|---|---|
| public byte[] getSuppPrivInfoPartB(byte[] suppPrivInfoPartA) | |
| withSuppPubInfo | back to summary |
|---|---|
| public PQCOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo) Add optional supplementary public info (DER tagged, implicit, 0).
| |