|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.crypto.util.DEROtherInfo.Builder
Builder to create OtherInfo
Constructor Summary | |
DEROtherInfo.Builder(AlgorithmIdentifier algorithmID,
byte[] partyUInfo,
byte[] partyVInfo)
Create a basic builder with just the compulsory fields. |
Method Summary | |
DEROtherInfo |
build()
Build the KTSOtherInfo. |
DEROtherInfo.Builder |
withSuppPrivInfo(byte[] suppPrivInfo)
Add optional supplementary private info (DER tagged, implicit, 1). |
DEROtherInfo.Builder |
withSuppPubInfo(byte[] suppPubInfo)
Add optional supplementary public info (DER tagged, implicit, 0). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DEROtherInfo.Builder(AlgorithmIdentifier algorithmID, byte[] partyUInfo, byte[] partyVInfo)
algorithmID
- the algorithm associated with this invocation of the KDF.partyUInfo
- sender party info.partyVInfo
- receiver party info.Method Detail |
public DEROtherInfo.Builder withSuppPubInfo(byte[] suppPubInfo)
suppPubInfo
- supplementary public info.
public DEROtherInfo.Builder withSuppPrivInfo(byte[] suppPrivInfo)
suppPrivInfo
- supplementary private info.
public DEROtherInfo build()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |