public class NHOtherInfoGenerator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NHOtherInfoGenerator.PartyU
Party U (initiator) generation.
|
static class |
NHOtherInfoGenerator.PartyV
Party V (responder) generation.
|
Modifier and Type | Field and Description |
---|---|
protected DEROtherInfo.Builder |
otherInfoBuilder |
protected java.security.SecureRandom |
random |
Constructor and Description |
---|
NHOtherInfoGenerator(AlgorithmIdentifier algorithmID,
byte[] partyUInfo,
byte[] partyVInfo,
java.security.SecureRandom random)
Create a basic builder with just the compulsory fields.
|
protected final DEROtherInfo.Builder otherInfoBuilder
protected final java.security.SecureRandom random
public NHOtherInfoGenerator(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, java.security.SecureRandom random)
algorithmID
- the algorithm associated with this invocation of the KDF.partyUInfo
- sender party info.partyVInfo
- receiver party info.random
- a source of randomness.