public static class ChunkFactory.AsymmMsgChunkFactory extends ChunkFactory
ChunkFactory.AcknowledgeChunkFactory, ChunkFactory.AsymmMsgChunkFactory, ChunkFactory.ErrorMessageChunkFactory, ChunkFactory.HelloChunkFactorycipherBlockSize, maxChunkSize, maxPlaintextSize, messageHeaderSize, securityHeader, securityMode, sequenceHeader, signatureSizeBIG_ENDIAN_HEAP_BYTEBUFFER_FACTORY, DEFAULT_ENDIAN_HEAP_BYTEBUFFER_FACTORY, LITTLE_ENDIAN_HEAP_BYTEBUFFER_FACTORY| Constructor and Description |
|---|
AsymmMsgChunkFactory(int maxChunkSize,
SecurityConfiguration profile) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
allocate(int bodySize)
Creates a
ByteBuffer with the given capacity. |
encryptChunk, expandToCompleteChunk, expandToCompleteChunk, getMinimumPadding, signChunk, writePadding, writePaddingSizepublic AsymmMsgChunkFactory(int maxChunkSize,
SecurityConfiguration profile)
throws ServiceResultException
ServiceResultExceptionpublic ByteBuffer allocate(int bodySize)
ChunkFactoryByteBuffer with the given capacity.
Allocate chunk for a message with a given body size.allocate in class ChunkFactoryCopyright © 2026. All rights reserved.