SophiaFramework UNIVERSE 5.3 |
#include <SFBRawBlockCipher.h.hpp>
class SFBRawBlockCipher : public SFBParameters;
SFMTYPEDEFWRAPPER(SFBRawBlockCipher)
BREW 2.0 | BREW 2.1 | BREW 3.1 | BREW 4.0 |
---|---|---|---|
X | X | O | O |
Public Functions | |
---|---|
static SFBRawBlockCipherSmp |
NewInstance(
SFCErrorPtr exception = null
) Create a new SFBRawBlockCipher instance.
|
static SFBRawBlockCipherSmp |
NewInstance(
AEECLSID id
, SFCErrorPtr exception = null
) Create a new SFBRawBlockCipher instance.
|
SFCError |
ProcessBlocks(
ACharConstPtr input
, UInt32 length
, ACharPtr output
) Encrypt or decrypt multiple blocks.
|
SFCError |
ProcessBlocks(
SFXBufferConstRef input
, SFXBufferPtr output
) Encrypt or decrypt multiple blocks.
|
SFCError |
SetParam(
SInt32 id
, VoidConstPtr data
, UInt32 length
)
(inherits from SFBParameters)
This method sets a parameter value.
|
SFCError |
SetParam(
SInt32 id
, SFXBufferConstRef data
)
(inherits from SFBParameters)
This method sets a parameter value.
|
SFCError |
SetParam(
SInt32 id
, SFXAnsiStringConstRef data
)
(inherits from SFBParameters)
This method sets a parameter value.
|
[ public, static ] SFBRawBlockCipherSmp NewInstance( SFCErrorPtr exception = null // Error );
[ public, static ] SFBRawBlockCipherSmp NewInstance( AEECLSID id // Class ID SFCErrorPtr exception = null // Error );
[ public ] SFCError ProcessBlocks( ACharConstPtr input // Pointer to data to be encrypted/decrypted UInt32 length // count of bytes to be encrypted (in multiples of block size) ACharPtr output // Buffer to receive encrypted/decrypted data );
[ public ] SFCError ProcessBlocks( SFXBufferConstRef input // Pointer to data to be encrypted/decrypted SFXBufferPtr output // Buffer to receive encrypted/decrypted data );
The input count must be a multiple of the blocksize. The output buffer must have enough space to hold the input count. The input and output pointers may point to the same area.
Copyright(c) 2002 - 2024 Sophia Cradle Incorporated All Rights Reserved. |