| Modifier and Type | Field and Description |
|---|---|
net.openhft.chronicle.bytes.BytesStore |
state |
| Constructor and Description |
|---|
MultiPart()
Initialise a wrapper for a single multi-part message exchange
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(net.openhft.chronicle.bytes.BytesStore message)
Add a part to this multi-part message
|
net.openhft.chronicle.bytes.BytesStore |
sign(net.openhft.chronicle.bytes.BytesStore sk)
Underlying sign call taking an explicit BytesStore key Where possible the strongly-typed version above should be preferred
|
net.openhft.chronicle.bytes.BytesStore |
sign(Signature.SecretKey sk)
Sign the collection of messages with a single overall signature
|
void |
verify(net.openhft.chronicle.bytes.BytesStore signature,
net.openhft.chronicle.bytes.BytesStore pk)
Underlying verify call taking an explicit BytesStore key Where possible the strongly-typed version above should be preferred
|
void |
verify(net.openhft.chronicle.bytes.BytesStore signature,
Signature.PublicKey pk)
Given a collection of messages, verify that the given signature matches
|
public MultiPart()
public void add(net.openhft.chronicle.bytes.BytesStore message)
message - - the message to addpublic net.openhft.chronicle.bytes.BytesStore sign(Signature.SecretKey sk)
sk - - the signer's secret keypublic net.openhft.chronicle.bytes.BytesStore sign(net.openhft.chronicle.bytes.BytesStore sk)
sk - - BytesStore corresponding to the signer's secret keypublic void verify(net.openhft.chronicle.bytes.BytesStore signature,
Signature.PublicKey pk)
signature - - the signature to testpk - - the signer's public keypublic void verify(net.openhft.chronicle.bytes.BytesStore signature,
net.openhft.chronicle.bytes.BytesStore pk)
signature - - the signature to testpk - - the signer's public keyCopyright © 2023. All rights reserved.