SecureBlackbox 2020 Delphi Edition

Questions / Feedback?

SymmetricCrypto Component

Properties   Methods   Events   Configuration Settings   Errors  

The SymmetricCrypto component supports encrypting and decrypting messages.

Syntax

TsbxSymmetricCrypto

Remarks

SymmetricCrypto allows you to encrypt and decrypt messages.

Property List


The following is the full list of the properties of the component with short descriptions. Click on the links for further details.

AssociatedDataProvides Associated Data for AEAD algorithms.
BlockSizeThe block size of the chosen symmetric cipher.
EncryptionAlgorithmThe encryption algorithm to use for encrypting the data.
HashAlgorithmThe hash algorithm to use during encryption.
InputEncodingThe encoding to apply to the input data.
KeyThe key to use for the cryptographic operation.
KeySizeReturns the cryptographic key size in bytes.
MACAlgorithmThe (H)MAC algorithm to use during encryption.
ModeSpecifies the symmetric cipher mode of operation.
NonceSpecifies the Nonce value to employ.
OutputEncodingThe encoding to apply to the output data.
PaddingThe padding type to apply to the encrypted data.
PayloadSizeSpecifies the payload size, in bytes.
StreamCipherReturns true if the selected algorithms works as a stream cipher.
TagSizeSpecifies the AEAD tag size, in bytes.

Method List


The following is the full list of the methods of the component with short descriptions. Click on the links for further details.

ConfigSets or retrieves a configuration setting.
DecryptDecrypts a buffer.
DecryptFileDecrypts a file.
DecryptFinalFinalization of decryption by blocks.
DecryptInitInitializes a per-block decryption process.
DecryptUpdateDecrypts the next block of encrypted data.
EncryptEncrypts a buffer.
EncryptFileEncrypts a file.
EncryptFinalFinalization of encryption by blocks.
EncryptInitInitializes a per-block encryption process.
EncryptUpdateEncrypts the next block of data.

Event List


The following is the full list of the events fired by the component with short descriptions. Click on the links for further details.

ErrorReports errors during encryption or decryption.
NotificationThis event notifies the application about an underlying control flow event.
ProgressReports the data encryption/decryption progress.

Configuration Settings


The following is a list of configuration settings for the component with short descriptions. Click on the links for further details.

CompressSpecifies whether the JSON output should be compressed.
CTRLittleEndianSpecifies whether the little-endian representation should be employed in CTR mode.
TempPathPath for storing temporary files.
CheckKeyIntegrityBeforeUseEnables or disable private key integrity check before use.
CookieCachingSpecifies whether a cookie cache should be used for HTTP(S) transports.
CookiesGets or sets local cookies for the component (supported for HTTPClient, RESTClient and SOAPClient only).
DefDeriveKeyIterationsSpecifies the default key derivation algorithm iteration count.
EnableClientSideSSLFFDHEEnables or disables finite field DHE key exchange support in TLS clients.
GlobalCookiesGets or sets global cookies for all the HTTP transports.
HttpUserAgentSpecifies the user agent name to be used by all HTTP clients.
LogDestinationSpecifies the debug log destination.
LogDetailsSpecifies the debug log details to dump.
LogFileSpecifies the debug log filename.
LogFiltersSpecifies the debug log filters.
LogFlushModeSpecifies the log flush mode.
LogLevelSpecifies the debug log level.
LogMaxEventCountSpecifies the maximum number of events to cache before further action is taken.
LogRotationModeSpecifies the log rotation mode.
MaxASN1BufferLengthSpecifies the maximal allowed length for ASN.1 primitive tag data.
MaxASN1TreeDepthSpecifies the maximal depth for processed ASN.1 trees.
OCSPHashAlgorithmSpecifies the hash algorithm to be used to identify certificates in OCSP requests.
UseOwnDNSResolverSpecifies whether the client components should use own DNS resolver.
UseSharedSystemStoragesSpecifies whether the validation engine should use a global per-process copy of the system certificate stores.
UseSystemOAEPAndPSSEnforces or disables the use of system-driven RSA OAEP and PSS computations.
UseSystemRandomEnables or disables the use of the OS PRNG.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 Delphi Edition - Version 20.0 [Build 8166]