SecureBlackbox 2020 Android Edition

Questions / Feedback?

XMLEncryptor Component

Properties   Methods   Events   Configuration Settings   Errors  

The XMLEncryptor component encrypts XML documents.

Syntax

SecureBlackbox.Xmlencryptor

Remarks

XMLEncryptor encrypts XML documents with certificates or generic keys.

Property List


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

EncodingSpecifies XML encoding.
EncryptedDataTypeSpecifies the type of the data being encrypted.
EncryptionKeyThe symmetric (session) key used to encrypt the data.
EncryptionMethodThe encryption method used to encrypt the document.
EncryptKeySpecifies if the encryption key is encrypted.
ExternalDataThe data that should be encrypted.
InputBytesUse this property to pass the input to component in the byte array form.
InputFileThe XML document to be encrypted.
InputStreamStream containing the XML document.
KeyEncryptionCertificateThe certificate used to encrypt a session key.
KeyEncryptionKeyThe symmetric key used to encrypt a session key.
KeyEncryptionTypeSpecifies how the session key is encrypted.
KeyTransportMethodSpecifies how the session key is encrypted.
KeyWrapMethodThe key wrap method used to encrypt the session key.
OutputBytesUse this property to read the output the component object has produced.
OutputFileDefines where to save the encrypted XML document.
OutputStreamA stream where the encrypted XML document can be written to.
UseGCMSpecifies if GCM mode is enabled.
XMLNodeDefines the XML element to encrypt.
XPathNamespacesSpecifies namespaces for XPath expression.

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.
encryptEncrypts an XML document.

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.

ErrorInformation about errors during signing.
FormatElementReports the XML element that is currently being processed.
FormatTextReports XML text that is currently being processed.
NotificationThis event notifies the application about an underlying control flow event.

Configuration Settings


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

EncryptedDataIDSpecifies the ID for EncryptedData element.
EncryptedKeyIDSpecifies the ID for EncryptedKey element.
EncryptedKeyInfoCustomXMLThe custom XML content for EncryptedKey\\KeyInfo element.
EncryptedKeyInfoIDSpecifies the ID for EncryptedKey\\KeyInfo element.
EncryptedKeyOnlySpecifies whether to create only EncryptedKey element.
EncryptedKeyXMLElementSpecifies the XML element where to save the encrypted key element.
EncryptionPrefixSpecifies the encryption prefix.
KeyInfoCustomXMLThe custom XML content for KeyInfo element.
KeyInfoIDSpecifies the ID for KeyInfo element.
KeyNameContains information about the key used for encryption.
MimeTypeSpecifies the mime type of the encrypted data.
SignaturePrefixSpecifies the signature prefix.
TempPathLocation where the temporary files are stored.
WriteBOMSpecifies whether byte-order mark should be written when saving the document.
XMLFormattingSpecifies the signature XML formatting.
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 Android Edition - Version 20.0 [Build 8156]