public class NHOtherInfoGenerator extends 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 SecureRandom |
random |
protected boolean |
used |
Constructor and Description |
---|
NHOtherInfoGenerator(AlgorithmIdentifier algorithmID,
byte[] partyUInfo,
byte[] partyVInfo,
SecureRandom random)
Create a basic builder with just the compulsory fields.
|
protected final DEROtherInfo.Builder otherInfoBuilder
protected final SecureRandom random
protected boolean used
public NHOtherInfoGenerator(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo, 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.Copyright © 2021 BouncyCastle.org. All rights reserved.