| Modifier and Type | Class and Description |
|---|---|
| public static class | NHOtherInfoGenerator.PartyU
Party U (initiator) generation. |
| public static class | NHOtherInfoGenerator.PartyV
Party V (responder) generation. |
| Modifier and Type | Field and Description |
|---|---|
| protected final DEROtherInfo. | |
| protected final SecureRandom | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| public | NHOtherInfoGenerator(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 NHPublicKeyParameters |
| otherInfoBuilder | back to summary |
|---|---|
| protected final DEROtherInfo. | |
| random | back to summary |
|---|---|
| protected final SecureRandom random | |
| used | back to summary |
|---|---|
| protected boolean used | |
| NHOtherInfoGenerator | back to summary |
|---|---|
| public NHOtherInfoGenerator(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(NHPublicKeyParameters pubKey) | |
| getPublicKey | back to summary |
|---|---|
| private static NHPublicKeyParameters getPublicKey(byte[] enc) | |
| Modifier and Type | Field and Description |
|---|---|
| private NHAgreement | |
| private AsymmetricCipherKeyPair |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DEROtherInfo | |
| public byte[] | |
| public NHOtherInfoGenerator | Returns: the current builder instance.supplementary public info. suppPubInfo)Add optional supplementary public info (DER tagged, implicit, 0). |
| agreement | back to summary |
|---|---|
| private NHAgreement agreement | |
| aKp | back to summary |
|---|---|
| private AsymmetricCipherKeyPair aKp | |
| PartyU | back to summary |
|---|---|
| public PartyU(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) | |
| generate | back to summary |
|---|---|
| public DEROtherInfo generate(byte[] suppPrivInfoPartB) | |
| getSuppPrivInfoPartA | back to summary |
|---|---|
| public byte[] getSuppPrivInfoPartA() | |
| withSuppPubInfo | back to summary |
|---|---|
| public NHOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo) Add optional supplementary public info (DER tagged, implicit, 0).
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DEROtherInfo | |
| public byte[] | |
| public NHOtherInfoGenerator | Returns: the current builder instance.supplementary public info. suppPubInfo)Add optional supplementary public info (DER tagged, implicit, 0). |
| PartyV | back to summary |
|---|---|
| public PartyV(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, SecureRandom random) | |
| generate | back to summary |
|---|---|
| public DEROtherInfo generate() | |
| getSuppPrivInfoPartB | back to summary |
|---|---|
| public byte[] getSuppPrivInfoPartB(byte[] suppPrivInfoPartA) | |
| withSuppPubInfo | back to summary |
|---|---|
| public NHOtherInfoGenerator withSuppPubInfo(byte[] suppPubInfo) Add optional supplementary public info (DER tagged, implicit, 0).
| |