SOAPQuickSigner Class
Properties Methods Events Configuration Settings Errors
The SOAPQuickSigner class signs SOAP messages.
Syntax
SecureBlackboxSOAPQuickSigner
SecureBlackboxSOAPQuickSignerSwift
Remarks
The purpose of the SOAPQuickSigner class is creating simple generic signatures over SOAP messages. Unlike SOAPSigner, it does not include chain validation and LTV features, and may be more appropriate for scenarios where no chain validation is required.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
- canonicalizationMethod | Specifies XML canonicalization method to use. |
- embedCertificateMethod | Controls the certificate disposition within the signature. |
- encoding | Specifies XML encoding. |
- externalCryptoCustomParams | Custom parameters to be passed to the signing service (uninterpreted). |
- externalCryptoData | Additional data to be included in the async state and mirrored back by the requestor. |
- externalCryptoExternalHashCalculation | Specifies whether the message hash is to be calculated at the external endpoint. |
- externalCryptoHashAlgorithm | Specifies the request's signature hash algorithm. |
- externalCryptoKeyID | The ID of the pre-shared key used for DC request authentication. |
- externalCryptoKeySecret | The pre-shared key used for DC request authentication. |
- externalCryptoMethod | Specifies the asynchronous signing method. |
- externalCryptoMode | Specifies the external cryptography mode. |
- externalCryptoPublicKeyAlgorithm | Provide public key algorithm here if the certificate is not available on the pre-signing stage. |
- hashAlgorithm | Specifies the hash algorithm to be used. |
- inputFile | Specifies the SOAP message to be signed. |
- outputFile | A file where the signed SOAP message will be saved. |
- referenceCount | The number of records in the Reference arrays. |
- referenceAutoGenerateElementId:(int)referenceIndex | Specifies whether the identifier (ID) attribute for a referenced (target) element should be auto-generated during signing. |
- referenceCanonicalizationMethod:(int)referenceIndex | Use this property to specify the canonicalization method for the transform of the reference. |
- referenceCustomElementId:(int)referenceIndex | Specifies a custom identifier (ID) attribute for a referenced (target) element that will be set on signing. |
- referenceDigestValue:(int)referenceIndex | Use this property to get or set the value of the digest calculated over the referenced data. |
- referenceHandle:(int)referenceIndex | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- referenceHashAlgorithm:(int)referenceIndex | Specifies the hash algorithm to be used. |
- referenceHasURI:(int)referenceIndex | Specifies whether the URI is set (even when it is empty). |
- referenceID:(int)referenceIndex | A user-defined identifier (ID) attribute of this Reference element. |
- referenceInclusiveNamespacesPrefixList:(int)referenceIndex | Use this property to specify InclusiveNamespaces PrefixList for exclusive canonicalization transform of the reference. |
- referenceReferenceType:(int)referenceIndex | The Reference's type attribute as defined in XMLDSIG specification. |
- referenceTargetData:(int)referenceIndex | Contains the referenced external data when the digest value is not explicitly specified. |
- referenceTargetXMLElement:(int)referenceIndex | This property specifies the referenced XML element. |
- referenceURI:(int)referenceIndex | Use this property to get or set the URL which references the data. |
- referenceUseBase64Transform:(int)referenceIndex | Specifies whether Base64 transform is included in transform chain. |
- referenceUseEnvelopedSignatureTransform:(int)referenceIndex | Specifies whether enveloped signature transform is included in transform chain. |
- referenceUseXPathFilter2Transform:(int)referenceIndex | Specifies whether XPath Filter 2. |
- referenceUseXPathTransform:(int)referenceIndex | Specifies whether XPath transform is included in transform chain. |
- referenceXPathExpression:(int)referenceIndex | Use this property to specify XPath expression for XPath transform of the reference. |
- referenceXPathFilter2Expressions:(int)referenceIndex | Use this property to specify XPointer expression(s) for XPath Filter 2. |
- referenceXPathFilter2Filters:(int)referenceIndex | Use this property to specify XPointer filter(s) for XPath Filter 2. |
- referenceXPathFilter2PrefixList:(int)referenceIndex | Use this property to specify a prefix list for XPath Filter 2. |
- referenceXPathPrefixList:(int)referenceIndex | Use this property to specify a prefix list for XPath transform of the reference. |
- signatureType | The SOAP signature type to use. |
- signingCertBytes | Returns raw certificate data in DER format. |
- signingCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- signingChainCount | The number of records in the SigningChain arrays. |
- signingChainBytes:(int)signingChainIndex | Returns raw certificate data in DER format. |
- signingChainHandle:(int)signingChainIndex | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
- namespaceCount | The number of records in the Namespace arrays. |
- namespacePrefix:(int)namespaceIndex | A user-defined prefix value of a namespace. |
- namespaceURI:(int)namespaceIndex | A user-defined URI value of a namespace. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
- addBodyReference | Creates a new XML reference to the Body element of the SOAP message. |
- addDataReference | Creates a new XML reference to the specified data. |
- addReference | Creates a new XML reference to the specified XML element. |
- config | Sets or retrieves a configuration setting. |
- extractAsyncData | Extracts user data from the DC signing service response. |
- sign | Signs the SOAP message. |
- signAsyncBegin | Initiates the asynchronous signing operation. |
- signAsyncEnd | Completes the asynchronous signing operation. |
- signExternal | Signs the document using an external signing facility. |
Event List
The following is the full list of the events fired by the class with short descriptions. Click on the links for further details.
- onError | Information about errors during signing. |
- onExternalSign | Handles remote or external signing initiated by the SignExternal method or other source. |
- onFormatElement | Reports the XML element that is currently being processed. |
- onFormatText | Reports XML text that is currently being processed. |
- onNotification | This event notifies the application about an underlying control flow event. |
- onResolveReference | Asks the application to resolve a reference. |
Configuration Settings
The following is a list of configuration settings for the class with short descriptions. Click on the links for further details.
BinarySecurityTokenID | Specifies the ID for BinarySecurityToken element. |
HMACKey | The key value for HMAC. |
HMACOutputLength | TBD. |
IncludeKey | Specifies whether to include the signing key to the signature. |
IncludeKeyValue | Specifies whether the key value must be included to the signature. |
InclusiveNamespacesPrefixList | Specifies the InclusiveNamespaces PrefixList. |
KeyInfoCustomXML | The custom XML content for KeyInfo element. |
KeyInfoDetails | Specifies the signing key info details to include to the signature. |
KeyInfoID | Specifies the ID for KeyInfo element. |
KeyName | Contains information about the key used for signing. |
PrependCustomXML | The custom XML content that prepended before signature. |
SecurityHeaderIndex | Specifies the SecurityHeader index. |
SecurityTokenReferenceID | Specifies the ID for SecurityTokenReference element. |
SignatureID | Specifies the ID for Signature element. |
SignaturePrefix | Specifies the signature prefix. |
SignatureValueID | Specifies the ID for SignatureValue element. |
SignedInfoID | Specifies the ID for SignedInfo element. |
TempPath | Location where the temporary files are stored. |
UseHMACSigning | Whether to use HMAC signing. |
UsePSS | Whether to use RSASSA-PSS algorithm. |
WriteBOM | Specifies whether byte-order mark should be written when saving the document. |
XMLFormatting | Specifies the signature XML formatting. |
CheckKeyIntegrityBeforeUse | Enables or disable private key integrity check before use. |
CookieCaching | Specifies whether a cookie cache should be used for HTTP(S) transports. |
Cookies | Gets or sets local cookies for the class (supported for HTTPClient, RESTClient and SOAPClient only). |
DefDeriveKeyIterations | Specifies the default key derivation algorithm iteration count. |
EnableClientSideSSLFFDHE | Enables or disables finite field DHE key exchange support in TLS clients. |
GlobalCookies | Gets or sets global cookies for all the HTTP transports. |
HttpUserAgent | Specifies the user agent name to be used by all HTTP clients. |
LogDestination | Specifies the debug log destination. |
LogDetails | Specifies the debug log details to dump. |
LogFile | Specifies the debug log filename. |
LogFilters | Specifies the debug log filters. |
LogFlushMode | Specifies the log flush mode. |
LogLevel | Specifies the debug log level. |
LogMaxEventCount | Specifies the maximum number of events to cache before further action is taken. |
LogRotationMode | Specifies the log rotation mode. |
MaxASN1BufferLength | Specifies the maximal allowed length for ASN.1 primitive tag data. |
MaxASN1TreeDepth | Specifies the maximal depth for processed ASN.1 trees. |
OCSPHashAlgorithm | Specifies the hash algorithm to be used to identify certificates in OCSP requests. |
UseOwnDNSResolver | Specifies whether the client classes should use own DNS resolver. |
UseSharedSystemStorages | Specifies whether the validation engine should use a global per-process copy of the system certificate stores. |
UseSystemOAEPAndPSS | Enforces or disables the use of system-driven RSA OAEP and PSS computations. |
UseSystemRandom | Enables or disables the use of the OS PRNG. |