SAMLWriter Class
Properties Methods Events Config Settings Errors
The SAMLWriter class offers SAML message generation functions.
Syntax
SAMLWriter
Remarks
SAMLWriter provides means of serialization of SAML entities into valid SAML protocol messages. Together with SAMLReader, this class provides fine-grained access to the composition of SAML requests, responses, assertions, and statements. You can use it as part of your SAML client or SAML server implementation for creating individual SAML entities.
SAMLReader and SAMLWriter are independent of SAML server controls that are also included in SecureBlackbox, and are aimed at scenarios that require lower-level access to SAML functionality than that provided by the server controls.
SAMLWriter can create the following kinds of SAML messages:
- AssertionIDRequest
- SubjectQuery
- AuthnQuery
- AttributeQuery
- AuthzDecisionQuery
- AuthnRequest
- ManageNameIDRequest
- LogoutRequest
- NameIDMappingRequest
- ArtifactResolve
- Response
Please find below a quick-and-dirty example of the use of SAMLWriter class for creating a signed AuthnRequest message:
Samlwriter writer = new Samlwriter();
// configuring general message properties
writer.Destination = "http://destination-url.com";
writer.IssueInstant = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
writer.Issuer = "Value=https://issuer-url.com;Format=urn:oasis:names:tc:SAML:2.0:nameid-format:entity;IDType=Issuer";
// configuring general AuthnRequest properties
writer.AuthnRequest.IsPassive = false;
writer.AuthnRequest.UseIsPassive = true;
writer.AuthnRequest.ForceAuthn = true;
writer.AuthnRequest.ProtocolBinding = "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST";
writer.AuthnRequest.AssertionConsumerServiceURL = "https://assertion-consumer-url.com";
writer.AuthnRequest.AttributeConsumingServiceIndex = 1;
writer.AuthnRequest.NameIDPolicyAllowCreate = false;
writer.AuthnRequest.NameIDPolicyFormat = "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent";
writer.AuthnRequest.ConditionsNotBefore = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
writer.AuthnRequest.ConditionsNotOnOrAfter = DateTime.UtcNow.AddMinutes(30).ToString("yyyy-MM-ddTHH:mm:ss.fffZ");
// adjusting request conditions if required
SAMLAssertionCondition cond = new SAMLAssertionCondition();
cond.ConditionType = SAMLConditionTypes.csctOneTimeUse;
writer.AuthnRequestConditions.Add(cond);
// configuring signing properties
Certificate certificate = new Certificate("C:\\Certs\\samlCert.pfx", "password");
writer.Sign = true;
writer.SigningCertificate = certificate;
// creating the SAML entity of the required type
writer.CreateNew((int)SamlwriterOutputTypes.cstyAuthnRequest);
// adjusting low-level signature parameters
writer.Config("SigDigestMethod=http://www.w3.org/2001/04/xmlenc#sha256");
writer.Config("SigMethod=http://www.w3.org/2001/04/xmldsig-more#rsa-sha256");
// signing the request and serializing it to XML
string request = writer.Save();
The above code produces the following AuthnRequest:
<samlp:AuthnRequest
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="53GhrzQ5f89fu214ANAR" Version="2.0"
IssueInstant="2021-12-15T10:39:31Z" Destination="http://destination-url.com" IsPassive="false"
ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
AssertionConsumerServiceURL="https://assertion-consumer-url.com" AttributeConsumingServiceIndex="1"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol">
<saml:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">https://issuer-url.com</saml:Issuer>
<ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:SignedInfo>
<ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/>
<ds:Reference URI="#53GhrzQ5f89fu214ANAR">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/><ds:DigestValue>+xhhgXtwYN0/r9h7WAwg=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>
jfYeIq/z8D1tJZYbVqDMoqKpdrfGMj8/zI7gbUsJbECAr00cN34md2QG0mo4cOx7pny+5
Tht7tUzqENHqcZdmlOcZc2JcJqokVxIcLEluFiWKlNjpexkXFQKzOC1peRfTZm8SQTqtP
Cz8IknLUc6Scfml29PHmks1PxjJDteGb/+FggsZRTGZC3a05nvH3ayvHukPeHuHssx5dX
nj0quT8salR6fdx6lAJo/AnDHzcfBNyxAMn+ebk5VOOgVD1L3PayvXib/maj8aVI2I5UT
o4vmfybTWKzeS8DX9We7UV+4Xowwe647t1A912xLVub/e23A18Yf1V0PXC87kttTkA==
</ds:SignatureValue>
<ds:KeyInfo>
<ds:X509Data><ds:X509Certificate>
MIIEKDCCAxCgAwIBAgIFYA3A3gIwDQYJKoZIhvcNAQELBQAwfjELMAkGA1UEBhMCVVMxC
zAJBgNVBAgTAk5DMRQwEgYDVQQHEwtDaGFwZWwgSGlsbDEiMCAGCSqGSIb3DQEJARMTc2
FsZXNAbnNvZnR3YXJlLmNvbTEoMCYGA1UEAxMfU2VjdXJlQmxhY2tib3ggRGVtbyBDZXJ
0aWZpY2F0ZTAeFw0xNzA5MDEwMDAwMDBaFw0yMjA5MDEwMDAwMDBaMH4xCzAJBgNVBAYT
AlVTMQswCQYDVQQIEwJOQzEUMBIGA1UEBxMLQ2hhcGVsIEhpbGwxIjAgBgkqhkiG9w0BC
QETE3NhbGVzQG5zb2Z0d2FyZS5jb20xKDAmBgNVBAMTH1NlY3VyZUJsYWNrYm94IERlbW
8gQ2VydGlmaWNhdGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCfAVIcq9o
eoIbw56LsPjxWsX3YGkqasBQzgQymhfcDZeSvFKFis8iqArGLTUUWOaImO5t2UmjIa+4n
YP39hb9Z1r0CMy53p83oYbbZZ7qMeji0pMAufJHqKCN8t2HNWf2HE8S9UOU7R/UHdrSAN
JitBKV9lSG9f450yWoGNwt35ZCsOp0zqtCgvkEvteGsz01R5DDjOccs3QNu25K/Sf27KP
CYabS6A1ehYNY/G32qoKNJhu3DN4bWje57gBWi9WSfQ3tZUOV5q2ozaNJA78Wl4fXC6RB
CaBh0GOwXeyZoH13LJdn+lqlCSMz024ImG4yFQEENbWvE9Elku8RYTn73AgMBAAGjgaww
gakwHwYDVR0jBBgwFoAUmt/L7GI1SH36Sp8EUBxTwuzSgqMwHQYDVR0OBBYEFJrfy+xiN
Uh9+kqfBFAcU8Ls0oKjMA8GA1UdEwEB/wQFMAMBAf8wDwYDVR0PAQH/BAUDAwDuADBFBg
NVHSUEPjA8BggrBgEFBQcDAQYIKwYBBQUHAwIGCCsGAQUFBwMDBggrBgEFBQcDBAYIKwY
BBQUHAwgGCCsGAQUFBwMJMA0GCSqGSIb3DQEBCwUAA4IBAQBovHBbMsW/k/5iuLQQqsYS
ng5X2iy1W+5BRb1hz0MGnHGLqJWy1ty5+bTo6g/zvT65dXIPIexLkInEenYSy75Lthr6a
ewUcvwfl1TYXjWlMD5Nm5pM9As71+XsGSdYGXoKohbEzbT6RDByjwR+yxtatqko7e1Eg6
InNJRTRt7al/63FSPEgSCqOX6asDVDNZ83db0dOcoeaPEiDz3liE3+tYHtKXj5/qwTtYd
aqBZxdJfuCKZveEFe1DO3/ayDvIvG9Eme+rEjntErF+Cw9a8ukesvDuT49cRE9oTs3O7f
6LUbhCv5zJN+dTFr75NSdWdp4yvn3nK3i2udeMnTWK0U
</ds:X509Certificate></ds:X509Data>
</ds:KeyInfo>
</ds:Signature>
<samlp:NameIDPolicy Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"/>
<saml:Conditions NotBefore="2021-12-15T10:39:31Z" NotOnOrAfter="2021-12-15T11:09:31Z"><saml:OneTimeUse/></saml:Conditions>
</samlp:AuthnRequest>
Note that you need to set the signing certificate before calling CreateNew.
Property List
The following is the full list of the properties of the class with short descriptions. Click on the links for further details.
AddXMLHeader | Controls the inclusion of an XML header in the message. |
ArtifactEndpointIndex | An accessor to the EndpointIndex entry of the artifact. |
ArtifactMessageHandle | An accessor to the MessageHandle property of the artifact. |
ArtifactRemainingArtifact | Returns the contents of the artifact. |
ArtifactSourceID | An accessor to the SourceID property of the artifact. |
ArtifactTypeCode | The TypeCode property of the artifact. |
ArtifactURI | An accessor to the URI property of the artifact. |
ArtifactResolveQuery | Contains the artifact resolve query. |
AssertionAttrCount | The number of records in the AssertionAttr arrays. |
AssertionAttrFriendlyName | Specifies the friendly name of the attribute Use this property to access or set the friendly name of a SAML attribute (e. |
AssertionAttrName | Specifies the name of the attribute. |
AssertionAttrNameFormat | Indicates the format used to reference the attribute. |
AssertionAttrStatementIndex | Contains the index of the statement the attribute corresponds to. |
AssertionAttrValues | Contains a list of attribute values. |
AssertionConditionCount | The number of records in the AssertionCondition arrays. |
AssertionConditionAudienceList | An accessor to the Audience list parameter of an audience restriction condition. |
AssertionConditionConditionType | Specifies a type of the condition object. |
AssertionConditionProxyRestrictionCount | An accessor to the proxy restriction count element of the condition. |
AssertionCount | Returns the number of assertions in the message. |
AssertionIDRequestReferences | Contains the References entry of the SAML assertion ID request. |
AssertionInfoAdviceAssertionCount | Contains the number of advice assertions. |
AssertionInfoAssertionType | Specifies the type of the assertion. |
AssertionInfoChainValidationDetails | The details of a certificate chain validation outcome. |
AssertionInfoChainValidationResult | The outcome of a certificate chain validation routine. |
AssertionInfoConditionsNotBefore | Represents the Conditions. |
AssertionInfoConditionsNotOnOrAfter | Represents the Conditions. |
AssertionInfoEncryptedContent | Represents the encrypted assertion content. |
AssertionInfoID | Represents the ID of the assertion. |
AssertionInfoIDRef | Represents an ID reference value. |
AssertionInfoIssueInstant | Contains the assertion issuance time stamp. |
AssertionInfoSignatureValidationResult | The outcome of the cryptographic signature validation. |
AssertionInfoSigned | Specifies whether the assertion is signed. |
AssertionInfoURIRef | Represents an URI reference value. |
AssertionInfoValidationLog | Contains the signing certificate's chain validation log. |
AssertionInfoVersion | Specifies the SAML protocol version used. |
AssertionIssuer | Specifies the assertion issuer. |
AssertionStatementCount | The number of records in the AssertionStatement arrays. |
AssertionStatementAttributes | Contains a list of statement attribute names. |
AssertionStatementAuthnContextAuthenticatingAuthorities | Contains the list of authenticating authorities. |
AssertionStatementAuthnContextChoice | Specifies the authentication context choice variant. |
AssertionStatementAuthnContextClassRef | Indicates the authentication contexts class reference. |
AssertionStatementAuthnContextDecl | Specifies the authentication contexts declaration. |
AssertionStatementAuthnContextDeclRef | Specifies the authentication contexts declaration reference. |
AssertionStatementAuthnInstant | Specifies the authentication event timestamp. |
AssertionStatementAuthnSessionIndex | Contains the authentication session index. |
AssertionStatementAuthnSessionNotOnOrAfter | Maps to the SessionNotOnOrAfter parameter of the authentication statement. |
AssertionStatementAuthnSubjectLocalityAddress | Specifies the authentication subjects address. |
AssertionStatementAuthnSubjectLocalityDNSName | Maps to the authentication subjects DNS name parameter. |
AssertionStatementAuthzActions | Provides access to the list of actions of the authorization statement. |
AssertionStatementAuthzDecision | Specifies the authorization decision. |
AssertionStatementAuthzDecisionEvidence | Manages the authorization decision statement evidence parameter. |
AssertionStatementAuthzDecisionResource | Specifies the authorization decision statement resource parameter. |
AssertionStatementStatementType | Specifies the assertion statement type. |
AssertionSubjectConfirmationCount | The number of records in the AssertionSubjectConfirmation arrays. |
AssertionSubjectConfirmationDataAddress | Contains the address enabled for presenting assertions. |
AssertionSubjectConfirmationDataInResponseTo | The ID of the SAML message in response to which the assertion is issued. |
AssertionSubjectConfirmationDataNotBefore | Time moment before which the subject cannot be confirmed. |
AssertionSubjectConfirmationDataNotOnOrAfter | Limits the time until which the subject can be confirmed. |
AssertionSubjectConfirmationDataRecipient | The URI of the entity or the location of the resource to which the assertion should be presented. |
AssertionSubjectConfirmationDataType | The type of data contained in the confirmation. |
AssertionSubjectConfirmationID | The identifier of the entity which can satisfy the subject confirmation requirements. |
AssertionSubjectConfirmationMethod | Specifies the mechanism to be used to confirm the subject. |
AssertionSubjectID | Specifies the assertion subject ID. |
AttrQueryAttrCount | The number of records in the AttrQueryAttr arrays. |
AttrQueryAttrFriendlyName | Specifies the friendly name of the attribute Use this property to access or set the friendly name of a SAML attribute (e. |
AttrQueryAttrName | Specifies the name of the attribute. |
AttrQueryAttrNameFormat | Indicates the format used to reference the attribute. |
AttrQueryAttrStatementIndex | Contains the index of the statement the attribute corresponds to. |
AttrQueryAttrValues | Contains a list of attribute values. |
AuthnQueryComparison | Specifies the authentication context comparison method. |
AuthnQueryContextClassRefs | Specifies the context class reference. |
AuthnQueryRefType | Specifies the context reference type. |
AuthnQuerySessionIndex | Specifies the index of the session to the authentication entity. |
AuthnRequestAssertionConsumerServiceIndex | Specifies the assertion consumer service index. |
AuthnRequestAssertionConsumerServiceURL | Specifies the assertion consumer service URL. |
AuthnRequestAttributeConsumingServiceIndex | Specifies the attribute consuming service index. |
AuthnRequestConditionsNotBefore | Specifies the NotBefore condition of the request. |
AuthnRequestConditionsNotOnOrAfter | Provides access to the NotOnOrAfter condition of the request. |
AuthnRequestContextClassRefs | Provides access to the authentication context class references. |
AuthnRequestContextComparison | Specifies the AuthnContext comparison method. |
AuthnRequestContextRefType | Specifies the context reference type. |
AuthnRequestForceAuthn | Corresponds to the ForceAuthn parameter of the request. |
AuthnRequestIsPassive | Maps to the IsPassive parameter of the request. |
AuthnRequestNameIDPolicyAllowCreate | Matches the AllowCreate attribute of NameIDPolicy element of the request. |
AuthnRequestNameIDPolicyFormat | Matches to the Format attribute of the NameIDPolicy element of the request. |
AuthnRequestNameIDPolicySPNameQualifier | Matches to the SP name qualifier attribute of the request. |
AuthnRequestNameIDPolicyUseAllowCreate | Controls inclusion of AllowCreate attribute in the request. |
AuthnRequestProtocolBinding | Specifies the protocol binding to be requested in the authentication request. |
AuthnRequestProviderName | Specifies the name of the requestor. |
AuthnRequestScopingIDPListGetComplete | Matches the GetComplete element of the IDPList entry of the Scoping object. |
AuthnRequestScopingProxyCount | The maximum number of proxies on the way between the requestor and the provider. |
AuthnRequestScopingRequesterIDs | A collection of requestor IDs on whose behalf the request is being sent. |
AuthnRequestUseForceAuthn | Controls inclusion of ForceAuthn attribute in the request. |
AuthnRequestUseIsPassive | Controls inclusion of IsPassive attribute in the request. |
AuthnRequestConditionCount | The number of records in the AuthnRequestCondition arrays. |
AuthnRequestConditionAudienceList | An accessor to the Audience list parameter of an audience restriction condition. |
AuthnRequestConditionConditionType | Specifies a type of the condition object. |
AuthnRequestConditionProxyRestrictionCount | An accessor to the proxy restriction count element of the condition. |
AuthnRequestScopingIDPCount | The number of records in the AuthnRequestScopingIDP arrays. |
AuthnRequestScopingIDPLoc | Contains the value of the Loc attribute. |
AuthnRequestScopingIDPName | Contains the name of the IdP provider. |
AuthnRequestScopingIDPProviderID | Contains the provider ID. |
AuthzDecisionQueryActions | Specifies the list of actions included in the query. |
AuthzDecisionQueryResource | Matches the Resource element of the query. |
Binding | Specifies the type of the binding to use. |
Consent | Contains the Consent parameter of the request. |
Destination | Contains the Destination parameter of the SAML object. |
EncryptionCertBytes | Returns the raw certificate data in DER format. |
EncryptionCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
FIPSMode | Reserved. |
ID | The ID of the request. |
InResponseTo | Contains the InResponseTo property of the SAML request. |
IssueInstant | Contains request issuance timestamp. |
Issuer | Sets the issuer of the message. |
LogoutRequestNameID | Contains the value of the NameID parameter. |
LogoutRequestNotOnOrAfter | Contains the value of the NotOnOrAfter parameter. |
LogoutRequestReason | Contains the value of the Reason parameter. |
LogoutRequestSessionIndexes | Contains the list of session indices. |
ManageNameIDRequestNameID | Contains the value of the NameID parameter of the request. |
ManageNameIDRequestNewEncryptedID | Contains the value of the NewEncryptedID parameter of the request. |
ManageNameIDRequestNewID | Contains the value of the NewID parameter. |
ManageNameIDRequestTerminate | Contains the value of the Terminate parameter of the request. |
NameIDMappingRequestNameID | An accessor to the NameID parameter of the request. |
NameIDMappingRequestNameIDPolicyAllowCreate | Contains the value of AllowCreate parameter of the NameIDPolicy object. |
NameIDMappingRequestNameIDPolicyFormat | Specifies the format of the NameIDPolicy element. |
NameIDMappingRequestNameIDPolicySPNameQualifier | Contains the SPNameQualifier parameter of the NameIDPolicy element. |
NameIDMappingRequestNameIDPolicyUseAllowCreate | Controls inclusion of UseAllow modifier in the NameIDPolicy object. |
OutputType | Returns the SAML type of message being created. |
POSTBindingBody | Contains the form body. |
POSTBindingFormTemplate | Contains the XHTML form template returned by the service provider. |
POSTBindingMode | Specifies whether binding is applied on a server, or on a client side. |
POSTBindingRelayState | Contains the value of the RelayState parameter of POST binding mechanism. |
POSTBindingURL | Contains the URL of POST binding mechanism. |
Profile | Specifies a pre-defined profile to apply when creating the signature. |
RedirectBindingEncoding | Specifies the message encoding. |
RedirectBindingForceSign | Enforces a signature over all outgoing messages. |
RedirectBindingRelayState | Contains the RelayState parameter of the binding. |
RedirectBindingSign | Specifies whether to sign generated messages. |
RedirectBindingSignatureAlgorithm | Contains the signature algorithm. |
RedirectBindingURL | Contains the URL of the request query. |
RedirectBindingVerifySignatures | Instructs the class whether to verify incoming signatures. |
RedirectBindingCertBytes | Returns the raw certificate data in DER format. |
RedirectBindingCertHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
ResponseNameID | Contains the NameID parameter of a NameIDMapping response. |
ResponseOptionalElement | An optional message element to be returned with the response. |
ResponseResponseType | Contains the type of the response. |
ResponseStatusCodeSubValue | The value of the nested StatusCode. |
ResponseStatusCodeValue | Contains the status code value. |
ResponseStatusDetail | Contains additional information on the status of the request. |
ResponseStatusMessage | Contains a status message (optional). |
SigCanonicalizationMethod | The canonicalization method to use in the signature. |
SigDigestMethod | The digest method to use. |
SigMethod | The signature method to use. |
Sign | Specifies whether the created SAML message should be signed. |
SigningCertBytes | Returns the 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 | Returns the raw certificate data in DER format. |
SigningChainHandle | Allows to get or set a 'handle', a unique identifier of the underlying property object. |
SubjectConfirmationCount | The number of records in the SubjectConfirmation arrays. |
SubjectConfirmationDataAddress | Contains the address enabled for presenting assertions. |
SubjectConfirmationDataInResponseTo | The ID of the SAML message in response to which the assertion is issued. |
SubjectConfirmationDataNotBefore | Time moment before which the subject cannot be confirmed. |
SubjectConfirmationDataNotOnOrAfter | Limits the time until which the subject can be confirmed. |
SubjectConfirmationDataRecipient | The URI of the entity or the location of the resource to which the assertion should be presented. |
SubjectConfirmationDataType | The type of data contained in the confirmation. |
SubjectConfirmationID | The identifier of the entity which can satisfy the subject confirmation requirements. |
SubjectConfirmationMethod | Specifies the mechanism to be used to confirm the subject. |
SubjectID | Sets the subject of the message. |
Version | Specifies the protocol version of the SAML message. |
Method List
The following is the full list of the methods of the class with short descriptions. Click on the links for further details.
AddAdviceAssertion | Adds an advice assertion to the message. |
AddAssertion | Adds assertion to a SAML message. |
ClearAssertion | Resets the contents of all assertion-related properties. |
CompareIDs | Compares two SAML IDs. |
Config | Sets or retrieves a configuration setting. |
CreateNew | Creates a new SAML message with the given type. |
DoAction | Performs an additional action. |
GetIDProp | Returns an element of the SAML ID. |
RemoveAdvice | Removes an advice from an assertion. |
RemoveAdviceAssertion | Removes an advice from an assertion. |
RemoveAllAssertions | Removes all assertions currently configured in the message. |
RemoveAssertion | Removes an assertion from the message. |
Save | Saves the configured message to a string. |
SaveBytes | Saves the configured message to a byte array. |
SaveFile | Saves the configured message to a file. |
SaveStream | Saves the configured message to a stream. |
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.
Error | Fires to report an error condition. |
Notification | This event notifies the application about an underlying control flow event. |
Config Settings
The following is a list of config settings for the class with short descriptions. Click on the links for further details.
IgnoreSystemTrust | Whether trusted Windows Certificate Stores should be treated as trusted. |
SigAfterIssuer | Specifies whether to insert the signature after the issuer tag in the SAML document. |
TolerateMinorChainIssues | Whether to tolerate minor chain issues. |
UseMicrosoftCTL | Enables or disables the automatic use of the Microsoft online certificate trust list. |
UseSystemCertificates | Enables or disables the use of the system certificates. |
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. |
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. |
StaticDNS | Specifies whether static DNS rules should be used. |
StaticIPAddress[domain] | Gets or sets an IP address for the specified domain name. |
StaticIPAddresses | Gets or sets all the static DNS rules. |
Tag | Allows to store any custom data. |
TLSSessionGroup | Specifies the group name of TLS sessions to be used for session resumption. |
TLSSessionLifetime | Specifies lifetime in seconds of the cached TLS session. |
TLSSessionPurgeInterval | Specifies how often the session cache should remove the expired TLS sessions. |
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. |
AddXMLHeader Property (SAMLWriter Class)
Controls the inclusion of an XML header in the message.
Syntax
ANSI (Cross Platform) int GetAddXMLHeader();
int SetAddXMLHeader(int bAddXMLHeader); Unicode (Windows) BOOL GetAddXMLHeader();
INT SetAddXMLHeader(BOOL bAddXMLHeader);
int secureblackbox_samlwriter_getaddxmlheader(void* lpObj);
int secureblackbox_samlwriter_setaddxmlheader(void* lpObj, int bAddXMLHeader);
bool GetAddXMLHeader();
int SetAddXMLHeader(bool bAddXMLHeader);
Default Value
FALSE
Remarks
Use this property to enable or disable inclusion of the XML header in the SAML message.
This property is not available at design time.
Data Type
Boolean
ArtifactEndpointIndex Property (SAMLWriter Class)
An accessor to the EndpointIndex entry of the artifact.
Syntax
ANSI (Cross Platform) int GetArtifactEndpointIndex();
int SetArtifactEndpointIndex(int iArtifactEndpointIndex); Unicode (Windows) INT GetArtifactEndpointIndex();
INT SetArtifactEndpointIndex(INT iArtifactEndpointIndex);
int secureblackbox_samlwriter_getartifactendpointindex(void* lpObj);
int secureblackbox_samlwriter_setartifactendpointindex(void* lpObj, int iArtifactEndpointIndex);
int GetArtifactEndpointIndex();
int SetArtifactEndpointIndex(int iArtifactEndpointIndex);
Default Value
0
Remarks
An accessor to the EndpointIndex entry of the artifact.
The EndpointIndex references a specific artifact resolution endpoint (IdP or SP) managed by the artifact issuer.
This property is not available at design time.
Data Type
Integer
ArtifactMessageHandle Property (SAMLWriter Class)
An accessor to the MessageHandle property of the artifact.
Syntax
ANSI (Cross Platform) int GetArtifactMessageHandle(char* &lpArtifactMessageHandle, int &lenArtifactMessageHandle);
int SetArtifactMessageHandle(const char* lpArtifactMessageHandle, int lenArtifactMessageHandle); Unicode (Windows) INT GetArtifactMessageHandle(LPSTR &lpArtifactMessageHandle, INT &lenArtifactMessageHandle);
INT SetArtifactMessageHandle(LPCSTR lpArtifactMessageHandle, INT lenArtifactMessageHandle);
int secureblackbox_samlwriter_getartifactmessagehandle(void* lpObj, char** lpArtifactMessageHandle, int* lenArtifactMessageHandle);
int secureblackbox_samlwriter_setartifactmessagehandle(void* lpObj, const char* lpArtifactMessageHandle, int lenArtifactMessageHandle);
QByteArray GetArtifactMessageHandle();
int SetArtifactMessageHandle(QByteArray qbaArtifactMessageHandle);
Remarks
An accessor to the MessageHandle property of the artifact.
A message handle is a unique reference to a SAML message that can be produced by the artifact issuer upon request.
This property is not available at design time.
Data Type
Byte Array
ArtifactRemainingArtifact Property (SAMLWriter Class)
Returns the contents of the artifact.
Syntax
ANSI (Cross Platform) int GetArtifactRemainingArtifact(char* &lpArtifactRemainingArtifact, int &lenArtifactRemainingArtifact); Unicode (Windows) INT GetArtifactRemainingArtifact(LPSTR &lpArtifactRemainingArtifact, INT &lenArtifactRemainingArtifact);
int secureblackbox_samlwriter_getartifactremainingartifact(void* lpObj, char** lpArtifactRemainingArtifact, int* lenArtifactRemainingArtifact);
QByteArray GetArtifactRemainingArtifact();
Remarks
Returns the contents of the artifact.
Check this property to access the encoded contents of the artifact. This property is updated internally from the parameters of the artifact.
This property is read-only and not available at design time.
Data Type
Byte Array
ArtifactSourceID Property (SAMLWriter Class)
An accessor to the SourceID property of the artifact.
Syntax
ANSI (Cross Platform) int GetArtifactSourceID(char* &lpArtifactSourceID, int &lenArtifactSourceID);
int SetArtifactSourceID(const char* lpArtifactSourceID, int lenArtifactSourceID); Unicode (Windows) INT GetArtifactSourceID(LPSTR &lpArtifactSourceID, INT &lenArtifactSourceID);
INT SetArtifactSourceID(LPCSTR lpArtifactSourceID, INT lenArtifactSourceID);
int secureblackbox_samlwriter_getartifactsourceid(void* lpObj, char** lpArtifactSourceID, int* lenArtifactSourceID);
int secureblackbox_samlwriter_setartifactsourceid(void* lpObj, const char* lpArtifactSourceID, int lenArtifactSourceID);
QByteArray GetArtifactSourceID();
int SetArtifactSourceID(QByteArray qbaArtifactSourceID);
Remarks
An accessor to the SourceID property of the artifact.
SourceID uniquely identifies the issuer of the artifact.
This property is not available at design time.
Data Type
Byte Array
ArtifactTypeCode Property (SAMLWriter Class)
The TypeCode property of the artifact.
Syntax
ANSI (Cross Platform) int GetArtifactTypeCode();
int SetArtifactTypeCode(int iArtifactTypeCode); Unicode (Windows) INT GetArtifactTypeCode();
INT SetArtifactTypeCode(INT iArtifactTypeCode);
int secureblackbox_samlwriter_getartifacttypecode(void* lpObj);
int secureblackbox_samlwriter_setartifacttypecode(void* lpObj, int iArtifactTypeCode);
int GetArtifactTypeCode();
int SetArtifactTypeCode(int iArtifactTypeCode);
Default Value
0
Remarks
The TypeCode field of the artifact.
The type code artifact parameter uniquely identifies the artifact format. Currently (as per SAML 2.0) the only type code of 4 is defined. This format assumes the presence of ArtifactRemainingArtifact, ArtifactSourceID, and ArtifactMessageHandle parameters.
This property is not available at design time.
Data Type
Integer
ArtifactURI Property (SAMLWriter Class)
An accessor to the URI property of the artifact.
Syntax
ANSI (Cross Platform) char* GetArtifactURI();
int SetArtifactURI(const char* lpszArtifactURI); Unicode (Windows) LPWSTR GetArtifactURI();
INT SetArtifactURI(LPCWSTR lpszArtifactURI);
char* secureblackbox_samlwriter_getartifacturi(void* lpObj);
int secureblackbox_samlwriter_setartifacturi(void* lpObj, const char* lpszArtifactURI);
QString GetArtifactURI();
int SetArtifactURI(QString qsArtifactURI);
Default Value
""
Remarks
An accessor to the URI property of the artifact.
The URI property contains the origin of the artifact.
This property is not available at design time.
Data Type
String
ArtifactResolveQuery Property (SAMLWriter Class)
Contains the artifact resolve query.
Syntax
ANSI (Cross Platform) char* GetArtifactResolveQuery();
int SetArtifactResolveQuery(const char* lpszArtifactResolveQuery); Unicode (Windows) LPWSTR GetArtifactResolveQuery();
INT SetArtifactResolveQuery(LPCWSTR lpszArtifactResolveQuery);
char* secureblackbox_samlwriter_getartifactresolvequery(void* lpObj);
int secureblackbox_samlwriter_setartifactresolvequery(void* lpObj, const char* lpszArtifactResolveQuery);
QString GetArtifactResolveQuery();
int SetArtifactResolveQuery(QString qsArtifactResolveQuery);
Default Value
""
Remarks
Use this property to read or set the artifact resolve query.
This property is not available at design time.
Data Type
String
AssertionAttrCount Property (SAMLWriter Class)
The number of records in the AssertionAttr arrays.
Syntax
ANSI (Cross Platform) int GetAssertionAttrCount();
int SetAssertionAttrCount(int iAssertionAttrCount); Unicode (Windows) INT GetAssertionAttrCount();
INT SetAssertionAttrCount(INT iAssertionAttrCount);
int secureblackbox_samlwriter_getassertionattrcount(void* lpObj);
int secureblackbox_samlwriter_setassertionattrcount(void* lpObj, int iAssertionAttrCount);
int GetAssertionAttrCount();
int SetAssertionAttrCount(int iAssertionAttrCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AssertionAttrFriendlyName
- AssertionAttrName
- AssertionAttrNameFormat
- AssertionAttrStatementIndex
- AssertionAttrValues
The array indices start at 0 and end at AssertionAttrCount - 1.
This property is not available at design time.
Data Type
Integer
AssertionAttrFriendlyName Property (SAMLWriter Class)
Specifies the friendly name of the attribute Use this property to access or set the friendly name of a SAML attribute (e.
Syntax
ANSI (Cross Platform) char* GetAssertionAttrFriendlyName(int iAssertionAttrIndex);
int SetAssertionAttrFriendlyName(int iAssertionAttrIndex, const char* lpszAssertionAttrFriendlyName); Unicode (Windows) LPWSTR GetAssertionAttrFriendlyName(INT iAssertionAttrIndex);
INT SetAssertionAttrFriendlyName(INT iAssertionAttrIndex, LPCWSTR lpszAssertionAttrFriendlyName);
char* secureblackbox_samlwriter_getassertionattrfriendlyname(void* lpObj, int assertionattrindex);
int secureblackbox_samlwriter_setassertionattrfriendlyname(void* lpObj, int assertionattrindex, const char* lpszAssertionAttrFriendlyName);
QString GetAssertionAttrFriendlyName(int iAssertionAttrIndex);
int SetAssertionAttrFriendlyName(int iAssertionAttrIndex, QString qsAssertionAttrFriendlyName);
Default Value
""
Remarks
Specifies the friendly name of the attribute
Use this property to access or set the friendly name of a SAML attribute (e.g. givenName).
The AssertionAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionAttrCount property.
This property is not available at design time.
Data Type
String
AssertionAttrName Property (SAMLWriter Class)
Specifies the name of the attribute.
Syntax
ANSI (Cross Platform) char* GetAssertionAttrName(int iAssertionAttrIndex);
int SetAssertionAttrName(int iAssertionAttrIndex, const char* lpszAssertionAttrName); Unicode (Windows) LPWSTR GetAssertionAttrName(INT iAssertionAttrIndex);
INT SetAssertionAttrName(INT iAssertionAttrIndex, LPCWSTR lpszAssertionAttrName);
char* secureblackbox_samlwriter_getassertionattrname(void* lpObj, int assertionattrindex);
int secureblackbox_samlwriter_setassertionattrname(void* lpObj, int assertionattrindex, const char* lpszAssertionAttrName);
QString GetAssertionAttrName(int iAssertionAttrIndex);
int SetAssertionAttrName(int iAssertionAttrIndex, QString qsAssertionAttrName);
Default Value
""
Remarks
Specifies the name of the attribute.
Use this property to read or set the formal name of the attribute (e.g. urn:oid:2.5.4.42).
The AssertionAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionAttrCount property.
This property is not available at design time.
Data Type
String
AssertionAttrNameFormat Property (SAMLWriter Class)
Indicates the format used to reference the attribute.
Syntax
ANSI (Cross Platform) char* GetAssertionAttrNameFormat(int iAssertionAttrIndex);
int SetAssertionAttrNameFormat(int iAssertionAttrIndex, const char* lpszAssertionAttrNameFormat); Unicode (Windows) LPWSTR GetAssertionAttrNameFormat(INT iAssertionAttrIndex);
INT SetAssertionAttrNameFormat(INT iAssertionAttrIndex, LPCWSTR lpszAssertionAttrNameFormat);
char* secureblackbox_samlwriter_getassertionattrnameformat(void* lpObj, int assertionattrindex);
int secureblackbox_samlwriter_setassertionattrnameformat(void* lpObj, int assertionattrindex, const char* lpszAssertionAttrNameFormat);
QString GetAssertionAttrNameFormat(int iAssertionAttrIndex);
int SetAssertionAttrNameFormat(int iAssertionAttrIndex, QString qsAssertionAttrNameFormat);
Default Value
""
Remarks
Indicates the format used to reference the attribute.
This property specifies the format that is used to reference the attribute (e.g. urn:oasis:names:tc:SAML:2.0:attrname-format:uri).
The AssertionAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionAttrCount property.
This property is not available at design time.
Data Type
String
AssertionAttrStatementIndex Property (SAMLWriter Class)
Contains the index of the statement the attribute corresponds to.
Syntax
ANSI (Cross Platform) int GetAssertionAttrStatementIndex(int iAssertionAttrIndex);
int SetAssertionAttrStatementIndex(int iAssertionAttrIndex, int iAssertionAttrStatementIndex); Unicode (Windows) INT GetAssertionAttrStatementIndex(INT iAssertionAttrIndex);
INT SetAssertionAttrStatementIndex(INT iAssertionAttrIndex, INT iAssertionAttrStatementIndex);
int secureblackbox_samlwriter_getassertionattrstatementindex(void* lpObj, int assertionattrindex);
int secureblackbox_samlwriter_setassertionattrstatementindex(void* lpObj, int assertionattrindex, int iAssertionAttrStatementIndex);
int GetAssertionAttrStatementIndex(int iAssertionAttrIndex);
int SetAssertionAttrStatementIndex(int iAssertionAttrIndex, int iAssertionAttrStatementIndex);
Default Value
-1
Remarks
Contains the index of the statement the attribute corresponds to.
Use this property to read or set the index of the statement in the statement list that this attribute corresponds to.
The AssertionAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionAttrCount property.
This property is not available at design time.
Data Type
Integer
AssertionAttrValues Property (SAMLWriter Class)
Contains a list of attribute values.
Syntax
ANSI (Cross Platform) char* GetAssertionAttrValues(int iAssertionAttrIndex);
int SetAssertionAttrValues(int iAssertionAttrIndex, const char* lpszAssertionAttrValues); Unicode (Windows) LPWSTR GetAssertionAttrValues(INT iAssertionAttrIndex);
INT SetAssertionAttrValues(INT iAssertionAttrIndex, LPCWSTR lpszAssertionAttrValues);
char* secureblackbox_samlwriter_getassertionattrvalues(void* lpObj, int assertionattrindex);
int secureblackbox_samlwriter_setassertionattrvalues(void* lpObj, int assertionattrindex, const char* lpszAssertionAttrValues);
QString GetAssertionAttrValues(int iAssertionAttrIndex);
int SetAssertionAttrValues(int iAssertionAttrIndex, QString qsAssertionAttrValues);
Default Value
""
Remarks
Contains a list of attribute values.
Use this property to access or set the value(s) included with the attribute. The value contains a list of strings of ContentType=contentType;Value=value format, separated with CRLF.
The AssertionAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionAttrCount property.
This property is not available at design time.
Data Type
String
AssertionConditionCount Property (SAMLWriter Class)
The number of records in the AssertionCondition arrays.
Syntax
ANSI (Cross Platform) int GetAssertionConditionCount();
int SetAssertionConditionCount(int iAssertionConditionCount); Unicode (Windows) INT GetAssertionConditionCount();
INT SetAssertionConditionCount(INT iAssertionConditionCount);
int secureblackbox_samlwriter_getassertionconditioncount(void* lpObj);
int secureblackbox_samlwriter_setassertionconditioncount(void* lpObj, int iAssertionConditionCount);
int GetAssertionConditionCount();
int SetAssertionConditionCount(int iAssertionConditionCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AssertionConditionAudienceList
- AssertionConditionConditionType
- AssertionConditionProxyRestrictionCount
The array indices start at 0 and end at AssertionConditionCount - 1.
This property is not available at design time.
Data Type
Integer
AssertionConditionAudienceList Property (SAMLWriter Class)
An accessor to the Audience list parameter of an audience restriction condition.
Syntax
ANSI (Cross Platform) char* GetAssertionConditionAudienceList(int iAssertionConditionIndex);
int SetAssertionConditionAudienceList(int iAssertionConditionIndex, const char* lpszAssertionConditionAudienceList); Unicode (Windows) LPWSTR GetAssertionConditionAudienceList(INT iAssertionConditionIndex);
INT SetAssertionConditionAudienceList(INT iAssertionConditionIndex, LPCWSTR lpszAssertionConditionAudienceList);
char* secureblackbox_samlwriter_getassertionconditionaudiencelist(void* lpObj, int assertionconditionindex);
int secureblackbox_samlwriter_setassertionconditionaudiencelist(void* lpObj, int assertionconditionindex, const char* lpszAssertionConditionAudienceList);
QString GetAssertionConditionAudienceList(int iAssertionConditionIndex);
int SetAssertionConditionAudienceList(int iAssertionConditionIndex, QString qsAssertionConditionAudienceList);
Default Value
""
Remarks
An accessor to the Audience list parameter of an audience restriction condition.
Use this property to read or set a list of audiences included in the restriction. Each audience is represented by an URI. Provide multiple audiences by splitting them with CRLF separators.
The AssertionConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionConditionCount property.
This property is not available at design time.
Data Type
String
AssertionConditionConditionType Property (SAMLWriter Class)
Specifies a type of the condition object.
Syntax
ANSI (Cross Platform) int GetAssertionConditionConditionType(int iAssertionConditionIndex);
int SetAssertionConditionConditionType(int iAssertionConditionIndex, int iAssertionConditionConditionType); Unicode (Windows) INT GetAssertionConditionConditionType(INT iAssertionConditionIndex);
INT SetAssertionConditionConditionType(INT iAssertionConditionIndex, INT iAssertionConditionConditionType);
Possible Values
CSCT_AUDIENCE_RESTRICTION(0),
CSCT_ONE_TIME_USE(1),
CSCT_PROXY_RESTRICTION(2)
int secureblackbox_samlwriter_getassertionconditionconditiontype(void* lpObj, int assertionconditionindex);
int secureblackbox_samlwriter_setassertionconditionconditiontype(void* lpObj, int assertionconditionindex, int iAssertionConditionConditionType);
int GetAssertionConditionConditionType(int iAssertionConditionIndex);
int SetAssertionConditionConditionType(int iAssertionConditionIndex, int iAssertionConditionConditionType);
Default Value
0
Remarks
Specifies a type of the condition object.
Use this property to check or specify a type of the condition object. This can be either an audience restriction, a one time use limitation, or a proxy restriction.
The AssertionConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionConditionCount property.
This property is not available at design time.
Data Type
Integer
AssertionConditionProxyRestrictionCount Property (SAMLWriter Class)
An accessor to the proxy restriction count element of the condition.
Syntax
ANSI (Cross Platform) int GetAssertionConditionProxyRestrictionCount(int iAssertionConditionIndex);
int SetAssertionConditionProxyRestrictionCount(int iAssertionConditionIndex, int iAssertionConditionProxyRestrictionCount); Unicode (Windows) INT GetAssertionConditionProxyRestrictionCount(INT iAssertionConditionIndex);
INT SetAssertionConditionProxyRestrictionCount(INT iAssertionConditionIndex, INT iAssertionConditionProxyRestrictionCount);
int secureblackbox_samlwriter_getassertionconditionproxyrestrictioncount(void* lpObj, int assertionconditionindex);
int secureblackbox_samlwriter_setassertionconditionproxyrestrictioncount(void* lpObj, int assertionconditionindex, int iAssertionConditionProxyRestrictionCount);
int GetAssertionConditionProxyRestrictionCount(int iAssertionConditionIndex);
int SetAssertionConditionProxyRestrictionCount(int iAssertionConditionIndex, int iAssertionConditionProxyRestrictionCount);
Default Value
0
Remarks
An accessor to the proxy restriction count element of the condition.
Use this setting to access or set the value of the proxy restriction count condition.
The AssertionConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionConditionCount property.
This property is not available at design time.
Data Type
Integer
AssertionCount Property (SAMLWriter Class)
Returns the number of assertions in the message.
Syntax
ANSI (Cross Platform) int GetAssertionCount(); Unicode (Windows) INT GetAssertionCount();
int secureblackbox_samlwriter_getassertioncount(void* lpObj);
int GetAssertionCount();
Default Value
0
Remarks
This property returns the total number of assertions currently defined in the SAML message.
This property is read-only and not available at design time.
Data Type
Integer
AssertionIDRequestReferences Property (SAMLWriter Class)
Contains the References entry of the SAML assertion ID request.
Syntax
ANSI (Cross Platform) char* GetAssertionIDRequestReferences();
int SetAssertionIDRequestReferences(const char* lpszAssertionIDRequestReferences); Unicode (Windows) LPWSTR GetAssertionIDRequestReferences();
INT SetAssertionIDRequestReferences(LPCWSTR lpszAssertionIDRequestReferences);
char* secureblackbox_samlwriter_getassertionidrequestreferences(void* lpObj);
int secureblackbox_samlwriter_setassertionidrequestreferences(void* lpObj, const char* lpszAssertionIDRequestReferences);
QString GetAssertionIDRequestReferences();
int SetAssertionIDRequestReferences(QString qsAssertionIDRequestReferences);
Default Value
""
Remarks
Contains the References entry of the SAML assertion ID request.
Use this property to read or specify the value of the References entry of the Assertion ID Request.
This property is not available at design time.
Data Type
String
AssertionInfoAdviceAssertionCount Property (SAMLWriter Class)
Contains the number of advice assertions.
Syntax
ANSI (Cross Platform) int GetAssertionInfoAdviceAssertionCount();
int SetAssertionInfoAdviceAssertionCount(int iAssertionInfoAdviceAssertionCount); Unicode (Windows) INT GetAssertionInfoAdviceAssertionCount();
INT SetAssertionInfoAdviceAssertionCount(INT iAssertionInfoAdviceAssertionCount);
int secureblackbox_samlwriter_getassertioninfoadviceassertioncount(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoadviceassertioncount(void* lpObj, int iAssertionInfoAdviceAssertionCount);
int GetAssertionInfoAdviceAssertionCount();
int SetAssertionInfoAdviceAssertionCount(int iAssertionInfoAdviceAssertionCount);
Default Value
0
Remarks
Contains the number of advice assertions.
Use this property to access the number of advice assertions.
This property is not available at design time.
Data Type
Integer
AssertionInfoAssertionType Property (SAMLWriter Class)
Specifies the type of the assertion.
Syntax
ANSI (Cross Platform) int GetAssertionInfoAssertionType();
int SetAssertionInfoAssertionType(int iAssertionInfoAssertionType); Unicode (Windows) INT GetAssertionInfoAssertionType();
INT SetAssertionInfoAssertionType(INT iAssertionInfoAssertionType);
Possible Values
CSAT_ASSERTION_IDREF(0),
CSAT_ASSERTION_URIREF(1),
CSAT_ASSERTION(2),
CSAT_ENCRYPTED_ASSERTION(3)
int secureblackbox_samlwriter_getassertioninfoassertiontype(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoassertiontype(void* lpObj, int iAssertionInfoAssertionType);
int GetAssertionInfoAssertionType();
int SetAssertionInfoAssertionType(int iAssertionInfoAssertionType);
Default Value
0
Remarks
Specifies the type of the assertion.
Use this property to check or set the type of the assertion.
This property is not available at design time.
Data Type
Integer
AssertionInfoChainValidationDetails Property (SAMLWriter Class)
The details of a certificate chain validation outcome.
Syntax
ANSI (Cross Platform) int GetAssertionInfoChainValidationDetails(); Unicode (Windows) INT GetAssertionInfoChainValidationDetails();
int secureblackbox_samlwriter_getassertioninfochainvalidationdetails(void* lpObj);
int GetAssertionInfoChainValidationDetails();
Default Value
0
Remarks
The details of a certificate chain validation outcome. They may often suggest the reasons that contributed to the overall validation result.
Returns a bit mask of the following options:
cvrBadData | 0x0001 | One or more certificates in the validation path are malformed |
cvrRevoked | 0x0002 | One or more certificates are revoked |
cvrNotYetValid | 0x0004 | One or more certificates are not yet valid |
cvrExpired | 0x0008 | One or more certificates are expired |
cvrInvalidSignature | 0x0010 | A certificate contains a non-valid digital signature |
cvrUnknownCA | 0x0020 | A CA certificate for one or more certificates has not been found (chain incomplete) |
cvrCAUnauthorized | 0x0040 | One of the CA certificates are not authorized to act as CA |
cvrCRLNotVerified | 0x0080 | One or more CRLs could not be verified |
cvrOCSPNotVerified | 0x0100 | One or more OCSP responses could not be verified |
cvrIdentityMismatch | 0x0200 | The identity protected by the certificate (a TLS endpoint or an e-mail addressee) does not match what is recorded in the certificate |
cvrNoKeyUsage | 0x0400 | A mandatory key usage is not enabled in one of the chain certificates |
cvrBlocked | 0x0800 | One or more certificates are blocked |
cvrFailure | 0x1000 | General validation failure |
cvrChainLoop | 0x2000 | Chain loop: one of the CA certificates recursively signs itself |
cvrWeakAlgorithm | 0x4000 | A weak algorithm is used in one of certificates or revocation elements |
cvrUserEnforced | 0x8000 | The chain was considered invalid following intervention from a user code |
This property is read-only and not available at design time.
Data Type
Integer
AssertionInfoChainValidationResult Property (SAMLWriter Class)
The outcome of a certificate chain validation routine.
Syntax
ANSI (Cross Platform) int GetAssertionInfoChainValidationResult(); Unicode (Windows) INT GetAssertionInfoChainValidationResult();
Possible Values
CVT_VALID(0),
CVT_VALID_BUT_UNTRUSTED(1),
CVT_INVALID(2),
CVT_CANT_BE_ESTABLISHED(3)
int secureblackbox_samlwriter_getassertioninfochainvalidationresult(void* lpObj);
int GetAssertionInfoChainValidationResult();
Default Value
0
Remarks
The outcome of a certificate chain validation routine.
Available options:
cvtValid | 0 | The chain is valid |
cvtValidButUntrusted | 1 | The chain is valid, but the root certificate is not trusted |
cvtInvalid | 2 | The chain is not valid (some of certificates are revoked, expired, or contain an invalid signature) |
cvtCantBeEstablished | 3 | The validity of the chain cannot be established because of missing or unavailable validation information (certificates, CRLs, or OCSP responses) |
Use the ValidationLog property to access the detailed validation log.
This property is read-only and not available at design time.
Data Type
Integer
AssertionInfoConditionsNotBefore Property (SAMLWriter Class)
Represents the Conditions.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoConditionsNotBefore();
int SetAssertionInfoConditionsNotBefore(const char* lpszAssertionInfoConditionsNotBefore); Unicode (Windows) LPWSTR GetAssertionInfoConditionsNotBefore();
INT SetAssertionInfoConditionsNotBefore(LPCWSTR lpszAssertionInfoConditionsNotBefore);
char* secureblackbox_samlwriter_getassertioninfoconditionsnotbefore(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoconditionsnotbefore(void* lpObj, const char* lpszAssertionInfoConditionsNotBefore);
QString GetAssertionInfoConditionsNotBefore();
int SetAssertionInfoConditionsNotBefore(QString qsAssertionInfoConditionsNotBefore);
Default Value
""
Remarks
Represents the Conditions.NotBefore assertion property.
Use this property to get or set the Conditions.NotBefore property of the assertion.
This property is not available at design time.
Data Type
String
AssertionInfoConditionsNotOnOrAfter Property (SAMLWriter Class)
Represents the Conditions.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoConditionsNotOnOrAfter();
int SetAssertionInfoConditionsNotOnOrAfter(const char* lpszAssertionInfoConditionsNotOnOrAfter); Unicode (Windows) LPWSTR GetAssertionInfoConditionsNotOnOrAfter();
INT SetAssertionInfoConditionsNotOnOrAfter(LPCWSTR lpszAssertionInfoConditionsNotOnOrAfter);
char* secureblackbox_samlwriter_getassertioninfoconditionsnotonorafter(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoconditionsnotonorafter(void* lpObj, const char* lpszAssertionInfoConditionsNotOnOrAfter);
QString GetAssertionInfoConditionsNotOnOrAfter();
int SetAssertionInfoConditionsNotOnOrAfter(QString qsAssertionInfoConditionsNotOnOrAfter);
Default Value
""
Remarks
Represents the Conditions.NotOnOrAfter assertion property.
Use this property to get or set the Conditions.NotOnOrAfter property of the assertion.
This property is not available at design time.
Data Type
String
AssertionInfoEncryptedContent Property (SAMLWriter Class)
Represents the encrypted assertion content.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoEncryptedContent();
int SetAssertionInfoEncryptedContent(const char* lpszAssertionInfoEncryptedContent); Unicode (Windows) LPWSTR GetAssertionInfoEncryptedContent();
INT SetAssertionInfoEncryptedContent(LPCWSTR lpszAssertionInfoEncryptedContent);
char* secureblackbox_samlwriter_getassertioninfoencryptedcontent(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoencryptedcontent(void* lpObj, const char* lpszAssertionInfoEncryptedContent);
QString GetAssertionInfoEncryptedContent();
int SetAssertionInfoEncryptedContent(QString qsAssertionInfoEncryptedContent);
Default Value
""
Remarks
Represents the encrypted assertion content.
Use this property to get or set the encrypted assertion content.
This property is not available at design time.
Data Type
String
AssertionInfoID Property (SAMLWriter Class)
Represents the ID of the assertion.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoID();
int SetAssertionInfoID(const char* lpszAssertionInfoID); Unicode (Windows) LPWSTR GetAssertionInfoID();
INT SetAssertionInfoID(LPCWSTR lpszAssertionInfoID);
char* secureblackbox_samlwriter_getassertioninfoid(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoid(void* lpObj, const char* lpszAssertionInfoID);
QString GetAssertionInfoID();
int SetAssertionInfoID(QString qsAssertionInfoID);
Default Value
""
Remarks
Represents the ID of the assertion.
Use this property to read or set the unique ID of the assertion.
This property is not available at design time.
Data Type
String
AssertionInfoIDRef Property (SAMLWriter Class)
Represents an ID reference value.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoIDRef();
int SetAssertionInfoIDRef(const char* lpszAssertionInfoIDRef); Unicode (Windows) LPWSTR GetAssertionInfoIDRef();
INT SetAssertionInfoIDRef(LPCWSTR lpszAssertionInfoIDRef);
char* secureblackbox_samlwriter_getassertioninfoidref(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoidref(void* lpObj, const char* lpszAssertionInfoIDRef);
QString GetAssertionInfoIDRef();
int SetAssertionInfoIDRef(QString qsAssertionInfoIDRef);
Default Value
""
Remarks
Represents an ID reference value.
Use this property to read or set the ID reference value for assertions of csatAssertionIDRef type.
This property is not available at design time.
Data Type
String
AssertionInfoIssueInstant Property (SAMLWriter Class)
Contains the assertion issuance time stamp.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoIssueInstant();
int SetAssertionInfoIssueInstant(const char* lpszAssertionInfoIssueInstant); Unicode (Windows) LPWSTR GetAssertionInfoIssueInstant();
INT SetAssertionInfoIssueInstant(LPCWSTR lpszAssertionInfoIssueInstant);
char* secureblackbox_samlwriter_getassertioninfoissueinstant(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoissueinstant(void* lpObj, const char* lpszAssertionInfoIssueInstant);
QString GetAssertionInfoIssueInstant();
int SetAssertionInfoIssueInstant(QString qsAssertionInfoIssueInstant);
Default Value
""
Remarks
Contains the assertion issuance time stamp.
Use this property to check or set the assertion issuance time.
This property is not available at design time.
Data Type
String
AssertionInfoSignatureValidationResult Property (SAMLWriter Class)
The outcome of the cryptographic signature validation.
Syntax
ANSI (Cross Platform) int GetAssertionInfoSignatureValidationResult(); Unicode (Windows) INT GetAssertionInfoSignatureValidationResult();
Possible Values
SVT_VALID(0),
SVT_UNKNOWN(1),
SVT_CORRUPTED(2),
SVT_SIGNER_NOT_FOUND(3),
SVT_FAILURE(4)
int secureblackbox_samlwriter_getassertioninfosignaturevalidationresult(void* lpObj);
int GetAssertionInfoSignatureValidationResult();
Default Value
0
Remarks
The outcome of the cryptographic signature validation.
The following signature validity values are supported:
svtValid | 0 | The signature is valid |
svtUnknown | 1 | Signature validity is unknown |
svtCorrupted | 2 | The signature is corrupted |
svtSignerNotFound | 3 | Failed to acquire the signing certificate. The signature cannot be validated. |
svtFailure | 4 | General failure |
This property is read-only and not available at design time.
Data Type
Integer
AssertionInfoSigned Property (SAMLWriter Class)
Specifies whether the assertion is signed.
Syntax
ANSI (Cross Platform) int GetAssertionInfoSigned();
int SetAssertionInfoSigned(int bAssertionInfoSigned); Unicode (Windows) BOOL GetAssertionInfoSigned();
INT SetAssertionInfoSigned(BOOL bAssertionInfoSigned);
int secureblackbox_samlwriter_getassertioninfosigned(void* lpObj);
int secureblackbox_samlwriter_setassertioninfosigned(void* lpObj, int bAssertionInfoSigned);
bool GetAssertionInfoSigned();
int SetAssertionInfoSigned(bool bAssertionInfoSigned);
Default Value
FALSE
Remarks
Specifies whether the assertion is signed.
Use this property to establish whether the assertion is signed.
This property is not available at design time.
Data Type
Boolean
AssertionInfoURIRef Property (SAMLWriter Class)
Represents an URI reference value.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoURIRef();
int SetAssertionInfoURIRef(const char* lpszAssertionInfoURIRef); Unicode (Windows) LPWSTR GetAssertionInfoURIRef();
INT SetAssertionInfoURIRef(LPCWSTR lpszAssertionInfoURIRef);
char* secureblackbox_samlwriter_getassertioninfouriref(void* lpObj);
int secureblackbox_samlwriter_setassertioninfouriref(void* lpObj, const char* lpszAssertionInfoURIRef);
QString GetAssertionInfoURIRef();
int SetAssertionInfoURIRef(QString qsAssertionInfoURIRef);
Default Value
""
Remarks
Represents an URI reference value.
Use this property to read or set the URI reference value for assertions of csatAssertionURIRef type.
This property is not available at design time.
Data Type
String
AssertionInfoValidationLog Property (SAMLWriter Class)
Contains the signing certificate's chain validation log.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoValidationLog(); Unicode (Windows) LPWSTR GetAssertionInfoValidationLog();
char* secureblackbox_samlwriter_getassertioninfovalidationlog(void* lpObj);
QString GetAssertionInfoValidationLog();
Default Value
""
Remarks
Contains the signing certificate's chain validation log. This information may be very useful in investigating chain validation failures.
This property is read-only and not available at design time.
Data Type
String
AssertionInfoVersion Property (SAMLWriter Class)
Specifies the SAML protocol version used.
Syntax
ANSI (Cross Platform) char* GetAssertionInfoVersion();
int SetAssertionInfoVersion(const char* lpszAssertionInfoVersion); Unicode (Windows) LPWSTR GetAssertionInfoVersion();
INT SetAssertionInfoVersion(LPCWSTR lpszAssertionInfoVersion);
char* secureblackbox_samlwriter_getassertioninfoversion(void* lpObj);
int secureblackbox_samlwriter_setassertioninfoversion(void* lpObj, const char* lpszAssertionInfoVersion);
QString GetAssertionInfoVersion();
int SetAssertionInfoVersion(QString qsAssertionInfoVersion);
Default Value
""
Remarks
Specifies the SAML protocol version used.
This property specifies the SAML protocol version. The default value is 2.0.
This property is not available at design time.
Data Type
String
AssertionIssuer Property (SAMLWriter Class)
Specifies the assertion issuer.
Syntax
ANSI (Cross Platform) char* GetAssertionIssuer();
int SetAssertionIssuer(const char* lpszAssertionIssuer); Unicode (Windows) LPWSTR GetAssertionIssuer();
INT SetAssertionIssuer(LPCWSTR lpszAssertionIssuer);
char* secureblackbox_samlwriter_getassertionissuer(void* lpObj);
int secureblackbox_samlwriter_setassertionissuer(void* lpObj, const char* lpszAssertionIssuer);
QString GetAssertionIssuer();
int SetAssertionIssuer(QString qsAssertionIssuer);
Default Value
""
Remarks
Use this property to provide the assertion issuer ID.
This property is not available at design time.
Data Type
String
AssertionStatementCount Property (SAMLWriter Class)
The number of records in the AssertionStatement arrays.
Syntax
ANSI (Cross Platform) int GetAssertionStatementCount();
int SetAssertionStatementCount(int iAssertionStatementCount); Unicode (Windows) INT GetAssertionStatementCount();
INT SetAssertionStatementCount(INT iAssertionStatementCount);
int secureblackbox_samlwriter_getassertionstatementcount(void* lpObj);
int secureblackbox_samlwriter_setassertionstatementcount(void* lpObj, int iAssertionStatementCount);
int GetAssertionStatementCount();
int SetAssertionStatementCount(int iAssertionStatementCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AssertionStatementAttributes
- AssertionStatementAuthnContextAuthenticatingAuthorities
- AssertionStatementAuthnContextChoice
- AssertionStatementAuthnContextClassRef
- AssertionStatementAuthnContextDecl
- AssertionStatementAuthnContextDeclRef
- AssertionStatementAuthnInstant
- AssertionStatementAuthnSessionIndex
- AssertionStatementAuthnSessionNotOnOrAfter
- AssertionStatementAuthnSubjectLocalityAddress
- AssertionStatementAuthnSubjectLocalityDNSName
- AssertionStatementAuthzActions
- AssertionStatementAuthzDecision
- AssertionStatementAuthzDecisionEvidence
- AssertionStatementAuthzDecisionResource
- AssertionStatementStatementType
The array indices start at 0 and end at AssertionStatementCount - 1.
This property is not available at design time.
Data Type
Integer
AssertionStatementAttributes Property (SAMLWriter Class)
Contains a list of statement attribute names.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAttributes(int iAssertionStatementIndex);
int SetAssertionStatementAttributes(int iAssertionStatementIndex, const char* lpszAssertionStatementAttributes); Unicode (Windows) LPWSTR GetAssertionStatementAttributes(INT iAssertionStatementIndex);
INT SetAssertionStatementAttributes(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAttributes);
char* secureblackbox_samlwriter_getassertionstatementattributes(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementattributes(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAttributes);
QString GetAssertionStatementAttributes(int iAssertionStatementIndex);
int SetAssertionStatementAttributes(int iAssertionStatementIndex, QString qsAssertionStatementAttributes);
Default Value
""
Remarks
Contains a list of statement attribute names.
Use this property to access the set of names of assertion attributes, separated by CRLF.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnContextAuthenticatingAuthorities Property (SAMLWriter Class)
Contains the list of authenticating authorities.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnContextAuthenticatingAuthorities(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextAuthenticatingAuthorities(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnContextAuthenticatingAuthorities); Unicode (Windows) LPWSTR GetAssertionStatementAuthnContextAuthenticatingAuthorities(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnContextAuthenticatingAuthorities(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnContextAuthenticatingAuthorities);
char* secureblackbox_samlwriter_getassertionstatementauthncontextauthenticatingauthorities(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthncontextauthenticatingauthorities(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnContextAuthenticatingAuthorities);
QString GetAssertionStatementAuthnContextAuthenticatingAuthorities(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextAuthenticatingAuthorities(int iAssertionStatementIndex, QString qsAssertionStatementAuthnContextAuthenticatingAuthorities);
Default Value
""
Remarks
Contains the list of authenticating authorities.
Use this property to access the list of URIs of authenticating authorities (IdP entity IDs).
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnContextChoice Property (SAMLWriter Class)
Specifies the authentication context choice variant.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnContextChoice(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextChoice(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnContextChoice); Unicode (Windows) LPWSTR GetAssertionStatementAuthnContextChoice(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnContextChoice(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnContextChoice);
char* secureblackbox_samlwriter_getassertionstatementauthncontextchoice(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthncontextchoice(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnContextChoice);
QString GetAssertionStatementAuthnContextChoice(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextChoice(int iAssertionStatementIndex, QString qsAssertionStatementAuthnContextChoice);
Default Value
""
Remarks
Specifies the authentication context choice variant.
Use this property to set the authentication context choice variant. The currently supported values are v1 and v2. If this setting is left empty, the v1 variant is assumed.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnContextClassRef Property (SAMLWriter Class)
Indicates the authentication contexts class reference.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnContextClassRef(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextClassRef(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnContextClassRef); Unicode (Windows) LPWSTR GetAssertionStatementAuthnContextClassRef(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnContextClassRef(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnContextClassRef);
char* secureblackbox_samlwriter_getassertionstatementauthncontextclassref(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthncontextclassref(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnContextClassRef);
QString GetAssertionStatementAuthnContextClassRef(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextClassRef(int iAssertionStatementIndex, QString qsAssertionStatementAuthnContextClassRef);
Default Value
""
Remarks
Indicates the authentication contexts class reference.
Use this property to get or set the authentication contexts class reference attribute.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnContextDecl Property (SAMLWriter Class)
Specifies the authentication contexts declaration.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnContextDecl(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextDecl(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnContextDecl); Unicode (Windows) LPWSTR GetAssertionStatementAuthnContextDecl(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnContextDecl(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnContextDecl);
char* secureblackbox_samlwriter_getassertionstatementauthncontextdecl(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthncontextdecl(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnContextDecl);
QString GetAssertionStatementAuthnContextDecl(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextDecl(int iAssertionStatementIndex, QString qsAssertionStatementAuthnContextDecl);
Default Value
""
Remarks
Specifies the authentication contexts declaration.
Use this property to access or set the declaration element of the authentication context.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnContextDeclRef Property (SAMLWriter Class)
Specifies the authentication contexts declaration reference.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnContextDeclRef(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextDeclRef(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnContextDeclRef); Unicode (Windows) LPWSTR GetAssertionStatementAuthnContextDeclRef(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnContextDeclRef(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnContextDeclRef);
char* secureblackbox_samlwriter_getassertionstatementauthncontextdeclref(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthncontextdeclref(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnContextDeclRef);
QString GetAssertionStatementAuthnContextDeclRef(int iAssertionStatementIndex);
int SetAssertionStatementAuthnContextDeclRef(int iAssertionStatementIndex, QString qsAssertionStatementAuthnContextDeclRef);
Default Value
""
Remarks
Specifies the authentication contexts declaration reference.
Use this property to get or set the declaration reference of the authentication context.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnInstant Property (SAMLWriter Class)
Specifies the authentication event timestamp.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnInstant(int iAssertionStatementIndex);
int SetAssertionStatementAuthnInstant(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnInstant); Unicode (Windows) LPWSTR GetAssertionStatementAuthnInstant(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnInstant(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnInstant);
char* secureblackbox_samlwriter_getassertionstatementauthninstant(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthninstant(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnInstant);
QString GetAssertionStatementAuthnInstant(int iAssertionStatementIndex);
int SetAssertionStatementAuthnInstant(int iAssertionStatementIndex, QString qsAssertionStatementAuthnInstant);
Default Value
""
Remarks
Specifies the authentication event timestamp.
Use this property to read or set the moment in time the authentication event took place.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnSessionIndex Property (SAMLWriter Class)
Contains the authentication session index.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnSessionIndex(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSessionIndex(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnSessionIndex); Unicode (Windows) LPWSTR GetAssertionStatementAuthnSessionIndex(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnSessionIndex(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnSessionIndex);
char* secureblackbox_samlwriter_getassertionstatementauthnsessionindex(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthnsessionindex(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnSessionIndex);
QString GetAssertionStatementAuthnSessionIndex(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSessionIndex(int iAssertionStatementIndex, QString qsAssertionStatementAuthnSessionIndex);
Default Value
""
Remarks
Contains the authentication session index.
Use this property to access or set the authentication session index.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnSessionNotOnOrAfter Property (SAMLWriter Class)
Maps to the SessionNotOnOrAfter parameter of the authentication statement.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnSessionNotOnOrAfter(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSessionNotOnOrAfter(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnSessionNotOnOrAfter); Unicode (Windows) LPWSTR GetAssertionStatementAuthnSessionNotOnOrAfter(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnSessionNotOnOrAfter(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnSessionNotOnOrAfter);
char* secureblackbox_samlwriter_getassertionstatementauthnsessionnotonorafter(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthnsessionnotonorafter(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnSessionNotOnOrAfter);
QString GetAssertionStatementAuthnSessionNotOnOrAfter(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSessionNotOnOrAfter(int iAssertionStatementIndex, QString qsAssertionStatementAuthnSessionNotOnOrAfter);
Default Value
""
Remarks
Maps to the SessionNotOnOrAfter parameter of the authentication statement.
Use this property to access or set the SessionNotOnOrAfter parameter of the authentication statement.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnSubjectLocalityAddress Property (SAMLWriter Class)
Specifies the authentication subjects address.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnSubjectLocalityAddress(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSubjectLocalityAddress(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnSubjectLocalityAddress); Unicode (Windows) LPWSTR GetAssertionStatementAuthnSubjectLocalityAddress(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnSubjectLocalityAddress(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnSubjectLocalityAddress);
char* secureblackbox_samlwriter_getassertionstatementauthnsubjectlocalityaddress(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthnsubjectlocalityaddress(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnSubjectLocalityAddress);
QString GetAssertionStatementAuthnSubjectLocalityAddress(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSubjectLocalityAddress(int iAssertionStatementIndex, QString qsAssertionStatementAuthnSubjectLocalityAddress);
Default Value
""
Remarks
Specifies the authentication subjects address.
Use this property to specify the address parameter of the authentication subjects locality.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthnSubjectLocalityDNSName Property (SAMLWriter Class)
Maps to the authentication subjects DNS name parameter.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthnSubjectLocalityDNSName(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSubjectLocalityDNSName(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthnSubjectLocalityDNSName); Unicode (Windows) LPWSTR GetAssertionStatementAuthnSubjectLocalityDNSName(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthnSubjectLocalityDNSName(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthnSubjectLocalityDNSName);
char* secureblackbox_samlwriter_getassertionstatementauthnsubjectlocalitydnsname(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthnsubjectlocalitydnsname(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthnSubjectLocalityDNSName);
QString GetAssertionStatementAuthnSubjectLocalityDNSName(int iAssertionStatementIndex);
int SetAssertionStatementAuthnSubjectLocalityDNSName(int iAssertionStatementIndex, QString qsAssertionStatementAuthnSubjectLocalityDNSName);
Default Value
""
Remarks
Maps to the authentication subjects DNS name parameter.
Use this property to access or set the authentication subjects DNS name locality parameter.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthzActions Property (SAMLWriter Class)
Provides access to the list of actions of the authorization statement.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthzActions(int iAssertionStatementIndex);
int SetAssertionStatementAuthzActions(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthzActions); Unicode (Windows) LPWSTR GetAssertionStatementAuthzActions(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthzActions(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthzActions);
char* secureblackbox_samlwriter_getassertionstatementauthzactions(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthzactions(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthzActions);
QString GetAssertionStatementAuthzActions(int iAssertionStatementIndex);
int SetAssertionStatementAuthzActions(int iAssertionStatementIndex, QString qsAssertionStatementAuthzActions);
Default Value
""
Remarks
Provides access to the list of actions of the authorization statement.
Use this property to read or set the actions of the authorization statement. Actions are represented as a list of Namespace=namespace;Value=Value strings, separated with CRLFs.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthzDecision Property (SAMLWriter Class)
Specifies the authorization decision.
Syntax
ANSI (Cross Platform) int GetAssertionStatementAuthzDecision(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecision(int iAssertionStatementIndex, int iAssertionStatementAuthzDecision); Unicode (Windows) INT GetAssertionStatementAuthzDecision(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthzDecision(INT iAssertionStatementIndex, INT iAssertionStatementAuthzDecision);
Possible Values
CSADN_PERMIT(0),
CSADN_DENY(1),
CSADN_INDETERMINATE(2)
int secureblackbox_samlwriter_getassertionstatementauthzdecision(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthzdecision(void* lpObj, int assertionstatementindex, int iAssertionStatementAuthzDecision);
int GetAssertionStatementAuthzDecision(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecision(int iAssertionStatementIndex, int iAssertionStatementAuthzDecision);
Default Value
0
Remarks
Specifies the authorization decision.
Use this property to check or set the authorization decision. This can be one of Permit, Deny, or Indeterminate.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
Integer
AssertionStatementAuthzDecisionEvidence Property (SAMLWriter Class)
Manages the authorization decision statement evidence parameter.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthzDecisionEvidence(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecisionEvidence(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthzDecisionEvidence); Unicode (Windows) LPWSTR GetAssertionStatementAuthzDecisionEvidence(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthzDecisionEvidence(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthzDecisionEvidence);
char* secureblackbox_samlwriter_getassertionstatementauthzdecisionevidence(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthzdecisionevidence(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthzDecisionEvidence);
QString GetAssertionStatementAuthzDecisionEvidence(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecisionEvidence(int iAssertionStatementIndex, QString qsAssertionStatementAuthzDecisionEvidence);
Default Value
""
Remarks
Manages the authorization decision statement evidence parameter.
Use this property to read or set the authorization decision statement evidence parameter.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementAuthzDecisionResource Property (SAMLWriter Class)
Specifies the authorization decision statement resource parameter.
Syntax
ANSI (Cross Platform) char* GetAssertionStatementAuthzDecisionResource(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecisionResource(int iAssertionStatementIndex, const char* lpszAssertionStatementAuthzDecisionResource); Unicode (Windows) LPWSTR GetAssertionStatementAuthzDecisionResource(INT iAssertionStatementIndex);
INT SetAssertionStatementAuthzDecisionResource(INT iAssertionStatementIndex, LPCWSTR lpszAssertionStatementAuthzDecisionResource);
char* secureblackbox_samlwriter_getassertionstatementauthzdecisionresource(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementauthzdecisionresource(void* lpObj, int assertionstatementindex, const char* lpszAssertionStatementAuthzDecisionResource);
QString GetAssertionStatementAuthzDecisionResource(int iAssertionStatementIndex);
int SetAssertionStatementAuthzDecisionResource(int iAssertionStatementIndex, QString qsAssertionStatementAuthzDecisionResource);
Default Value
""
Remarks
Specifies the authorization decision statement resource parameter.
Use this property to access or set the resource parameter of the authorization statement.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
String
AssertionStatementStatementType Property (SAMLWriter Class)
Specifies the assertion statement type.
Syntax
ANSI (Cross Platform) int GetAssertionStatementStatementType(int iAssertionStatementIndex);
int SetAssertionStatementStatementType(int iAssertionStatementIndex, int iAssertionStatementStatementType); Unicode (Windows) INT GetAssertionStatementStatementType(INT iAssertionStatementIndex);
INT SetAssertionStatementStatementType(INT iAssertionStatementIndex, INT iAssertionStatementStatementType);
Possible Values
CSAST_AUTHN(0),
CSAST_ATTRIBUTE(1),
CSAST_AUTHZ_DECISION(2)
int secureblackbox_samlwriter_getassertionstatementstatementtype(void* lpObj, int assertionstatementindex);
int secureblackbox_samlwriter_setassertionstatementstatementtype(void* lpObj, int assertionstatementindex, int iAssertionStatementStatementType);
int GetAssertionStatementStatementType(int iAssertionStatementIndex);
int SetAssertionStatementStatementType(int iAssertionStatementIndex, int iAssertionStatementStatementType);
Default Value
0
Remarks
Specifies the assertion statement type.
This property specifies the assertion statement type. A statement can carry an authentication assertion, an attribute assertion, or an authorization decision assertion.
The AssertionStatementIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionStatementCount property.
This property is not available at design time.
Data Type
Integer
AssertionSubjectConfirmationCount Property (SAMLWriter Class)
The number of records in the AssertionSubjectConfirmation arrays.
Syntax
ANSI (Cross Platform) int GetAssertionSubjectConfirmationCount();
int SetAssertionSubjectConfirmationCount(int iAssertionSubjectConfirmationCount); Unicode (Windows) INT GetAssertionSubjectConfirmationCount();
INT SetAssertionSubjectConfirmationCount(INT iAssertionSubjectConfirmationCount);
int secureblackbox_samlwriter_getassertionsubjectconfirmationcount(void* lpObj);
int secureblackbox_samlwriter_setassertionsubjectconfirmationcount(void* lpObj, int iAssertionSubjectConfirmationCount);
int GetAssertionSubjectConfirmationCount();
int SetAssertionSubjectConfirmationCount(int iAssertionSubjectConfirmationCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AssertionSubjectConfirmationDataAddress
- AssertionSubjectConfirmationDataInResponseTo
- AssertionSubjectConfirmationDataNotBefore
- AssertionSubjectConfirmationDataNotOnOrAfter
- AssertionSubjectConfirmationDataRecipient
- AssertionSubjectConfirmationDataType
- AssertionSubjectConfirmationID
- AssertionSubjectConfirmationMethod
The array indices start at 0 and end at AssertionSubjectConfirmationCount - 1.
This property is not available at design time.
Data Type
Integer
AssertionSubjectConfirmationDataAddress Property (SAMLWriter Class)
Contains the address enabled for presenting assertions.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataAddress(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataAddress(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataAddress); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataAddress(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataAddress(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataAddress);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdataaddress(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdataaddress(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataAddress);
QString GetAssertionSubjectConfirmationDataAddress(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataAddress(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataAddress);
Default Value
""
Remarks
Contains the address enabled for presenting assertions.
Use this property to specify the network address or location from which the subject confirmation should be issued. This optional element can be used to restrict the possibilities of an attacker to steal the assertion and present it from another IP address.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationDataInResponseTo Property (SAMLWriter Class)
The ID of the SAML message in response to which the assertion is issued.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataInResponseTo(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataInResponseTo(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataInResponseTo); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataInResponseTo(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataInResponseTo(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataInResponseTo);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdatainresponseto(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdatainresponseto(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataInResponseTo);
QString GetAssertionSubjectConfirmationDataInResponseTo(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataInResponseTo(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataInResponseTo);
Default Value
""
Remarks
The ID of the SAML message in response to which the assertion is issued.
This property specifies the ID of the SAML message in response to which the assertion is issued.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationDataNotBefore Property (SAMLWriter Class)
Time moment before which the subject cannot be confirmed.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataNotBefore(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataNotBefore(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataNotBefore); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataNotBefore(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataNotBefore(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataNotBefore);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdatanotbefore(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdatanotbefore(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataNotBefore);
QString GetAssertionSubjectConfirmationDataNotBefore(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataNotBefore(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataNotBefore);
Default Value
""
Remarks
Time moment before which the subject cannot be confirmed.
This property specifies the time before which the subject cannot be confirmed.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationDataNotOnOrAfter Property (SAMLWriter Class)
Limits the time until which the subject can be confirmed.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataNotOnOrAfter(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataNotOnOrAfter(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataNotOnOrAfter); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataNotOnOrAfter(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataNotOnOrAfter(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataNotOnOrAfter);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdatanotonorafter(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdatanotonorafter(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataNotOnOrAfter);
QString GetAssertionSubjectConfirmationDataNotOnOrAfter(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataNotOnOrAfter(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataNotOnOrAfter);
Default Value
""
Remarks
Limits the time until which the subject can be confirmed.
This property specifies the time on (or after) which the subject cannot be confirmed.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationDataRecipient Property (SAMLWriter Class)
The URI of the entity or the location of the resource to which the assertion should be presented.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataRecipient(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataRecipient(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataRecipient); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataRecipient(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataRecipient(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataRecipient);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdatarecipient(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdatarecipient(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataRecipient);
QString GetAssertionSubjectConfirmationDataRecipient(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataRecipient(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataRecipient);
Default Value
""
Remarks
The URI of the entity or the location of the resource to which the assertion should be presented.
This property specifies The URI of the entity or the location of the resource to which the assertion should be presented.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationDataType Property (SAMLWriter Class)
The type of data contained in the confirmation.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationDataType(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataType(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationDataType); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationDataType(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationDataType(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationDataType);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationdatatype(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationdatatype(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationDataType);
QString GetAssertionSubjectConfirmationDataType(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationDataType(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationDataType);
Default Value
""
Remarks
The type of data contained in the confirmation.
Use this property to read or specify the type of confirmation data included in the object.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationID Property (SAMLWriter Class)
The identifier of the entity which can satisfy the subject confirmation requirements.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationID(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationID(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationID); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationID(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationID(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationID);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationid(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationid(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationID);
QString GetAssertionSubjectConfirmationID(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationID(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationID);
Default Value
""
Remarks
The identifier of the entity which can satisfy the subject confirmation requirements.
This property specifies the identifier of the entity which is expected to satisfy the subject confirmation requirements.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectConfirmationMethod Property (SAMLWriter Class)
Specifies the mechanism to be used to confirm the subject.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectConfirmationMethod(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationMethod(int iAssertionSubjectConfirmationIndex, const char* lpszAssertionSubjectConfirmationMethod); Unicode (Windows) LPWSTR GetAssertionSubjectConfirmationMethod(INT iAssertionSubjectConfirmationIndex);
INT SetAssertionSubjectConfirmationMethod(INT iAssertionSubjectConfirmationIndex, LPCWSTR lpszAssertionSubjectConfirmationMethod);
char* secureblackbox_samlwriter_getassertionsubjectconfirmationmethod(void* lpObj, int assertionsubjectconfirmationindex);
int secureblackbox_samlwriter_setassertionsubjectconfirmationmethod(void* lpObj, int assertionsubjectconfirmationindex, const char* lpszAssertionSubjectConfirmationMethod);
QString GetAssertionSubjectConfirmationMethod(int iAssertionSubjectConfirmationIndex);
int SetAssertionSubjectConfirmationMethod(int iAssertionSubjectConfirmationIndex, QString qsAssertionSubjectConfirmationMethod);
Default Value
""
Remarks
Specifies the mechanism to be used to confirm the subject.
This property contains a URI reference that identifies the mechanism to be used to confirm the subject.
The AssertionSubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AssertionSubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
AssertionSubjectID Property (SAMLWriter Class)
Specifies the assertion subject ID.
Syntax
ANSI (Cross Platform) char* GetAssertionSubjectID();
int SetAssertionSubjectID(const char* lpszAssertionSubjectID); Unicode (Windows) LPWSTR GetAssertionSubjectID();
INT SetAssertionSubjectID(LPCWSTR lpszAssertionSubjectID);
char* secureblackbox_samlwriter_getassertionsubjectid(void* lpObj);
int secureblackbox_samlwriter_setassertionsubjectid(void* lpObj, const char* lpszAssertionSubjectID);
QString GetAssertionSubjectID();
int SetAssertionSubjectID(QString qsAssertionSubjectID);
Default Value
""
Remarks
Use this property to provide the assertion's subject SAML ID.
This property is not available at design time.
Data Type
String
AttrQueryAttrCount Property (SAMLWriter Class)
The number of records in the AttrQueryAttr arrays.
Syntax
ANSI (Cross Platform) int GetAttrQueryAttrCount();
int SetAttrQueryAttrCount(int iAttrQueryAttrCount); Unicode (Windows) INT GetAttrQueryAttrCount();
INT SetAttrQueryAttrCount(INT iAttrQueryAttrCount);
int secureblackbox_samlwriter_getattrqueryattrcount(void* lpObj);
int secureblackbox_samlwriter_setattrqueryattrcount(void* lpObj, int iAttrQueryAttrCount);
int GetAttrQueryAttrCount();
int SetAttrQueryAttrCount(int iAttrQueryAttrCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AttrQueryAttrFriendlyName
- AttrQueryAttrName
- AttrQueryAttrNameFormat
- AttrQueryAttrStatementIndex
- AttrQueryAttrValues
The array indices start at 0 and end at AttrQueryAttrCount - 1.
This property is not available at design time.
Data Type
Integer
AttrQueryAttrFriendlyName Property (SAMLWriter Class)
Specifies the friendly name of the attribute Use this property to access or set the friendly name of a SAML attribute (e.
Syntax
ANSI (Cross Platform) char* GetAttrQueryAttrFriendlyName(int iAttrQueryAttrIndex);
int SetAttrQueryAttrFriendlyName(int iAttrQueryAttrIndex, const char* lpszAttrQueryAttrFriendlyName); Unicode (Windows) LPWSTR GetAttrQueryAttrFriendlyName(INT iAttrQueryAttrIndex);
INT SetAttrQueryAttrFriendlyName(INT iAttrQueryAttrIndex, LPCWSTR lpszAttrQueryAttrFriendlyName);
char* secureblackbox_samlwriter_getattrqueryattrfriendlyname(void* lpObj, int attrqueryattrindex);
int secureblackbox_samlwriter_setattrqueryattrfriendlyname(void* lpObj, int attrqueryattrindex, const char* lpszAttrQueryAttrFriendlyName);
QString GetAttrQueryAttrFriendlyName(int iAttrQueryAttrIndex);
int SetAttrQueryAttrFriendlyName(int iAttrQueryAttrIndex, QString qsAttrQueryAttrFriendlyName);
Default Value
""
Remarks
Specifies the friendly name of the attribute
Use this property to access or set the friendly name of a SAML attribute (e.g. givenName).
The AttrQueryAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrQueryAttrCount property.
This property is not available at design time.
Data Type
String
AttrQueryAttrName Property (SAMLWriter Class)
Specifies the name of the attribute.
Syntax
ANSI (Cross Platform) char* GetAttrQueryAttrName(int iAttrQueryAttrIndex);
int SetAttrQueryAttrName(int iAttrQueryAttrIndex, const char* lpszAttrQueryAttrName); Unicode (Windows) LPWSTR GetAttrQueryAttrName(INT iAttrQueryAttrIndex);
INT SetAttrQueryAttrName(INT iAttrQueryAttrIndex, LPCWSTR lpszAttrQueryAttrName);
char* secureblackbox_samlwriter_getattrqueryattrname(void* lpObj, int attrqueryattrindex);
int secureblackbox_samlwriter_setattrqueryattrname(void* lpObj, int attrqueryattrindex, const char* lpszAttrQueryAttrName);
QString GetAttrQueryAttrName(int iAttrQueryAttrIndex);
int SetAttrQueryAttrName(int iAttrQueryAttrIndex, QString qsAttrQueryAttrName);
Default Value
""
Remarks
Specifies the name of the attribute.
Use this property to read or set the formal name of the attribute (e.g. urn:oid:2.5.4.42).
The AttrQueryAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrQueryAttrCount property.
This property is not available at design time.
Data Type
String
AttrQueryAttrNameFormat Property (SAMLWriter Class)
Indicates the format used to reference the attribute.
Syntax
ANSI (Cross Platform) char* GetAttrQueryAttrNameFormat(int iAttrQueryAttrIndex);
int SetAttrQueryAttrNameFormat(int iAttrQueryAttrIndex, const char* lpszAttrQueryAttrNameFormat); Unicode (Windows) LPWSTR GetAttrQueryAttrNameFormat(INT iAttrQueryAttrIndex);
INT SetAttrQueryAttrNameFormat(INT iAttrQueryAttrIndex, LPCWSTR lpszAttrQueryAttrNameFormat);
char* secureblackbox_samlwriter_getattrqueryattrnameformat(void* lpObj, int attrqueryattrindex);
int secureblackbox_samlwriter_setattrqueryattrnameformat(void* lpObj, int attrqueryattrindex, const char* lpszAttrQueryAttrNameFormat);
QString GetAttrQueryAttrNameFormat(int iAttrQueryAttrIndex);
int SetAttrQueryAttrNameFormat(int iAttrQueryAttrIndex, QString qsAttrQueryAttrNameFormat);
Default Value
""
Remarks
Indicates the format used to reference the attribute.
This property specifies the format that is used to reference the attribute (e.g. urn:oasis:names:tc:SAML:2.0:attrname-format:uri).
The AttrQueryAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrQueryAttrCount property.
This property is not available at design time.
Data Type
String
AttrQueryAttrStatementIndex Property (SAMLWriter Class)
Contains the index of the statement the attribute corresponds to.
Syntax
ANSI (Cross Platform) int GetAttrQueryAttrStatementIndex(int iAttrQueryAttrIndex);
int SetAttrQueryAttrStatementIndex(int iAttrQueryAttrIndex, int iAttrQueryAttrStatementIndex); Unicode (Windows) INT GetAttrQueryAttrStatementIndex(INT iAttrQueryAttrIndex);
INT SetAttrQueryAttrStatementIndex(INT iAttrQueryAttrIndex, INT iAttrQueryAttrStatementIndex);
int secureblackbox_samlwriter_getattrqueryattrstatementindex(void* lpObj, int attrqueryattrindex);
int secureblackbox_samlwriter_setattrqueryattrstatementindex(void* lpObj, int attrqueryattrindex, int iAttrQueryAttrStatementIndex);
int GetAttrQueryAttrStatementIndex(int iAttrQueryAttrIndex);
int SetAttrQueryAttrStatementIndex(int iAttrQueryAttrIndex, int iAttrQueryAttrStatementIndex);
Default Value
-1
Remarks
Contains the index of the statement the attribute corresponds to.
Use this property to read or set the index of the statement in the statement list that this attribute corresponds to.
The AttrQueryAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrQueryAttrCount property.
This property is not available at design time.
Data Type
Integer
AttrQueryAttrValues Property (SAMLWriter Class)
Contains a list of attribute values.
Syntax
ANSI (Cross Platform) char* GetAttrQueryAttrValues(int iAttrQueryAttrIndex);
int SetAttrQueryAttrValues(int iAttrQueryAttrIndex, const char* lpszAttrQueryAttrValues); Unicode (Windows) LPWSTR GetAttrQueryAttrValues(INT iAttrQueryAttrIndex);
INT SetAttrQueryAttrValues(INT iAttrQueryAttrIndex, LPCWSTR lpszAttrQueryAttrValues);
char* secureblackbox_samlwriter_getattrqueryattrvalues(void* lpObj, int attrqueryattrindex);
int secureblackbox_samlwriter_setattrqueryattrvalues(void* lpObj, int attrqueryattrindex, const char* lpszAttrQueryAttrValues);
QString GetAttrQueryAttrValues(int iAttrQueryAttrIndex);
int SetAttrQueryAttrValues(int iAttrQueryAttrIndex, QString qsAttrQueryAttrValues);
Default Value
""
Remarks
Contains a list of attribute values.
Use this property to access or set the value(s) included with the attribute. The value contains a list of strings of ContentType=contentType;Value=value format, separated with CRLF.
The AttrQueryAttrIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AttrQueryAttrCount property.
This property is not available at design time.
Data Type
String
AuthnQueryComparison Property (SAMLWriter Class)
Specifies the authentication context comparison method.
Syntax
ANSI (Cross Platform) int GetAuthnQueryComparison();
int SetAuthnQueryComparison(int iAuthnQueryComparison); Unicode (Windows) INT GetAuthnQueryComparison();
INT SetAuthnQueryComparison(INT iAuthnQueryComparison);
Possible Values
CACCT_NONE(0),
CACCT_EXACT(1),
CACCT_MINIMUM(2),
CACCT_MAXIMUM(3),
CACCT_BETTER(4)
int secureblackbox_samlwriter_getauthnquerycomparison(void* lpObj);
int secureblackbox_samlwriter_setauthnquerycomparison(void* lpObj, int iAuthnQueryComparison);
int GetAuthnQueryComparison();
int SetAuthnQueryComparison(int iAuthnQueryComparison);
Default Value
0
Remarks
Specifies the authentication context comparison method.
Use this property to access or set the authentication contexts comparison method (none, exact, minimum, maximum, or better).
This property is not available at design time.
Data Type
Integer
AuthnQueryContextClassRefs Property (SAMLWriter Class)
Specifies the context class reference.
Syntax
ANSI (Cross Platform) char* GetAuthnQueryContextClassRefs();
int SetAuthnQueryContextClassRefs(const char* lpszAuthnQueryContextClassRefs); Unicode (Windows) LPWSTR GetAuthnQueryContextClassRefs();
INT SetAuthnQueryContextClassRefs(LPCWSTR lpszAuthnQueryContextClassRefs);
char* secureblackbox_samlwriter_getauthnquerycontextclassrefs(void* lpObj);
int secureblackbox_samlwriter_setauthnquerycontextclassrefs(void* lpObj, const char* lpszAuthnQueryContextClassRefs);
QString GetAuthnQueryContextClassRefs();
int SetAuthnQueryContextClassRefs(QString qsAuthnQueryContextClassRefs);
Default Value
""
Remarks
Specifies the context class reference.
Use this property to access or set the authentication context class reference.
This property is not available at design time.
Data Type
String
AuthnQueryRefType Property (SAMLWriter Class)
Specifies the context reference type.
Syntax
ANSI (Cross Platform) int GetAuthnQueryRefType();
int SetAuthnQueryRefType(int iAuthnQueryRefType); Unicode (Windows) INT GetAuthnQueryRefType();
INT SetAuthnQueryRefType(INT iAuthnQueryRefType);
Possible Values
CACRT_UNKNOWN(0),
CACRT_CLASS(1),
CACRT_DECL(2)
int secureblackbox_samlwriter_getauthnqueryreftype(void* lpObj);
int secureblackbox_samlwriter_setauthnqueryreftype(void* lpObj, int iAuthnQueryRefType);
int GetAuthnQueryRefType();
int SetAuthnQueryRefType(int iAuthnQueryRefType);
Default Value
0
Remarks
Specifies the context reference type.
Use this property to access or set the authentication contexts reference type (class or declaration).
This property is not available at design time.
Data Type
Integer
AuthnQuerySessionIndex Property (SAMLWriter Class)
Specifies the index of the session to the authentication entity.
Syntax
ANSI (Cross Platform) char* GetAuthnQuerySessionIndex();
int SetAuthnQuerySessionIndex(const char* lpszAuthnQuerySessionIndex); Unicode (Windows) LPWSTR GetAuthnQuerySessionIndex();
INT SetAuthnQuerySessionIndex(LPCWSTR lpszAuthnQuerySessionIndex);
char* secureblackbox_samlwriter_getauthnquerysessionindex(void* lpObj);
int secureblackbox_samlwriter_setauthnquerysessionindex(void* lpObj, const char* lpszAuthnQuerySessionIndex);
QString GetAuthnQuerySessionIndex();
int SetAuthnQuerySessionIndex(QString qsAuthnQuerySessionIndex);
Default Value
""
Remarks
Specifies the index of the session to the authentication entity.
Use this property to access or set the index of the session to the authentication entity.
This property is not available at design time.
Data Type
String
AuthnRequestAssertionConsumerServiceIndex Property (SAMLWriter Class)
Specifies the assertion consumer service index.
Syntax
ANSI (Cross Platform) int GetAuthnRequestAssertionConsumerServiceIndex();
int SetAuthnRequestAssertionConsumerServiceIndex(int iAuthnRequestAssertionConsumerServiceIndex); Unicode (Windows) INT GetAuthnRequestAssertionConsumerServiceIndex();
INT SetAuthnRequestAssertionConsumerServiceIndex(INT iAuthnRequestAssertionConsumerServiceIndex);
int secureblackbox_samlwriter_getauthnrequestassertionconsumerserviceindex(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestassertionconsumerserviceindex(void* lpObj, int iAuthnRequestAssertionConsumerServiceIndex);
int GetAuthnRequestAssertionConsumerServiceIndex();
int SetAuthnRequestAssertionConsumerServiceIndex(int iAuthnRequestAssertionConsumerServiceIndex);
Default Value
0
Remarks
Specifies the assertion consumer service index.
Use this property to access or set the location index to which the response has to be returned.
This property is not available at design time.
Data Type
Integer
AuthnRequestAssertionConsumerServiceURL Property (SAMLWriter Class)
Specifies the assertion consumer service URL.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestAssertionConsumerServiceURL();
int SetAuthnRequestAssertionConsumerServiceURL(const char* lpszAuthnRequestAssertionConsumerServiceURL); Unicode (Windows) LPWSTR GetAuthnRequestAssertionConsumerServiceURL();
INT SetAuthnRequestAssertionConsumerServiceURL(LPCWSTR lpszAuthnRequestAssertionConsumerServiceURL);
char* secureblackbox_samlwriter_getauthnrequestassertionconsumerserviceurl(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestassertionconsumerserviceurl(void* lpObj, const char* lpszAuthnRequestAssertionConsumerServiceURL);
QString GetAuthnRequestAssertionConsumerServiceURL();
int SetAuthnRequestAssertionConsumerServiceURL(QString qsAuthnRequestAssertionConsumerServiceURL);
Default Value
""
Remarks
Specifies the assertion consumer service URL.
Use this property to access or set the URL of the location to which the response has to be returned.
This property is not available at design time.
Data Type
String
AuthnRequestAttributeConsumingServiceIndex Property (SAMLWriter Class)
Specifies the attribute consuming service index.
Syntax
ANSI (Cross Platform) int GetAuthnRequestAttributeConsumingServiceIndex();
int SetAuthnRequestAttributeConsumingServiceIndex(int iAuthnRequestAttributeConsumingServiceIndex); Unicode (Windows) INT GetAuthnRequestAttributeConsumingServiceIndex();
INT SetAuthnRequestAttributeConsumingServiceIndex(INT iAuthnRequestAttributeConsumingServiceIndex);
int secureblackbox_samlwriter_getauthnrequestattributeconsumingserviceindex(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestattributeconsumingserviceindex(void* lpObj, int iAuthnRequestAttributeConsumingServiceIndex);
int GetAuthnRequestAttributeConsumingServiceIndex();
int SetAuthnRequestAttributeConsumingServiceIndex(int iAuthnRequestAttributeConsumingServiceIndex);
Default Value
0
Remarks
Specifies the attribute consuming service index.
Use this property to read or set the attribute consuming service index.
This property is not available at design time.
Data Type
Integer
AuthnRequestConditionsNotBefore Property (SAMLWriter Class)
Specifies the NotBefore condition of the request.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestConditionsNotBefore();
int SetAuthnRequestConditionsNotBefore(const char* lpszAuthnRequestConditionsNotBefore); Unicode (Windows) LPWSTR GetAuthnRequestConditionsNotBefore();
INT SetAuthnRequestConditionsNotBefore(LPCWSTR lpszAuthnRequestConditionsNotBefore);
char* secureblackbox_samlwriter_getauthnrequestconditionsnotbefore(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestconditionsnotbefore(void* lpObj, const char* lpszAuthnRequestConditionsNotBefore);
QString GetAuthnRequestConditionsNotBefore();
int SetAuthnRequestConditionsNotBefore(QString qsAuthnRequestConditionsNotBefore);
Default Value
""
Remarks
Specifies the NotBefore condition of the request.
Use this property to access or set the NotBefore condition of the request.
This property is not available at design time.
Data Type
String
AuthnRequestConditionsNotOnOrAfter Property (SAMLWriter Class)
Provides access to the NotOnOrAfter condition of the request.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestConditionsNotOnOrAfter();
int SetAuthnRequestConditionsNotOnOrAfter(const char* lpszAuthnRequestConditionsNotOnOrAfter); Unicode (Windows) LPWSTR GetAuthnRequestConditionsNotOnOrAfter();
INT SetAuthnRequestConditionsNotOnOrAfter(LPCWSTR lpszAuthnRequestConditionsNotOnOrAfter);
char* secureblackbox_samlwriter_getauthnrequestconditionsnotonorafter(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestconditionsnotonorafter(void* lpObj, const char* lpszAuthnRequestConditionsNotOnOrAfter);
QString GetAuthnRequestConditionsNotOnOrAfter();
int SetAuthnRequestConditionsNotOnOrAfter(QString qsAuthnRequestConditionsNotOnOrAfter);
Default Value
""
Remarks
Provides access to the NotOnOrAfter condition of the request.
Use this property to access or set the NotOnOrAfter condition of the request.
This property is not available at design time.
Data Type
String
AuthnRequestContextClassRefs Property (SAMLWriter Class)
Provides access to the authentication context class references.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestContextClassRefs();
int SetAuthnRequestContextClassRefs(const char* lpszAuthnRequestContextClassRefs); Unicode (Windows) LPWSTR GetAuthnRequestContextClassRefs();
INT SetAuthnRequestContextClassRefs(LPCWSTR lpszAuthnRequestContextClassRefs);
char* secureblackbox_samlwriter_getauthnrequestcontextclassrefs(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestcontextclassrefs(void* lpObj, const char* lpszAuthnRequestContextClassRefs);
QString GetAuthnRequestContextClassRefs();
int SetAuthnRequestContextClassRefs(QString qsAuthnRequestContextClassRefs);
Default Value
""
Remarks
Provides access to the authentication context class references.
Use this property to access or set the class references of the authentication context. This property may contain a list of CRLF-separated strings.
This property is not available at design time.
Data Type
String
AuthnRequestContextComparison Property (SAMLWriter Class)
Specifies the AuthnContext comparison method.
Syntax
ANSI (Cross Platform) int GetAuthnRequestContextComparison();
int SetAuthnRequestContextComparison(int iAuthnRequestContextComparison); Unicode (Windows) INT GetAuthnRequestContextComparison();
INT SetAuthnRequestContextComparison(INT iAuthnRequestContextComparison);
Possible Values
CACCT_NONE(0),
CACCT_EXACT(1),
CACCT_MINIMUM(2),
CACCT_MAXIMUM(3),
CACCT_BETTER(4)
int secureblackbox_samlwriter_getauthnrequestcontextcomparison(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestcontextcomparison(void* lpObj, int iAuthnRequestContextComparison);
int GetAuthnRequestContextComparison();
int SetAuthnRequestContextComparison(int iAuthnRequestContextComparison);
Default Value
0
Remarks
Specifies the AuthnContext comparison method.
Use this property to access or set the authentication contexts comparison method (none, exact, minimum, maximum, or better).
This property is not available at design time.
Data Type
Integer
AuthnRequestContextRefType Property (SAMLWriter Class)
Specifies the context reference type.
Syntax
ANSI (Cross Platform) int GetAuthnRequestContextRefType();
int SetAuthnRequestContextRefType(int iAuthnRequestContextRefType); Unicode (Windows) INT GetAuthnRequestContextRefType();
INT SetAuthnRequestContextRefType(INT iAuthnRequestContextRefType);
Possible Values
CACRT_UNKNOWN(0),
CACRT_CLASS(1),
CACRT_DECL(2)
int secureblackbox_samlwriter_getauthnrequestcontextreftype(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestcontextreftype(void* lpObj, int iAuthnRequestContextRefType);
int GetAuthnRequestContextRefType();
int SetAuthnRequestContextRefType(int iAuthnRequestContextRefType);
Default Value
0
Remarks
Specifies the context reference type.
Use this property to get or set the context reference type (Class or Declaration).
This property is not available at design time.
Data Type
Integer
AuthnRequestForceAuthn Property (SAMLWriter Class)
Corresponds to the ForceAuthn parameter of the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestForceAuthn();
int SetAuthnRequestForceAuthn(int bAuthnRequestForceAuthn); Unicode (Windows) BOOL GetAuthnRequestForceAuthn();
INT SetAuthnRequestForceAuthn(BOOL bAuthnRequestForceAuthn);
int secureblackbox_samlwriter_getauthnrequestforceauthn(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestforceauthn(void* lpObj, int bAuthnRequestForceAuthn);
bool GetAuthnRequestForceAuthn();
int SetAuthnRequestForceAuthn(bool bAuthnRequestForceAuthn);
Default Value
FALSE
Remarks
Corresponds to the ForceAuthn parameter of the request.
Use this property to check or set the ForceAuthn parameter of the request, which enforces the identity provider to re-authenticate the presenter.
This property is not available at design time.
Data Type
Boolean
AuthnRequestIsPassive Property (SAMLWriter Class)
Maps to the IsPassive parameter of the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestIsPassive();
int SetAuthnRequestIsPassive(int bAuthnRequestIsPassive); Unicode (Windows) BOOL GetAuthnRequestIsPassive();
INT SetAuthnRequestIsPassive(BOOL bAuthnRequestIsPassive);
int secureblackbox_samlwriter_getauthnrequestispassive(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestispassive(void* lpObj, int bAuthnRequestIsPassive);
bool GetAuthnRequestIsPassive();
int SetAuthnRequestIsPassive(bool bAuthnRequestIsPassive);
Default Value
FALSE
Remarks
Maps to the IsPassive parameter of the request.
Use this property to access or set the IsPassive parameter of the authentication request. IsPassive sets out the control the identity provider and user agent have over the authenticating users UI.
This property is not available at design time.
Data Type
Boolean
AuthnRequestNameIDPolicyAllowCreate Property (SAMLWriter Class)
Matches the AllowCreate attribute of NameIDPolicy element of the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestNameIDPolicyAllowCreate();
int SetAuthnRequestNameIDPolicyAllowCreate(int bAuthnRequestNameIDPolicyAllowCreate); Unicode (Windows) BOOL GetAuthnRequestNameIDPolicyAllowCreate();
INT SetAuthnRequestNameIDPolicyAllowCreate(BOOL bAuthnRequestNameIDPolicyAllowCreate);
int secureblackbox_samlwriter_getauthnrequestnameidpolicyallowcreate(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestnameidpolicyallowcreate(void* lpObj, int bAuthnRequestNameIDPolicyAllowCreate);
bool GetAuthnRequestNameIDPolicyAllowCreate();
int SetAuthnRequestNameIDPolicyAllowCreate(bool bAuthnRequestNameIDPolicyAllowCreate);
Default Value
FALSE
Remarks
Matches the AllowCreate attribute of NameIDPolicy element of the request.
Use this property to access or set the AllowCreate attribute of NameIDPolicy, which allows or disallows the identity provider to create a new identifier when processing the authentication request.
This property is not available at design time.
Data Type
Boolean
AuthnRequestNameIDPolicyFormat Property (SAMLWriter Class)
Matches to the Format attribute of the NameIDPolicy element of the request.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestNameIDPolicyFormat();
int SetAuthnRequestNameIDPolicyFormat(const char* lpszAuthnRequestNameIDPolicyFormat); Unicode (Windows) LPWSTR GetAuthnRequestNameIDPolicyFormat();
INT SetAuthnRequestNameIDPolicyFormat(LPCWSTR lpszAuthnRequestNameIDPolicyFormat);
char* secureblackbox_samlwriter_getauthnrequestnameidpolicyformat(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestnameidpolicyformat(void* lpObj, const char* lpszAuthnRequestNameIDPolicyFormat);
QString GetAuthnRequestNameIDPolicyFormat();
int SetAuthnRequestNameIDPolicyFormat(QString qsAuthnRequestNameIDPolicyFormat);
Default Value
""
Remarks
Matches to the Format attribute of the NameIDPolicy element of the request.
Use this property to access or set the Format attribute of NameIDPolicy.
This property is not available at design time.
Data Type
String
AuthnRequestNameIDPolicySPNameQualifier Property (SAMLWriter Class)
Matches to the SP name qualifier attribute of the request.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestNameIDPolicySPNameQualifier();
int SetAuthnRequestNameIDPolicySPNameQualifier(const char* lpszAuthnRequestNameIDPolicySPNameQualifier); Unicode (Windows) LPWSTR GetAuthnRequestNameIDPolicySPNameQualifier();
INT SetAuthnRequestNameIDPolicySPNameQualifier(LPCWSTR lpszAuthnRequestNameIDPolicySPNameQualifier);
char* secureblackbox_samlwriter_getauthnrequestnameidpolicyspnamequalifier(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestnameidpolicyspnamequalifier(void* lpObj, const char* lpszAuthnRequestNameIDPolicySPNameQualifier);
QString GetAuthnRequestNameIDPolicySPNameQualifier();
int SetAuthnRequestNameIDPolicySPNameQualifier(QString qsAuthnRequestNameIDPolicySPNameQualifier);
Default Value
""
Remarks
Matches to the SP name qualifier attribute of the request.
Use this property to access or set the SP name qualifier attribute of the authentication request.
This property is not available at design time.
Data Type
String
AuthnRequestNameIDPolicyUseAllowCreate Property (SAMLWriter Class)
Controls inclusion of AllowCreate attribute in the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestNameIDPolicyUseAllowCreate();
int SetAuthnRequestNameIDPolicyUseAllowCreate(int bAuthnRequestNameIDPolicyUseAllowCreate); Unicode (Windows) BOOL GetAuthnRequestNameIDPolicyUseAllowCreate();
INT SetAuthnRequestNameIDPolicyUseAllowCreate(BOOL bAuthnRequestNameIDPolicyUseAllowCreate);
int secureblackbox_samlwriter_getauthnrequestnameidpolicyuseallowcreate(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestnameidpolicyuseallowcreate(void* lpObj, int bAuthnRequestNameIDPolicyUseAllowCreate);
bool GetAuthnRequestNameIDPolicyUseAllowCreate();
int SetAuthnRequestNameIDPolicyUseAllowCreate(bool bAuthnRequestNameIDPolicyUseAllowCreate);
Default Value
FALSE
Remarks
Controls inclusion of AllowCreate attribute in the request.
Use this property to check or specify whether the AllowCreate attribute is included in the authentication request.
This property is not available at design time.
Data Type
Boolean
AuthnRequestProtocolBinding Property (SAMLWriter Class)
Specifies the protocol binding to be requested in the authentication request.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestProtocolBinding();
int SetAuthnRequestProtocolBinding(const char* lpszAuthnRequestProtocolBinding); Unicode (Windows) LPWSTR GetAuthnRequestProtocolBinding();
INT SetAuthnRequestProtocolBinding(LPCWSTR lpszAuthnRequestProtocolBinding);
char* secureblackbox_samlwriter_getauthnrequestprotocolbinding(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestprotocolbinding(void* lpObj, const char* lpszAuthnRequestProtocolBinding);
QString GetAuthnRequestProtocolBinding();
int SetAuthnRequestProtocolBinding(QString qsAuthnRequestProtocolBinding);
Default Value
""
Remarks
Specifies the protocol binding to be requested in the authentication request.
Use this property to check or set the protocol binding to be used when responding to this request.
This property is not available at design time.
Data Type
String
AuthnRequestProviderName Property (SAMLWriter Class)
Specifies the name of the requestor.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestProviderName();
int SetAuthnRequestProviderName(const char* lpszAuthnRequestProviderName); Unicode (Windows) LPWSTR GetAuthnRequestProviderName();
INT SetAuthnRequestProviderName(LPCWSTR lpszAuthnRequestProviderName);
char* secureblackbox_samlwriter_getauthnrequestprovidername(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestprovidername(void* lpObj, const char* lpszAuthnRequestProviderName);
QString GetAuthnRequestProviderName();
int SetAuthnRequestProviderName(QString qsAuthnRequestProviderName);
Default Value
""
Remarks
Specifies the name of the requestor.
Use this property to read or set the name of the requestor.
This property is not available at design time.
Data Type
String
AuthnRequestScopingIDPListGetComplete Property (SAMLWriter Class)
Matches the GetComplete element of the IDPList entry of the Scoping object.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestScopingIDPListGetComplete();
int SetAuthnRequestScopingIDPListGetComplete(const char* lpszAuthnRequestScopingIDPListGetComplete); Unicode (Windows) LPWSTR GetAuthnRequestScopingIDPListGetComplete();
INT SetAuthnRequestScopingIDPListGetComplete(LPCWSTR lpszAuthnRequestScopingIDPListGetComplete);
char* secureblackbox_samlwriter_getauthnrequestscopingidplistgetcomplete(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestscopingidplistgetcomplete(void* lpObj, const char* lpszAuthnRequestScopingIDPListGetComplete);
QString GetAuthnRequestScopingIDPListGetComplete();
int SetAuthnRequestScopingIDPListGetComplete(QString qsAuthnRequestScopingIDPListGetComplete);
Default Value
""
Remarks
Matches the GetComplete element of the IDPList entry of the Scoping object.
Use this property to access or set the GetComplete element of the IDPList entry of the Scoping object of the authentication request. This property typically contains an URI that allows to retrieve a complete list of identity providers.
This property is not available at design time.
Data Type
String
AuthnRequestScopingProxyCount Property (SAMLWriter Class)
The maximum number of proxies on the way between the requestor and the provider.
Syntax
ANSI (Cross Platform) int GetAuthnRequestScopingProxyCount();
int SetAuthnRequestScopingProxyCount(int iAuthnRequestScopingProxyCount); Unicode (Windows) INT GetAuthnRequestScopingProxyCount();
INT SetAuthnRequestScopingProxyCount(INT iAuthnRequestScopingProxyCount);
int secureblackbox_samlwriter_getauthnrequestscopingproxycount(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestscopingproxycount(void* lpObj, int iAuthnRequestScopingProxyCount);
int GetAuthnRequestScopingProxyCount();
int SetAuthnRequestScopingProxyCount(int iAuthnRequestScopingProxyCount);
Default Value
0
Remarks
The maximum number of proxies on the way between the requestor and the provider.
Use this property to get or set the maximum number of intermediaries allowed between the requestor and the provider.
This property is not available at design time.
Data Type
Integer
AuthnRequestScopingRequesterIDs Property (SAMLWriter Class)
A collection of requestor IDs on whose behalf the request is being sent.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestScopingRequesterIDs();
int SetAuthnRequestScopingRequesterIDs(const char* lpszAuthnRequestScopingRequesterIDs); Unicode (Windows) LPWSTR GetAuthnRequestScopingRequesterIDs();
INT SetAuthnRequestScopingRequesterIDs(LPCWSTR lpszAuthnRequestScopingRequesterIDs);
char* secureblackbox_samlwriter_getauthnrequestscopingrequesterids(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestscopingrequesterids(void* lpObj, const char* lpszAuthnRequestScopingRequesterIDs);
QString GetAuthnRequestScopingRequesterIDs();
int SetAuthnRequestScopingRequesterIDs(QString qsAuthnRequestScopingRequesterIDs);
Default Value
""
Remarks
A collection of requestor IDs on whose behalf the request is being sent.
Use this property to specify or read the requestor IDs, in the form of CRLF-separated strings, on whose behalf the request is being sent.
This property is not available at design time.
Data Type
String
AuthnRequestUseForceAuthn Property (SAMLWriter Class)
Controls inclusion of ForceAuthn attribute in the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestUseForceAuthn();
int SetAuthnRequestUseForceAuthn(int bAuthnRequestUseForceAuthn); Unicode (Windows) BOOL GetAuthnRequestUseForceAuthn();
INT SetAuthnRequestUseForceAuthn(BOOL bAuthnRequestUseForceAuthn);
int secureblackbox_samlwriter_getauthnrequestuseforceauthn(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestuseforceauthn(void* lpObj, int bAuthnRequestUseForceAuthn);
bool GetAuthnRequestUseForceAuthn();
int SetAuthnRequestUseForceAuthn(bool bAuthnRequestUseForceAuthn);
Default Value
FALSE
Remarks
Controls inclusion of ForceAuthn attribute in the request.
Use this property to check or enable presence of the ForceAuthn attribute in the authentication request. Set this property to false to suppress inclusion of the attribute.
This property is not available at design time.
Data Type
Boolean
AuthnRequestUseIsPassive Property (SAMLWriter Class)
Controls inclusion of IsPassive attribute in the request.
Syntax
ANSI (Cross Platform) int GetAuthnRequestUseIsPassive();
int SetAuthnRequestUseIsPassive(int bAuthnRequestUseIsPassive); Unicode (Windows) BOOL GetAuthnRequestUseIsPassive();
INT SetAuthnRequestUseIsPassive(BOOL bAuthnRequestUseIsPassive);
int secureblackbox_samlwriter_getauthnrequestuseispassive(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestuseispassive(void* lpObj, int bAuthnRequestUseIsPassive);
bool GetAuthnRequestUseIsPassive();
int SetAuthnRequestUseIsPassive(bool bAuthnRequestUseIsPassive);
Default Value
FALSE
Remarks
Controls inclusion of IsPassive attribute in the request.
Use this property to check or enable presence of the IsPassive attribute in the authentication request. Set this property to false to suppress inclusion of the attribute.
This property is not available at design time.
Data Type
Boolean
AuthnRequestConditionCount Property (SAMLWriter Class)
The number of records in the AuthnRequestCondition arrays.
Syntax
ANSI (Cross Platform) int GetAuthnRequestConditionCount();
int SetAuthnRequestConditionCount(int iAuthnRequestConditionCount); Unicode (Windows) INT GetAuthnRequestConditionCount();
INT SetAuthnRequestConditionCount(INT iAuthnRequestConditionCount);
int secureblackbox_samlwriter_getauthnrequestconditioncount(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestconditioncount(void* lpObj, int iAuthnRequestConditionCount);
int GetAuthnRequestConditionCount();
int SetAuthnRequestConditionCount(int iAuthnRequestConditionCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AuthnRequestConditionAudienceList
- AuthnRequestConditionConditionType
- AuthnRequestConditionProxyRestrictionCount
- AuthnRequestConditionsNotBefore
- AuthnRequestConditionsNotOnOrAfter
The array indices start at 0 and end at AuthnRequestConditionCount - 1.
This property is not available at design time.
Data Type
Integer
AuthnRequestConditionAudienceList Property (SAMLWriter Class)
An accessor to the Audience list parameter of an audience restriction condition.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestConditionAudienceList(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionAudienceList(int iAuthnRequestConditionIndex, const char* lpszAuthnRequestConditionAudienceList); Unicode (Windows) LPWSTR GetAuthnRequestConditionAudienceList(INT iAuthnRequestConditionIndex);
INT SetAuthnRequestConditionAudienceList(INT iAuthnRequestConditionIndex, LPCWSTR lpszAuthnRequestConditionAudienceList);
char* secureblackbox_samlwriter_getauthnrequestconditionaudiencelist(void* lpObj, int authnrequestconditionindex);
int secureblackbox_samlwriter_setauthnrequestconditionaudiencelist(void* lpObj, int authnrequestconditionindex, const char* lpszAuthnRequestConditionAudienceList);
QString GetAuthnRequestConditionAudienceList(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionAudienceList(int iAuthnRequestConditionIndex, QString qsAuthnRequestConditionAudienceList);
Default Value
""
Remarks
An accessor to the Audience list parameter of an audience restriction condition.
Use this property to read or set a list of audiences included in the restriction. Each audience is represented by an URI. Provide multiple audiences by splitting them with CRLF separators.
The AuthnRequestConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestConditionCount property.
This property is not available at design time.
Data Type
String
AuthnRequestConditionConditionType Property (SAMLWriter Class)
Specifies a type of the condition object.
Syntax
ANSI (Cross Platform) int GetAuthnRequestConditionConditionType(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionConditionType(int iAuthnRequestConditionIndex, int iAuthnRequestConditionConditionType); Unicode (Windows) INT GetAuthnRequestConditionConditionType(INT iAuthnRequestConditionIndex);
INT SetAuthnRequestConditionConditionType(INT iAuthnRequestConditionIndex, INT iAuthnRequestConditionConditionType);
Possible Values
CSCT_AUDIENCE_RESTRICTION(0),
CSCT_ONE_TIME_USE(1),
CSCT_PROXY_RESTRICTION(2)
int secureblackbox_samlwriter_getauthnrequestconditionconditiontype(void* lpObj, int authnrequestconditionindex);
int secureblackbox_samlwriter_setauthnrequestconditionconditiontype(void* lpObj, int authnrequestconditionindex, int iAuthnRequestConditionConditionType);
int GetAuthnRequestConditionConditionType(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionConditionType(int iAuthnRequestConditionIndex, int iAuthnRequestConditionConditionType);
Default Value
0
Remarks
Specifies a type of the condition object.
Use this property to check or specify a type of the condition object. This can be either an audience restriction, a one time use limitation, or a proxy restriction.
The AuthnRequestConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestConditionCount property.
This property is not available at design time.
Data Type
Integer
AuthnRequestConditionProxyRestrictionCount Property (SAMLWriter Class)
An accessor to the proxy restriction count element of the condition.
Syntax
ANSI (Cross Platform) int GetAuthnRequestConditionProxyRestrictionCount(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionProxyRestrictionCount(int iAuthnRequestConditionIndex, int iAuthnRequestConditionProxyRestrictionCount); Unicode (Windows) INT GetAuthnRequestConditionProxyRestrictionCount(INT iAuthnRequestConditionIndex);
INT SetAuthnRequestConditionProxyRestrictionCount(INT iAuthnRequestConditionIndex, INT iAuthnRequestConditionProxyRestrictionCount);
int secureblackbox_samlwriter_getauthnrequestconditionproxyrestrictioncount(void* lpObj, int authnrequestconditionindex);
int secureblackbox_samlwriter_setauthnrequestconditionproxyrestrictioncount(void* lpObj, int authnrequestconditionindex, int iAuthnRequestConditionProxyRestrictionCount);
int GetAuthnRequestConditionProxyRestrictionCount(int iAuthnRequestConditionIndex);
int SetAuthnRequestConditionProxyRestrictionCount(int iAuthnRequestConditionIndex, int iAuthnRequestConditionProxyRestrictionCount);
Default Value
0
Remarks
An accessor to the proxy restriction count element of the condition.
Use this setting to access or set the value of the proxy restriction count condition.
The AuthnRequestConditionIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestConditionCount property.
This property is not available at design time.
Data Type
Integer
AuthnRequestScopingIDPCount Property (SAMLWriter Class)
The number of records in the AuthnRequestScopingIDP arrays.
Syntax
ANSI (Cross Platform) int GetAuthnRequestScopingIDPCount();
int SetAuthnRequestScopingIDPCount(int iAuthnRequestScopingIDPCount); Unicode (Windows) INT GetAuthnRequestScopingIDPCount();
INT SetAuthnRequestScopingIDPCount(INT iAuthnRequestScopingIDPCount);
int secureblackbox_samlwriter_getauthnrequestscopingidpcount(void* lpObj);
int secureblackbox_samlwriter_setauthnrequestscopingidpcount(void* lpObj, int iAuthnRequestScopingIDPCount);
int GetAuthnRequestScopingIDPCount();
int SetAuthnRequestScopingIDPCount(int iAuthnRequestScopingIDPCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- AuthnRequestScopingIDPListGetComplete
- AuthnRequestScopingIDPLoc
- AuthnRequestScopingIDPName
- AuthnRequestScopingIDPProviderID
The array indices start at 0 and end at AuthnRequestScopingIDPCount - 1.
This property is not available at design time.
Data Type
Integer
AuthnRequestScopingIDPLoc Property (SAMLWriter Class)
Contains the value of the Loc attribute.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestScopingIDPLoc(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPLoc(int iAuthnRequestScopingIDPIndex, const char* lpszAuthnRequestScopingIDPLoc); Unicode (Windows) LPWSTR GetAuthnRequestScopingIDPLoc(INT iAuthnRequestScopingIDPIndex);
INT SetAuthnRequestScopingIDPLoc(INT iAuthnRequestScopingIDPIndex, LPCWSTR lpszAuthnRequestScopingIDPLoc);
char* secureblackbox_samlwriter_getauthnrequestscopingidploc(void* lpObj, int authnrequestscopingidpindex);
int secureblackbox_samlwriter_setauthnrequestscopingidploc(void* lpObj, int authnrequestscopingidpindex, const char* lpszAuthnRequestScopingIDPLoc);
QString GetAuthnRequestScopingIDPLoc(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPLoc(int iAuthnRequestScopingIDPIndex, QString qsAuthnRequestScopingIDPLoc);
Default Value
""
Remarks
Contains the value of the Loc attribute.
Use this property to access or set the value of the Loc (location) attribute.
The AuthnRequestScopingIDPIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestScopingIDPCount property.
This property is not available at design time.
Data Type
String
AuthnRequestScopingIDPName Property (SAMLWriter Class)
Contains the name of the IdP provider.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestScopingIDPName(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPName(int iAuthnRequestScopingIDPIndex, const char* lpszAuthnRequestScopingIDPName); Unicode (Windows) LPWSTR GetAuthnRequestScopingIDPName(INT iAuthnRequestScopingIDPIndex);
INT SetAuthnRequestScopingIDPName(INT iAuthnRequestScopingIDPIndex, LPCWSTR lpszAuthnRequestScopingIDPName);
char* secureblackbox_samlwriter_getauthnrequestscopingidpname(void* lpObj, int authnrequestscopingidpindex);
int secureblackbox_samlwriter_setauthnrequestscopingidpname(void* lpObj, int authnrequestscopingidpindex, const char* lpszAuthnRequestScopingIDPName);
QString GetAuthnRequestScopingIDPName(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPName(int iAuthnRequestScopingIDPIndex, QString qsAuthnRequestScopingIDPName);
Default Value
""
Remarks
Contains the name of the IdP provider.
Use this property to retrieve or set the Name attribute of the IdP provider.
The AuthnRequestScopingIDPIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestScopingIDPCount property.
This property is not available at design time.
Data Type
String
AuthnRequestScopingIDPProviderID Property (SAMLWriter Class)
Contains the provider ID.
Syntax
ANSI (Cross Platform) char* GetAuthnRequestScopingIDPProviderID(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPProviderID(int iAuthnRequestScopingIDPIndex, const char* lpszAuthnRequestScopingIDPProviderID); Unicode (Windows) LPWSTR GetAuthnRequestScopingIDPProviderID(INT iAuthnRequestScopingIDPIndex);
INT SetAuthnRequestScopingIDPProviderID(INT iAuthnRequestScopingIDPIndex, LPCWSTR lpszAuthnRequestScopingIDPProviderID);
char* secureblackbox_samlwriter_getauthnrequestscopingidpproviderid(void* lpObj, int authnrequestscopingidpindex);
int secureblackbox_samlwriter_setauthnrequestscopingidpproviderid(void* lpObj, int authnrequestscopingidpindex, const char* lpszAuthnRequestScopingIDPProviderID);
QString GetAuthnRequestScopingIDPProviderID(int iAuthnRequestScopingIDPIndex);
int SetAuthnRequestScopingIDPProviderID(int iAuthnRequestScopingIDPIndex, QString qsAuthnRequestScopingIDPProviderID);
Default Value
""
Remarks
Contains the provider ID.
Use this property to read or set the identity provider ID.
The AuthnRequestScopingIDPIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AuthnRequestScopingIDPCount property.
This property is not available at design time.
Data Type
String
AuthzDecisionQueryActions Property (SAMLWriter Class)
Specifies the list of actions included in the query.
Syntax
ANSI (Cross Platform) char* GetAuthzDecisionQueryActions();
int SetAuthzDecisionQueryActions(const char* lpszAuthzDecisionQueryActions); Unicode (Windows) LPWSTR GetAuthzDecisionQueryActions();
INT SetAuthzDecisionQueryActions(LPCWSTR lpszAuthzDecisionQueryActions);
char* secureblackbox_samlwriter_getauthzdecisionqueryactions(void* lpObj);
int secureblackbox_samlwriter_setauthzdecisionqueryactions(void* lpObj, const char* lpszAuthzDecisionQueryActions);
QString GetAuthzDecisionQueryActions();
int SetAuthzDecisionQueryActions(QString qsAuthzDecisionQueryActions);
Default Value
""
Remarks
Specifies the list of actions included in the query.
Read or set this property to access the list of actions (as CRLF-separated strings) included in the query.
This property is not available at design time.
Data Type
String
AuthzDecisionQueryResource Property (SAMLWriter Class)
Matches the Resource element of the query.
Syntax
ANSI (Cross Platform) char* GetAuthzDecisionQueryResource();
int SetAuthzDecisionQueryResource(const char* lpszAuthzDecisionQueryResource); Unicode (Windows) LPWSTR GetAuthzDecisionQueryResource();
INT SetAuthzDecisionQueryResource(LPCWSTR lpszAuthzDecisionQueryResource);
char* secureblackbox_samlwriter_getauthzdecisionqueryresource(void* lpObj);
int secureblackbox_samlwriter_setauthzdecisionqueryresource(void* lpObj, const char* lpszAuthzDecisionQueryResource);
QString GetAuthzDecisionQueryResource();
int SetAuthzDecisionQueryResource(QString qsAuthzDecisionQueryResource);
Default Value
""
Remarks
Matches the Resource element of the query.
Use this property to read or set the Resource element of the authorization decision query.
This property is not available at design time.
Data Type
String
Binding Property (SAMLWriter Class)
Specifies the type of the binding to use.
Syntax
ANSI (Cross Platform) int GetBinding();
int SetBinding(int iBinding); Unicode (Windows) INT GetBinding();
INT SetBinding(INT iBinding);
Possible Values
CSBT_NONE(0),
CSBT_SOAP(1),
CSBT_PAOS(2),
CSBT_REDIRECT(3),
CSBT_POST(4),
CSBT_ARTIFACT(5)
int secureblackbox_samlwriter_getbinding(void* lpObj);
int secureblackbox_samlwriter_setbinding(void* lpObj, int iBinding);
int GetBinding();
int SetBinding(int iBinding);
Default Value
0
Remarks
Use this property to specify the binding type to use with the request.
Data Type
Integer
Consent Property (SAMLWriter Class)
Contains the Consent parameter of the request.
Syntax
ANSI (Cross Platform) char* GetConsent();
int SetConsent(const char* lpszConsent); Unicode (Windows) LPWSTR GetConsent();
INT SetConsent(LPCWSTR lpszConsent);
char* secureblackbox_samlwriter_getconsent(void* lpObj);
int secureblackbox_samlwriter_setconsent(void* lpObj, const char* lpszConsent);
QString GetConsent();
int SetConsent(QString qsConsent);
Default Value
""
Remarks
Use this property to specify the Consent parameter of the SAML entity.
This property is not available at design time.
Data Type
String
Destination Property (SAMLWriter Class)
Contains the Destination parameter of the SAML object.
Syntax
ANSI (Cross Platform) char* GetDestination();
int SetDestination(const char* lpszDestination); Unicode (Windows) LPWSTR GetDestination();
INT SetDestination(LPCWSTR lpszDestination);
char* secureblackbox_samlwriter_getdestination(void* lpObj);
int secureblackbox_samlwriter_setdestination(void* lpObj, const char* lpszDestination);
QString GetDestination();
int SetDestination(QString qsDestination);
Default Value
""
Remarks
Use this property to set the Destination parameter of the created SAML object.
This property is not available at design time.
Data Type
String
EncryptionCertBytes Property (SAMLWriter Class)
Returns the raw certificate data in DER format.
Syntax
ANSI (Cross Platform) int GetEncryptionCertBytes(char* &lpEncryptionCertBytes, int &lenEncryptionCertBytes); Unicode (Windows) INT GetEncryptionCertBytes(LPSTR &lpEncryptionCertBytes, INT &lenEncryptionCertBytes);
int secureblackbox_samlwriter_getencryptioncertbytes(void* lpObj, char** lpEncryptionCertBytes, int* lenEncryptionCertBytes);
QByteArray GetEncryptionCertBytes();
Remarks
Returns the raw certificate data in DER format.
This property is read-only and not available at design time.
Data Type
Byte Array
EncryptionCertHandle Property (SAMLWriter Class)
Allows to get or set a 'handle', a unique identifier of the underlying property object.
Syntax
ANSI (Cross Platform) int64 GetEncryptionCertHandle();
int SetEncryptionCertHandle(int64 lEncryptionCertHandle); Unicode (Windows) LONG64 GetEncryptionCertHandle();
INT SetEncryptionCertHandle(LONG64 lEncryptionCertHandle);
int64 secureblackbox_samlwriter_getencryptioncerthandle(void* lpObj);
int secureblackbox_samlwriter_setencryptioncerthandle(void* lpObj, int64 lEncryptionCertHandle);
qint64 GetEncryptionCertHandle();
int SetEncryptionCertHandle(qint64 lEncryptionCertHandle);
Default Value
0
Remarks
Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.
When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.
pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
This property is not available at design time.
Data Type
Long64
FIPSMode Property (SAMLWriter Class)
Reserved.
Syntax
ANSI (Cross Platform) int GetFIPSMode();
int SetFIPSMode(int bFIPSMode); Unicode (Windows) BOOL GetFIPSMode();
INT SetFIPSMode(BOOL bFIPSMode);
int secureblackbox_samlwriter_getfipsmode(void* lpObj);
int secureblackbox_samlwriter_setfipsmode(void* lpObj, int bFIPSMode);
bool GetFIPSMode();
int SetFIPSMode(bool bFIPSMode);
Default Value
FALSE
Remarks
This property is reserved for future use.
Data Type
Boolean
ID Property (SAMLWriter Class)
The ID of the request.
Syntax
ANSI (Cross Platform) char* GetID();
int SetID(const char* lpszID); Unicode (Windows) LPWSTR GetID();
INT SetID(LPCWSTR lpszID);
char* secureblackbox_samlwriter_getid(void* lpObj);
int secureblackbox_samlwriter_setid(void* lpObj, const char* lpszID);
QString GetID();
int SetID(QString qsID);
Default Value
""
Remarks
Use this property to specify the ID of the request.
This property is not available at design time.
Data Type
String
InResponseTo Property (SAMLWriter Class)
Contains the InResponseTo property of the SAML request.
Syntax
ANSI (Cross Platform) char* GetInResponseTo();
int SetInResponseTo(const char* lpszInResponseTo); Unicode (Windows) LPWSTR GetInResponseTo();
INT SetInResponseTo(LPCWSTR lpszInResponseTo);
char* secureblackbox_samlwriter_getinresponseto(void* lpObj);
int secureblackbox_samlwriter_setinresponseto(void* lpObj, const char* lpszInResponseTo);
QString GetInResponseTo();
int SetInResponseTo(QString qsInResponseTo);
Default Value
""
Remarks
Use this property to specify the ID of the message in response to which the current entity is provided.
This property is not available at design time.
Data Type
String
IssueInstant Property (SAMLWriter Class)
Contains request issuance timestamp.
Syntax
ANSI (Cross Platform) char* GetIssueInstant();
int SetIssueInstant(const char* lpszIssueInstant); Unicode (Windows) LPWSTR GetIssueInstant();
INT SetIssueInstant(LPCWSTR lpszIssueInstant);
char* secureblackbox_samlwriter_getissueinstant(void* lpObj);
int secureblackbox_samlwriter_setissueinstant(void* lpObj, const char* lpszIssueInstant);
QString GetIssueInstant();
int SetIssueInstant(QString qsIssueInstant);
Default Value
""
Remarks
Set this property to specify the time moment of the request formation. Leave it empty to use the current system time.
This property is not available at design time.
Data Type
String
Issuer Property (SAMLWriter Class)
Sets the issuer of the message.
Syntax
ANSI (Cross Platform) char* GetIssuer();
int SetIssuer(const char* lpszIssuer); Unicode (Windows) LPWSTR GetIssuer();
INT SetIssuer(LPCWSTR lpszIssuer);
char* secureblackbox_samlwriter_getissuer(void* lpObj);
int secureblackbox_samlwriter_setissuer(void* lpObj, const char* lpszIssuer);
QString GetIssuer();
int SetIssuer(QString qsIssuer);
Default Value
""
Remarks
Set this property to include the SAML ID of the issuer of the SAML message. A typical SAML ID is a string of semicolon-separated elements of one or more of the following elements:
- Format
- NameQualifier
- Value
- IDType
- SPNameQualifier
- SPProvidedID
writer.Issuer = "Value=https://saml.entity.org/resource;Format=urn:oasis:names:tc:SAML:2.0:nameid-format:entity;IDType=Issuer";
This property is not available at design time.
Data Type
String
LogoutRequestNameID Property (SAMLWriter Class)
Contains the value of the NameID parameter.
Syntax
ANSI (Cross Platform) char* GetLogoutRequestNameID();
int SetLogoutRequestNameID(const char* lpszLogoutRequestNameID); Unicode (Windows) LPWSTR GetLogoutRequestNameID();
INT SetLogoutRequestNameID(LPCWSTR lpszLogoutRequestNameID);
char* secureblackbox_samlwriter_getlogoutrequestnameid(void* lpObj);
int secureblackbox_samlwriter_setlogoutrequestnameid(void* lpObj, const char* lpszLogoutRequestNameID);
QString GetLogoutRequestNameID();
int SetLogoutRequestNameID(QString qsLogoutRequestNameID);
Default Value
""
Remarks
Contains the value of the NameID parameter.
Use this property to access or set the value of the NameID parameter of the request.
This property is not available at design time.
Data Type
String
LogoutRequestNotOnOrAfter Property (SAMLWriter Class)
Contains the value of the NotOnOrAfter parameter.
Syntax
ANSI (Cross Platform) char* GetLogoutRequestNotOnOrAfter();
int SetLogoutRequestNotOnOrAfter(const char* lpszLogoutRequestNotOnOrAfter); Unicode (Windows) LPWSTR GetLogoutRequestNotOnOrAfter();
INT SetLogoutRequestNotOnOrAfter(LPCWSTR lpszLogoutRequestNotOnOrAfter);
char* secureblackbox_samlwriter_getlogoutrequestnotonorafter(void* lpObj);
int secureblackbox_samlwriter_setlogoutrequestnotonorafter(void* lpObj, const char* lpszLogoutRequestNotOnOrAfter);
QString GetLogoutRequestNotOnOrAfter();
int SetLogoutRequestNotOnOrAfter(QString qsLogoutRequestNotOnOrAfter);
Default Value
""
Remarks
Contains the value of the NotOnOrAfter parameter.
Use this property to access or set the value of the NotOnOrAfter parameter.
This property is not available at design time.
Data Type
String
LogoutRequestReason Property (SAMLWriter Class)
Contains the value of the Reason parameter.
Syntax
ANSI (Cross Platform) char* GetLogoutRequestReason();
int SetLogoutRequestReason(const char* lpszLogoutRequestReason); Unicode (Windows) LPWSTR GetLogoutRequestReason();
INT SetLogoutRequestReason(LPCWSTR lpszLogoutRequestReason);
char* secureblackbox_samlwriter_getlogoutrequestreason(void* lpObj);
int secureblackbox_samlwriter_setlogoutrequestreason(void* lpObj, const char* lpszLogoutRequestReason);
QString GetLogoutRequestReason();
int SetLogoutRequestReason(QString qsLogoutRequestReason);
Default Value
""
Remarks
Contains the value of the Reason parameter.
Use this property to read or set the value of the Reason parameter.
This property is not available at design time.
Data Type
String
LogoutRequestSessionIndexes Property (SAMLWriter Class)
Contains the list of session indices.
Syntax
ANSI (Cross Platform) char* GetLogoutRequestSessionIndexes();
int SetLogoutRequestSessionIndexes(const char* lpszLogoutRequestSessionIndexes); Unicode (Windows) LPWSTR GetLogoutRequestSessionIndexes();
INT SetLogoutRequestSessionIndexes(LPCWSTR lpszLogoutRequestSessionIndexes);
char* secureblackbox_samlwriter_getlogoutrequestsessionindexes(void* lpObj);
int secureblackbox_samlwriter_setlogoutrequestsessionindexes(void* lpObj, const char* lpszLogoutRequestSessionIndexes);
QString GetLogoutRequestSessionIndexes();
int SetLogoutRequestSessionIndexes(QString qsLogoutRequestSessionIndexes);
Default Value
""
Remarks
Contains the list of session indices.
Use this property to access or set the list of session indices, as a CRLF-separated list of strings.
This property is not available at design time.
Data Type
String
ManageNameIDRequestNameID Property (SAMLWriter Class)
Contains the value of the NameID parameter of the request.
Syntax
ANSI (Cross Platform) char* GetManageNameIDRequestNameID();
int SetManageNameIDRequestNameID(const char* lpszManageNameIDRequestNameID); Unicode (Windows) LPWSTR GetManageNameIDRequestNameID();
INT SetManageNameIDRequestNameID(LPCWSTR lpszManageNameIDRequestNameID);
char* secureblackbox_samlwriter_getmanagenameidrequestnameid(void* lpObj);
int secureblackbox_samlwriter_setmanagenameidrequestnameid(void* lpObj, const char* lpszManageNameIDRequestNameID);
QString GetManageNameIDRequestNameID();
int SetManageNameIDRequestNameID(QString qsManageNameIDRequestNameID);
Default Value
""
Remarks
Contains the value of the NameID parameter of the request.
Use this property to read or set the value of the NameID parameter of the request.
This property is not available at design time.
Data Type
String
ManageNameIDRequestNewEncryptedID Property (SAMLWriter Class)
Contains the value of the NewEncryptedID parameter of the request.
Syntax
ANSI (Cross Platform) char* GetManageNameIDRequestNewEncryptedID();
int SetManageNameIDRequestNewEncryptedID(const char* lpszManageNameIDRequestNewEncryptedID); Unicode (Windows) LPWSTR GetManageNameIDRequestNewEncryptedID();
INT SetManageNameIDRequestNewEncryptedID(LPCWSTR lpszManageNameIDRequestNewEncryptedID);
char* secureblackbox_samlwriter_getmanagenameidrequestnewencryptedid(void* lpObj);
int secureblackbox_samlwriter_setmanagenameidrequestnewencryptedid(void* lpObj, const char* lpszManageNameIDRequestNewEncryptedID);
QString GetManageNameIDRequestNewEncryptedID();
int SetManageNameIDRequestNewEncryptedID(QString qsManageNameIDRequestNewEncryptedID);
Default Value
""
Remarks
Contains the value of the NewEncryptedID parameter of the request.
Use this property to check or set the value of the NewEncryptedID parameter of the request.
This property is not available at design time.
Data Type
String
ManageNameIDRequestNewID Property (SAMLWriter Class)
Contains the value of the NewID parameter.
Syntax
ANSI (Cross Platform) char* GetManageNameIDRequestNewID();
int SetManageNameIDRequestNewID(const char* lpszManageNameIDRequestNewID); Unicode (Windows) LPWSTR GetManageNameIDRequestNewID();
INT SetManageNameIDRequestNewID(LPCWSTR lpszManageNameIDRequestNewID);
char* secureblackbox_samlwriter_getmanagenameidrequestnewid(void* lpObj);
int secureblackbox_samlwriter_setmanagenameidrequestnewid(void* lpObj, const char* lpszManageNameIDRequestNewID);
QString GetManageNameIDRequestNewID();
int SetManageNameIDRequestNewID(QString qsManageNameIDRequestNewID);
Default Value
""
Remarks
Contains the value of the NewID parameter.
Use this property to access or set the NewID parameter of the request.
This property is not available at design time.
Data Type
String
ManageNameIDRequestTerminate Property (SAMLWriter Class)
Contains the value of the Terminate parameter of the request.
Syntax
ANSI (Cross Platform) char* GetManageNameIDRequestTerminate();
int SetManageNameIDRequestTerminate(const char* lpszManageNameIDRequestTerminate); Unicode (Windows) LPWSTR GetManageNameIDRequestTerminate();
INT SetManageNameIDRequestTerminate(LPCWSTR lpszManageNameIDRequestTerminate);
char* secureblackbox_samlwriter_getmanagenameidrequestterminate(void* lpObj);
int secureblackbox_samlwriter_setmanagenameidrequestterminate(void* lpObj, const char* lpszManageNameIDRequestTerminate);
QString GetManageNameIDRequestTerminate();
int SetManageNameIDRequestTerminate(QString qsManageNameIDRequestTerminate);
Default Value
""
Remarks
Contains the value of the Terminate parameter of the request.
Use this property to read or set the value of the Terminate parameter of the request.
This property is not available at design time.
Data Type
String
NameIDMappingRequestNameID Property (SAMLWriter Class)
An accessor to the NameID parameter of the request.
Syntax
ANSI (Cross Platform) char* GetNameIDMappingRequestNameID();
int SetNameIDMappingRequestNameID(const char* lpszNameIDMappingRequestNameID); Unicode (Windows) LPWSTR GetNameIDMappingRequestNameID();
INT SetNameIDMappingRequestNameID(LPCWSTR lpszNameIDMappingRequestNameID);
char* secureblackbox_samlwriter_getnameidmappingrequestnameid(void* lpObj);
int secureblackbox_samlwriter_setnameidmappingrequestnameid(void* lpObj, const char* lpszNameIDMappingRequestNameID);
QString GetNameIDMappingRequestNameID();
int SetNameIDMappingRequestNameID(QString qsNameIDMappingRequestNameID);
Default Value
""
Remarks
An accessor to the NameID parameter of the request.
Use this property to read or set the value of the NameID parameter of the request object.
This property is not available at design time.
Data Type
String
NameIDMappingRequestNameIDPolicyAllowCreate Property (SAMLWriter Class)
Contains the value of AllowCreate parameter of the NameIDPolicy object.
Syntax
ANSI (Cross Platform) int GetNameIDMappingRequestNameIDPolicyAllowCreate();
int SetNameIDMappingRequestNameIDPolicyAllowCreate(int bNameIDMappingRequestNameIDPolicyAllowCreate); Unicode (Windows) BOOL GetNameIDMappingRequestNameIDPolicyAllowCreate();
INT SetNameIDMappingRequestNameIDPolicyAllowCreate(BOOL bNameIDMappingRequestNameIDPolicyAllowCreate);
int secureblackbox_samlwriter_getnameidmappingrequestnameidpolicyallowcreate(void* lpObj);
int secureblackbox_samlwriter_setnameidmappingrequestnameidpolicyallowcreate(void* lpObj, int bNameIDMappingRequestNameIDPolicyAllowCreate);
bool GetNameIDMappingRequestNameIDPolicyAllowCreate();
int SetNameIDMappingRequestNameIDPolicyAllowCreate(bool bNameIDMappingRequestNameIDPolicyAllowCreate);
Default Value
FALSE
Remarks
Contains the value of AllowCreate parameter of the NameIDPolicy object.
Use this property to read or set the value of the AllowCreate parameter of the NameIDPolicy object. AllowCreate regulates whether the identity provider is given permission to create new subject identifiers.
This property is not available at design time.
Data Type
Boolean
NameIDMappingRequestNameIDPolicyFormat Property (SAMLWriter Class)
Specifies the format of the NameIDPolicy element.
Syntax
ANSI (Cross Platform) char* GetNameIDMappingRequestNameIDPolicyFormat();
int SetNameIDMappingRequestNameIDPolicyFormat(const char* lpszNameIDMappingRequestNameIDPolicyFormat); Unicode (Windows) LPWSTR GetNameIDMappingRequestNameIDPolicyFormat();
INT SetNameIDMappingRequestNameIDPolicyFormat(LPCWSTR lpszNameIDMappingRequestNameIDPolicyFormat);
char* secureblackbox_samlwriter_getnameidmappingrequestnameidpolicyformat(void* lpObj);
int secureblackbox_samlwriter_setnameidmappingrequestnameidpolicyformat(void* lpObj, const char* lpszNameIDMappingRequestNameIDPolicyFormat);
QString GetNameIDMappingRequestNameIDPolicyFormat();
int SetNameIDMappingRequestNameIDPolicyFormat(QString qsNameIDMappingRequestNameIDPolicyFormat);
Default Value
""
Remarks
Specifies the format of the NameIDPolicy element.
Use this property to set or read the value of the Format parameter of the NameIDPolicy object.
This property is not available at design time.
Data Type
String
NameIDMappingRequestNameIDPolicySPNameQualifier Property (SAMLWriter Class)
Contains the SPNameQualifier parameter of the NameIDPolicy element.
Syntax
ANSI (Cross Platform) char* GetNameIDMappingRequestNameIDPolicySPNameQualifier();
int SetNameIDMappingRequestNameIDPolicySPNameQualifier(const char* lpszNameIDMappingRequestNameIDPolicySPNameQualifier); Unicode (Windows) LPWSTR GetNameIDMappingRequestNameIDPolicySPNameQualifier();
INT SetNameIDMappingRequestNameIDPolicySPNameQualifier(LPCWSTR lpszNameIDMappingRequestNameIDPolicySPNameQualifier);
char* secureblackbox_samlwriter_getnameidmappingrequestnameidpolicyspnamequalifier(void* lpObj);
int secureblackbox_samlwriter_setnameidmappingrequestnameidpolicyspnamequalifier(void* lpObj, const char* lpszNameIDMappingRequestNameIDPolicySPNameQualifier);
QString GetNameIDMappingRequestNameIDPolicySPNameQualifier();
int SetNameIDMappingRequestNameIDPolicySPNameQualifier(QString qsNameIDMappingRequestNameIDPolicySPNameQualifier);
Default Value
""
Remarks
Contains the SPNameQualifier parameter of the NameIDPolicy element.
Use this property to specify or read the value of the SPNameQualifier parameter of the NameIDPolicy element of the request.
This property is not available at design time.
Data Type
String
NameIDMappingRequestNameIDPolicyUseAllowCreate Property (SAMLWriter Class)
Controls inclusion of UseAllow modifier in the NameIDPolicy object.
Syntax
ANSI (Cross Platform) int GetNameIDMappingRequestNameIDPolicyUseAllowCreate();
int SetNameIDMappingRequestNameIDPolicyUseAllowCreate(int bNameIDMappingRequestNameIDPolicyUseAllowCreate); Unicode (Windows) BOOL GetNameIDMappingRequestNameIDPolicyUseAllowCreate();
INT SetNameIDMappingRequestNameIDPolicyUseAllowCreate(BOOL bNameIDMappingRequestNameIDPolicyUseAllowCreate);
int secureblackbox_samlwriter_getnameidmappingrequestnameidpolicyuseallowcreate(void* lpObj);
int secureblackbox_samlwriter_setnameidmappingrequestnameidpolicyuseallowcreate(void* lpObj, int bNameIDMappingRequestNameIDPolicyUseAllowCreate);
bool GetNameIDMappingRequestNameIDPolicyUseAllowCreate();
int SetNameIDMappingRequestNameIDPolicyUseAllowCreate(bool bNameIDMappingRequestNameIDPolicyUseAllowCreate);
Default Value
FALSE
Remarks
Controls inclusion of UseAllow modifier in the NameIDPolicy object.
Use this property to include or exclude the UseAllow parameter from the NameIDPolicy object.
This property is not available at design time.
Data Type
Boolean
OutputType Property (SAMLWriter Class)
Returns the SAML type of message being created.
Syntax
ANSI (Cross Platform) int GetOutputType(); Unicode (Windows) INT GetOutputType();
Possible Values
CSTY_NONE(0),
CSTY_ASSERTION_IDREQUEST(1),
CSTY_SUBJECT_QUERY(2),
CSTY_AUTHN_QUERY(3),
CSTY_ATTRIBUTE_QUERY(4),
CSTY_AUTHZ_DECISION_QUERY(5),
CSTY_AUTHN_REQUEST(6),
CSTY_MANAGE_NAME_IDREQUEST(7),
CSTY_LOGOUT_REQUEST(8),
CSTY_NAME_IDMAPPING_REQUEST(9),
CSTY_ARTIFACT_RESOLVE(10),
CSTY_RESPONSE(11)
int secureblackbox_samlwriter_getoutputtype(void* lpObj);
int GetOutputType();
Default Value
0
Remarks
Use this property to check the type of SAML message being created. This is the same value that was passed to CreateNew call.
Depending on the assigned type, use properties of class to tune up the parameters of the chosen message type. For example, if setting OutputType to cstyAuthnQuery, use AuthnQuery property to adjust context class references or comparison settings.
This property is read-only and not available at design time.
Data Type
Integer
POSTBindingBody Property (SAMLWriter Class)
Contains the form body.
Syntax
ANSI (Cross Platform) char* GetPOSTBindingBody();
int SetPOSTBindingBody(const char* lpszPOSTBindingBody); Unicode (Windows) LPWSTR GetPOSTBindingBody();
INT SetPOSTBindingBody(LPCWSTR lpszPOSTBindingBody);
char* secureblackbox_samlwriter_getpostbindingbody(void* lpObj);
int secureblackbox_samlwriter_setpostbindingbody(void* lpObj, const char* lpszPOSTBindingBody);
QString GetPOSTBindingBody();
int SetPOSTBindingBody(QString qsPOSTBindingBody);
Default Value
""
Remarks
Contains the form body.
Use this property to read or set the body of the form returned by the service provider.
This property is not available at design time.
Data Type
String
POSTBindingFormTemplate Property (SAMLWriter Class)
Contains the XHTML form template returned by the service provider.
Syntax
ANSI (Cross Platform) char* GetPOSTBindingFormTemplate();
int SetPOSTBindingFormTemplate(const char* lpszPOSTBindingFormTemplate); Unicode (Windows) LPWSTR GetPOSTBindingFormTemplate();
INT SetPOSTBindingFormTemplate(LPCWSTR lpszPOSTBindingFormTemplate);
char* secureblackbox_samlwriter_getpostbindingformtemplate(void* lpObj);
int secureblackbox_samlwriter_setpostbindingformtemplate(void* lpObj, const char* lpszPOSTBindingFormTemplate);
QString GetPOSTBindingFormTemplate();
int SetPOSTBindingFormTemplate(QString qsPOSTBindingFormTemplate);
Default Value
""
Remarks
Contains the XHTML form template returned by the service provider.
Use this property to access or set the template of a POST form provided by the service provider.
This property is not available at design time.
Data Type
String
POSTBindingMode Property (SAMLWriter Class)
Specifies whether binding is applied on a server, or on a client side.
Syntax
ANSI (Cross Platform) int GetPOSTBindingMode();
int SetPOSTBindingMode(int iPOSTBindingMode); Unicode (Windows) INT GetPOSTBindingMode();
INT SetPOSTBindingMode(INT iPOSTBindingMode);
Possible Values
CSPM_CLIENT(0),
CSPM_SERVER(1)
int secureblackbox_samlwriter_getpostbindingmode(void* lpObj);
int secureblackbox_samlwriter_setpostbindingmode(void* lpObj, int iPOSTBindingMode);
int GetPOSTBindingMode();
int SetPOSTBindingMode(int iPOSTBindingMode);
Default Value
0
Remarks
Specifies whether binding is applied on a server, or on a client side.
Use this property to specify whether binding is used on the server or client side of the communication. The default value is cspmClient.
This property is not available at design time.
Data Type
Integer
POSTBindingRelayState Property (SAMLWriter Class)
Contains the value of the RelayState parameter of POST binding mechanism.
Syntax
ANSI (Cross Platform) char* GetPOSTBindingRelayState();
int SetPOSTBindingRelayState(const char* lpszPOSTBindingRelayState); Unicode (Windows) LPWSTR GetPOSTBindingRelayState();
INT SetPOSTBindingRelayState(LPCWSTR lpszPOSTBindingRelayState);
char* secureblackbox_samlwriter_getpostbindingrelaystate(void* lpObj);
int secureblackbox_samlwriter_setpostbindingrelaystate(void* lpObj, const char* lpszPOSTBindingRelayState);
QString GetPOSTBindingRelayState();
int SetPOSTBindingRelayState(QString qsPOSTBindingRelayState);
Default Value
""
Remarks
Contains the value of the RelayState parameter of POST binding mechanism.
Use this property to read or set the value of the RelayState parameter of the POST binding. RelayState contains an uninterpreted service-provider-originating state object, which should be passed back to it with any further requests.
This property is not available at design time.
Data Type
String
POSTBindingURL Property (SAMLWriter Class)
Contains the URL of POST binding mechanism.
Syntax
ANSI (Cross Platform) char* GetPOSTBindingURL();
int SetPOSTBindingURL(const char* lpszPOSTBindingURL); Unicode (Windows) LPWSTR GetPOSTBindingURL();
INT SetPOSTBindingURL(LPCWSTR lpszPOSTBindingURL);
char* secureblackbox_samlwriter_getpostbindingurl(void* lpObj);
int secureblackbox_samlwriter_setpostbindingurl(void* lpObj, const char* lpszPOSTBindingURL);
QString GetPOSTBindingURL();
int SetPOSTBindingURL(QString qsPOSTBindingURL);
Default Value
""
Remarks
Contains the URL of POST binding mechanism.
Use this property to check or set the URL of POST binding mechanism.
This property is not available at design time.
Data Type
String
Profile Property (SAMLWriter Class)
Specifies a pre-defined profile to apply when creating the signature.
Syntax
ANSI (Cross Platform) char* GetProfile();
int SetProfile(const char* lpszProfile); Unicode (Windows) LPWSTR GetProfile();
INT SetProfile(LPCWSTR lpszProfile);
char* secureblackbox_samlwriter_getprofile(void* lpObj);
int secureblackbox_samlwriter_setprofile(void* lpObj, const char* lpszProfile);
QString GetProfile();
int SetProfile(QString qsProfile);
Default Value
""
Remarks
Advanced signatures come in many variants, which are often defined by parties that needs to process them or by local standards. SecureBlackbox profiles are sets of pre-defined configurations which correspond to particular signature variants. By specifying a profile, you are pre-configuring the component to make it produce the signature that matches the configuration corresponding to that profile.
Data Type
String
RedirectBindingEncoding Property (SAMLWriter Class)
Specifies the message encoding.
Syntax
ANSI (Cross Platform) char* GetRedirectBindingEncoding();
int SetRedirectBindingEncoding(const char* lpszRedirectBindingEncoding); Unicode (Windows) LPWSTR GetRedirectBindingEncoding();
INT SetRedirectBindingEncoding(LPCWSTR lpszRedirectBindingEncoding);
char* secureblackbox_samlwriter_getredirectbindingencoding(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingencoding(void* lpObj, const char* lpszRedirectBindingEncoding);
QString GetRedirectBindingEncoding();
int SetRedirectBindingEncoding(QString qsRedirectBindingEncoding);
Default Value
""
Remarks
Specifies the message encoding.
Use this property to access or set the message encoding.
This property is not available at design time.
Data Type
String
RedirectBindingForceSign Property (SAMLWriter Class)
Enforces a signature over all outgoing messages.
Syntax
ANSI (Cross Platform) int GetRedirectBindingForceSign();
int SetRedirectBindingForceSign(int bRedirectBindingForceSign); Unicode (Windows) BOOL GetRedirectBindingForceSign();
INT SetRedirectBindingForceSign(BOOL bRedirectBindingForceSign);
int secureblackbox_samlwriter_getredirectbindingforcesign(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingforcesign(void* lpObj, int bRedirectBindingForceSign);
bool GetRedirectBindingForceSign();
int SetRedirectBindingForceSign(bool bRedirectBindingForceSign);
Default Value
FALSE
Remarks
Enforces a signature over all outgoing messages.
Use this property to enforce signing of all outgoing messages, independently of whether the original message was signed or not. See also RedirectBindingSign.
This property is not available at design time.
Data Type
Boolean
RedirectBindingRelayState Property (SAMLWriter Class)
Contains the RelayState parameter of the binding.
Syntax
ANSI (Cross Platform) char* GetRedirectBindingRelayState();
int SetRedirectBindingRelayState(const char* lpszRedirectBindingRelayState); Unicode (Windows) LPWSTR GetRedirectBindingRelayState();
INT SetRedirectBindingRelayState(LPCWSTR lpszRedirectBindingRelayState);
char* secureblackbox_samlwriter_getredirectbindingrelaystate(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingrelaystate(void* lpObj, const char* lpszRedirectBindingRelayState);
QString GetRedirectBindingRelayState();
int SetRedirectBindingRelayState(QString qsRedirectBindingRelayState);
Default Value
""
Remarks
Contains the RelayState parameter of the binding.
Use this property to access or set the RelayState parameter of the binding. This is an uninterpreted state string that should be passed back to the service provider with subsequent requests.
This property is not available at design time.
Data Type
String
RedirectBindingSign Property (SAMLWriter Class)
Specifies whether to sign generated messages.
Syntax
ANSI (Cross Platform) int GetRedirectBindingSign();
int SetRedirectBindingSign(int bRedirectBindingSign); Unicode (Windows) BOOL GetRedirectBindingSign();
INT SetRedirectBindingSign(BOOL bRedirectBindingSign);
int secureblackbox_samlwriter_getredirectbindingsign(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingsign(void* lpObj, int bRedirectBindingSign);
bool GetRedirectBindingSign();
int SetRedirectBindingSign(bool bRedirectBindingSign);
Default Value
FALSE
Remarks
Specifies whether to sign generated messages.
Use this property to enable or disable signing of generated binding entities. The SAML specification instructs that the binding should only be signed if the original XML was. This property therefore is only taken into account if the original XML was signed. With that in mind, certain service providers demand the binding to be signed at all times. Use RedirectBindingForceSign property to enforce signatures on all binding entities.
This property is not available at design time.
Data Type
Boolean
RedirectBindingSignatureAlgorithm Property (SAMLWriter Class)
Contains the signature algorithm.
Syntax
ANSI (Cross Platform) char* GetRedirectBindingSignatureAlgorithm();
int SetRedirectBindingSignatureAlgorithm(const char* lpszRedirectBindingSignatureAlgorithm); Unicode (Windows) LPWSTR GetRedirectBindingSignatureAlgorithm();
INT SetRedirectBindingSignatureAlgorithm(LPCWSTR lpszRedirectBindingSignatureAlgorithm);
char* secureblackbox_samlwriter_getredirectbindingsignaturealgorithm(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingsignaturealgorithm(void* lpObj, const char* lpszRedirectBindingSignatureAlgorithm);
QString GetRedirectBindingSignatureAlgorithm();
int SetRedirectBindingSignatureAlgorithm(QString qsRedirectBindingSignatureAlgorithm);
Default Value
""
Remarks
Contains the signature algorithm.
Use this property to get or set the signature algorithm. This corresponds to the SigAlg query string parameter, and contains the URI of the signature algorithm.
This property is not available at design time.
Data Type
String
RedirectBindingURL Property (SAMLWriter Class)
Contains the URL of the request query.
Syntax
ANSI (Cross Platform) char* GetRedirectBindingURL();
int SetRedirectBindingURL(const char* lpszRedirectBindingURL); Unicode (Windows) LPWSTR GetRedirectBindingURL();
INT SetRedirectBindingURL(LPCWSTR lpszRedirectBindingURL);
char* secureblackbox_samlwriter_getredirectbindingurl(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingurl(void* lpObj, const char* lpszRedirectBindingURL);
QString GetRedirectBindingURL();
int SetRedirectBindingURL(QString qsRedirectBindingURL);
Default Value
""
Remarks
Contains the URL of the request query.
Use this property to read or set the URL of the request query.
This property is not available at design time.
Data Type
String
RedirectBindingVerifySignatures Property (SAMLWriter Class)
Instructs the class whether to verify incoming signatures.
Syntax
ANSI (Cross Platform) int GetRedirectBindingVerifySignatures();
int SetRedirectBindingVerifySignatures(int bRedirectBindingVerifySignatures); Unicode (Windows) BOOL GetRedirectBindingVerifySignatures();
INT SetRedirectBindingVerifySignatures(BOOL bRedirectBindingVerifySignatures);
int secureblackbox_samlwriter_getredirectbindingverifysignatures(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingverifysignatures(void* lpObj, int bRedirectBindingVerifySignatures);
bool GetRedirectBindingVerifySignatures();
int SetRedirectBindingVerifySignatures(bool bRedirectBindingVerifySignatures);
Default Value
FALSE
Remarks
Instructs the component whether to verify incoming signatures.
Use this property to activate or deactivate verification of signatures in incoming requests.
This property is not available at design time.
Data Type
Boolean
RedirectBindingCertBytes Property (SAMLWriter Class)
Returns the raw certificate data in DER format.
Syntax
ANSI (Cross Platform) int GetRedirectBindingCertBytes(char* &lpRedirectBindingCertBytes, int &lenRedirectBindingCertBytes); Unicode (Windows) INT GetRedirectBindingCertBytes(LPSTR &lpRedirectBindingCertBytes, INT &lenRedirectBindingCertBytes);
int secureblackbox_samlwriter_getredirectbindingcertbytes(void* lpObj, char** lpRedirectBindingCertBytes, int* lenRedirectBindingCertBytes);
QByteArray GetRedirectBindingCertBytes();
Remarks
Returns the raw certificate data in DER format.
This property is read-only and not available at design time.
Data Type
Byte Array
RedirectBindingCertHandle Property (SAMLWriter Class)
Allows to get or set a 'handle', a unique identifier of the underlying property object.
Syntax
ANSI (Cross Platform) int64 GetRedirectBindingCertHandle();
int SetRedirectBindingCertHandle(int64 lRedirectBindingCertHandle); Unicode (Windows) LONG64 GetRedirectBindingCertHandle();
INT SetRedirectBindingCertHandle(LONG64 lRedirectBindingCertHandle);
int64 secureblackbox_samlwriter_getredirectbindingcerthandle(void* lpObj);
int secureblackbox_samlwriter_setredirectbindingcerthandle(void* lpObj, int64 lRedirectBindingCertHandle);
qint64 GetRedirectBindingCertHandle();
int SetRedirectBindingCertHandle(qint64 lRedirectBindingCertHandle);
Default Value
0
Remarks
Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.
When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.
pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
This property is not available at design time.
Data Type
Long64
ResponseNameID Property (SAMLWriter Class)
Contains the NameID parameter of a NameIDMapping response.
Syntax
ANSI (Cross Platform) char* GetResponseNameID();
int SetResponseNameID(const char* lpszResponseNameID); Unicode (Windows) LPWSTR GetResponseNameID();
INT SetResponseNameID(LPCWSTR lpszResponseNameID);
char* secureblackbox_samlwriter_getresponsenameid(void* lpObj);
int secureblackbox_samlwriter_setresponsenameid(void* lpObj, const char* lpszResponseNameID);
QString GetResponseNameID();
int SetResponseNameID(QString qsResponseNameID);
Default Value
""
Remarks
Contains the NameID parameter of a NameIDMapping response.
Use this property to read or set the NameID parameter of the NameIDMapping response.
This property is not available at design time.
Data Type
String
ResponseOptionalElement Property (SAMLWriter Class)
An optional message element to be returned with the response.
Syntax
ANSI (Cross Platform) char* GetResponseOptionalElement();
int SetResponseOptionalElement(const char* lpszResponseOptionalElement); Unicode (Windows) LPWSTR GetResponseOptionalElement();
INT SetResponseOptionalElement(LPCWSTR lpszResponseOptionalElement);
char* secureblackbox_samlwriter_getresponseoptionalelement(void* lpObj);
int secureblackbox_samlwriter_setresponseoptionalelement(void* lpObj, const char* lpszResponseOptionalElement);
QString GetResponseOptionalElement();
int SetResponseOptionalElement(QString qsResponseOptionalElement);
Default Value
""
Remarks
An optional message element to be returned with the response.
Use this property to access or set the optional XML element returned with the response.
This property is not available at design time.
Data Type
String
ResponseResponseType Property (SAMLWriter Class)
Contains the type of the response.
Syntax
ANSI (Cross Platform) int GetResponseResponseType();
int SetResponseResponseType(int iResponseResponseType); Unicode (Windows) INT GetResponseResponseType();
INT SetResponseResponseType(INT iResponseResponseType);
Possible Values
CSRT_RESPONSE(0),
CSRT_ARTIFACT_RESPONSE(1),
CSRT_NAME_IDMAPPING_RESPONSE(2)
int secureblackbox_samlwriter_getresponseresponsetype(void* lpObj);
int secureblackbox_samlwriter_setresponseresponsetype(void* lpObj, int iResponseResponseType);
int GetResponseResponseType();
int SetResponseResponseType(int iResponseResponseType);
Default Value
0
Remarks
Contains the type of the response.
Use this property to get or set the type of the SAML response.
This property is not available at design time.
Data Type
Integer
ResponseStatusCodeSubValue Property (SAMLWriter Class)
The value of the nested StatusCode.
Syntax
ANSI (Cross Platform) char* GetResponseStatusCodeSubValue();
int SetResponseStatusCodeSubValue(const char* lpszResponseStatusCodeSubValue); Unicode (Windows) LPWSTR GetResponseStatusCodeSubValue();
INT SetResponseStatusCodeSubValue(LPCWSTR lpszResponseStatusCodeSubValue);
char* secureblackbox_samlwriter_getresponsestatuscodesubvalue(void* lpObj);
int secureblackbox_samlwriter_setresponsestatuscodesubvalue(void* lpObj, const char* lpszResponseStatusCodeSubValue);
QString GetResponseStatusCodeSubValue();
int SetResponseStatusCodeSubValue(QString qsResponseStatusCodeSubValue);
Default Value
""
Remarks
The value of the nested StatusCode.
This property contains the value of the nested StatusCode element.
This property is not available at design time.
Data Type
String
ResponseStatusCodeValue Property (SAMLWriter Class)
Contains the status code value.
Syntax
ANSI (Cross Platform) char* GetResponseStatusCodeValue();
int SetResponseStatusCodeValue(const char* lpszResponseStatusCodeValue); Unicode (Windows) LPWSTR GetResponseStatusCodeValue();
INT SetResponseStatusCodeValue(LPCWSTR lpszResponseStatusCodeValue);
char* secureblackbox_samlwriter_getresponsestatuscodevalue(void* lpObj);
int secureblackbox_samlwriter_setresponsestatuscodevalue(void* lpObj, const char* lpszResponseStatusCodeValue);
QString GetResponseStatusCodeValue();
int SetResponseStatusCodeValue(QString qsResponseStatusCodeValue);
Default Value
""
Remarks
Contains the status code value.
Use this property to read or set one of the status codes defined by SAML specification, such as 'urn:oasis:names:tc:SAML:2.0:status:Success' or 'urn:oasis:names:tc:SAML:2.0:status:Requester'.
This property is not available at design time.
Data Type
String
ResponseStatusDetail Property (SAMLWriter Class)
Contains additional information on the status of the request.
Syntax
ANSI (Cross Platform) char* GetResponseStatusDetail();
int SetResponseStatusDetail(const char* lpszResponseStatusDetail); Unicode (Windows) LPWSTR GetResponseStatusDetail();
INT SetResponseStatusDetail(LPCWSTR lpszResponseStatusDetail);
char* secureblackbox_samlwriter_getresponsestatusdetail(void* lpObj);
int secureblackbox_samlwriter_setresponsestatusdetail(void* lpObj, const char* lpszResponseStatusDetail);
QString GetResponseStatusDetail();
int SetResponseStatusDetail(QString qsResponseStatusDetail);
Default Value
""
Remarks
Contains additional information on the status of the request.
The StatusDetail element contains additional request status information.
This property is not available at design time.
Data Type
String
ResponseStatusMessage Property (SAMLWriter Class)
Contains a status message (optional).
Syntax
ANSI (Cross Platform) char* GetResponseStatusMessage();
int SetResponseStatusMessage(const char* lpszResponseStatusMessage); Unicode (Windows) LPWSTR GetResponseStatusMessage();
INT SetResponseStatusMessage(LPCWSTR lpszResponseStatusMessage);
char* secureblackbox_samlwriter_getresponsestatusmessage(void* lpObj);
int secureblackbox_samlwriter_setresponsestatusmessage(void* lpObj, const char* lpszResponseStatusMessage);
QString GetResponseStatusMessage();
int SetResponseStatusMessage(QString qsResponseStatusMessage);
Default Value
""
Remarks
Contains a status message (optional).
This property specifies the status message which may, optionally, be returned to an operator.
This property is not available at design time.
Data Type
String
SigCanonicalizationMethod Property (SAMLWriter Class)
The canonicalization method to use in the signature.
Syntax
ANSI (Cross Platform) char* GetSigCanonicalizationMethod();
int SetSigCanonicalizationMethod(const char* lpszSigCanonicalizationMethod); Unicode (Windows) LPWSTR GetSigCanonicalizationMethod();
INT SetSigCanonicalizationMethod(LPCWSTR lpszSigCanonicalizationMethod);
char* secureblackbox_samlwriter_getsigcanonicalizationmethod(void* lpObj);
int secureblackbox_samlwriter_setsigcanonicalizationmethod(void* lpObj, const char* lpszSigCanonicalizationMethod);
QString GetSigCanonicalizationMethod();
int SetSigCanonicalizationMethod(QString qsSigCanonicalizationMethod);
Default Value
""
Remarks
The URI of the canonicalization method to use in the signature (e.g. http://www.w3.org/TR/xml-exc-c14n/)
Data Type
String
SigDigestMethod Property (SAMLWriter Class)
The digest method to use.
Syntax
ANSI (Cross Platform) char* GetSigDigestMethod();
int SetSigDigestMethod(const char* lpszSigDigestMethod); Unicode (Windows) LPWSTR GetSigDigestMethod();
INT SetSigDigestMethod(LPCWSTR lpszSigDigestMethod);
char* secureblackbox_samlwriter_getsigdigestmethod(void* lpObj);
int secureblackbox_samlwriter_setsigdigestmethod(void* lpObj, const char* lpszSigDigestMethod);
QString GetSigDigestMethod();
int SetSigDigestMethod(QString qsSigDigestMethod);
Default Value
""
Remarks
The URI of the digest method to use for signing, as defined in XMLDSIG or XMLENC: http://www.w3.org/2000/09/xmldsig#sha256.
Data Type
String
SigMethod Property (SAMLWriter Class)
The signature method to use.
Syntax
ANSI (Cross Platform) char* GetSigMethod();
int SetSigMethod(const char* lpszSigMethod); Unicode (Windows) LPWSTR GetSigMethod();
INT SetSigMethod(LPCWSTR lpszSigMethod);
char* secureblackbox_samlwriter_getsigmethod(void* lpObj);
int secureblackbox_samlwriter_setsigmethod(void* lpObj, const char* lpszSigMethod);
QString GetSigMethod();
int SetSigMethod(QString qsSigMethod);
Default Value
""
Remarks
The URI specifying the signature method to use for signing, for example http://www.w3.org/2001/04/xmldsig-more#rsa-sha256.
Data Type
String
Sign Property (SAMLWriter Class)
Specifies whether the created SAML message should be signed.
Syntax
ANSI (Cross Platform) int GetSign();
int SetSign(int bSign); Unicode (Windows) BOOL GetSign();
INT SetSign(BOOL bSign);
int secureblackbox_samlwriter_getsign(void* lpObj);
int secureblackbox_samlwriter_setsign(void* lpObj, int bSign);
bool GetSign();
int SetSign(bool bSign);
Default Value
FALSE
Remarks
Set this property to true to indicate that you want the created message to be signed.
This property is not available at design time.
Data Type
Boolean
SigningCertBytes Property (SAMLWriter Class)
Returns the raw certificate data in DER format.
Syntax
ANSI (Cross Platform) int GetSigningCertBytes(char* &lpSigningCertBytes, int &lenSigningCertBytes); Unicode (Windows) INT GetSigningCertBytes(LPSTR &lpSigningCertBytes, INT &lenSigningCertBytes);
int secureblackbox_samlwriter_getsigningcertbytes(void* lpObj, char** lpSigningCertBytes, int* lenSigningCertBytes);
QByteArray GetSigningCertBytes();
Remarks
Returns the raw certificate data in DER format.
This property is read-only and not available at design time.
Data Type
Byte Array
SigningCertHandle Property (SAMLWriter Class)
Allows to get or set a 'handle', a unique identifier of the underlying property object.
Syntax
ANSI (Cross Platform) int64 GetSigningCertHandle();
int SetSigningCertHandle(int64 lSigningCertHandle); Unicode (Windows) LONG64 GetSigningCertHandle();
INT SetSigningCertHandle(LONG64 lSigningCertHandle);
int64 secureblackbox_samlwriter_getsigningcerthandle(void* lpObj);
int secureblackbox_samlwriter_setsigningcerthandle(void* lpObj, int64 lSigningCertHandle);
qint64 GetSigningCertHandle();
int SetSigningCertHandle(qint64 lSigningCertHandle);
Default Value
0
Remarks
Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.
When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.
pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
This property is not available at design time.
Data Type
Long64
SigningChainCount Property (SAMLWriter Class)
The number of records in the SigningChain arrays.
Syntax
ANSI (Cross Platform) int GetSigningChainCount();
int SetSigningChainCount(int iSigningChainCount); Unicode (Windows) INT GetSigningChainCount();
INT SetSigningChainCount(INT iSigningChainCount);
int secureblackbox_samlwriter_getsigningchaincount(void* lpObj);
int secureblackbox_samlwriter_setsigningchaincount(void* lpObj, int iSigningChainCount);
int GetSigningChainCount();
int SetSigningChainCount(int iSigningChainCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
The array indices start at 0 and end at SigningChainCount - 1.
This property is not available at design time.
Data Type
Integer
SigningChainBytes Property (SAMLWriter Class)
Returns the raw certificate data in DER format.
Syntax
ANSI (Cross Platform) int GetSigningChainBytes(int iSigningChainIndex, char* &lpSigningChainBytes, int &lenSigningChainBytes); Unicode (Windows) INT GetSigningChainBytes(INT iSigningChainIndex, LPSTR &lpSigningChainBytes, INT &lenSigningChainBytes);
int secureblackbox_samlwriter_getsigningchainbytes(void* lpObj, int signingchainindex, char** lpSigningChainBytes, int* lenSigningChainBytes);
QByteArray GetSigningChainBytes(int iSigningChainIndex);
Remarks
Returns the raw certificate data in DER format.
The SigningChainIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SigningChainCount property.
This property is read-only and not available at design time.
Data Type
Byte Array
SigningChainHandle Property (SAMLWriter Class)
Allows to get or set a 'handle', a unique identifier of the underlying property object.
Syntax
ANSI (Cross Platform) int64 GetSigningChainHandle(int iSigningChainIndex);
int SetSigningChainHandle(int iSigningChainIndex, int64 lSigningChainHandle); Unicode (Windows) LONG64 GetSigningChainHandle(INT iSigningChainIndex);
INT SetSigningChainHandle(INT iSigningChainIndex, LONG64 lSigningChainHandle);
int64 secureblackbox_samlwriter_getsigningchainhandle(void* lpObj, int signingchainindex);
int secureblackbox_samlwriter_setsigningchainhandle(void* lpObj, int signingchainindex, int64 lSigningChainHandle);
qint64 GetSigningChainHandle(int iSigningChainIndex);
int SetSigningChainHandle(int iSigningChainIndex, qint64 lSigningChainHandle);
Default Value
0
Remarks
Allows to get or set a 'handle', a unique identifier of the underlying property object. Use this property to assign objects of the same type in a quicker manner, without copying them fieldwise.
When you pass a handle of one object to another, the source object is copied to the destination rather than assigned. It is safe to get rid of the original object after such operation.
pdfSigner.setSigningCertHandle(certMgr.getCertHandle());
The SigningChainIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SigningChainCount property.
This property is not available at design time.
Data Type
Long64
SubjectConfirmationCount Property (SAMLWriter Class)
The number of records in the SubjectConfirmation arrays.
Syntax
ANSI (Cross Platform) int GetSubjectConfirmationCount();
int SetSubjectConfirmationCount(int iSubjectConfirmationCount); Unicode (Windows) INT GetSubjectConfirmationCount();
INT SetSubjectConfirmationCount(INT iSubjectConfirmationCount);
int secureblackbox_samlwriter_getsubjectconfirmationcount(void* lpObj);
int secureblackbox_samlwriter_setsubjectconfirmationcount(void* lpObj, int iSubjectConfirmationCount);
int GetSubjectConfirmationCount();
int SetSubjectConfirmationCount(int iSubjectConfirmationCount);
Default Value
0
Remarks
This property controls the size of the following arrays:
- SubjectConfirmationDataAddress
- SubjectConfirmationDataInResponseTo
- SubjectConfirmationDataNotBefore
- SubjectConfirmationDataNotOnOrAfter
- SubjectConfirmationDataRecipient
- SubjectConfirmationDataType
- SubjectConfirmationID
- SubjectConfirmationMethod
The array indices start at 0 and end at SubjectConfirmationCount - 1.
This property is not available at design time.
Data Type
Integer
SubjectConfirmationDataAddress Property (SAMLWriter Class)
Contains the address enabled for presenting assertions.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataAddress(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataAddress(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataAddress); Unicode (Windows) LPWSTR GetSubjectConfirmationDataAddress(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataAddress(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataAddress);
char* secureblackbox_samlwriter_getsubjectconfirmationdataaddress(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdataaddress(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataAddress);
QString GetSubjectConfirmationDataAddress(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataAddress(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataAddress);
Default Value
""
Remarks
Contains the address enabled for presenting assertions.
Use this property to specify the network address or location from which the subject confirmation should be issued. This optional element can be used to restrict the possibilities of an attacker to steal the assertion and present it from another IP address.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationDataInResponseTo Property (SAMLWriter Class)
The ID of the SAML message in response to which the assertion is issued.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataInResponseTo(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataInResponseTo(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataInResponseTo); Unicode (Windows) LPWSTR GetSubjectConfirmationDataInResponseTo(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataInResponseTo(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataInResponseTo);
char* secureblackbox_samlwriter_getsubjectconfirmationdatainresponseto(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdatainresponseto(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataInResponseTo);
QString GetSubjectConfirmationDataInResponseTo(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataInResponseTo(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataInResponseTo);
Default Value
""
Remarks
The ID of the SAML message in response to which the assertion is issued.
This property specifies the ID of the SAML message in response to which the assertion is issued.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationDataNotBefore Property (SAMLWriter Class)
Time moment before which the subject cannot be confirmed.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataNotBefore(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataNotBefore(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataNotBefore); Unicode (Windows) LPWSTR GetSubjectConfirmationDataNotBefore(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataNotBefore(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataNotBefore);
char* secureblackbox_samlwriter_getsubjectconfirmationdatanotbefore(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdatanotbefore(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataNotBefore);
QString GetSubjectConfirmationDataNotBefore(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataNotBefore(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataNotBefore);
Default Value
""
Remarks
Time moment before which the subject cannot be confirmed.
This property specifies the time before which the subject cannot be confirmed.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationDataNotOnOrAfter Property (SAMLWriter Class)
Limits the time until which the subject can be confirmed.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataNotOnOrAfter(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataNotOnOrAfter(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataNotOnOrAfter); Unicode (Windows) LPWSTR GetSubjectConfirmationDataNotOnOrAfter(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataNotOnOrAfter(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataNotOnOrAfter);
char* secureblackbox_samlwriter_getsubjectconfirmationdatanotonorafter(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdatanotonorafter(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataNotOnOrAfter);
QString GetSubjectConfirmationDataNotOnOrAfter(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataNotOnOrAfter(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataNotOnOrAfter);
Default Value
""
Remarks
Limits the time until which the subject can be confirmed.
This property specifies the time on (or after) which the subject cannot be confirmed.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationDataRecipient Property (SAMLWriter Class)
The URI of the entity or the location of the resource to which the assertion should be presented.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataRecipient(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataRecipient(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataRecipient); Unicode (Windows) LPWSTR GetSubjectConfirmationDataRecipient(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataRecipient(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataRecipient);
char* secureblackbox_samlwriter_getsubjectconfirmationdatarecipient(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdatarecipient(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataRecipient);
QString GetSubjectConfirmationDataRecipient(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataRecipient(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataRecipient);
Default Value
""
Remarks
The URI of the entity or the location of the resource to which the assertion should be presented.
This property specifies The URI of the entity or the location of the resource to which the assertion should be presented.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationDataType Property (SAMLWriter Class)
The type of data contained in the confirmation.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationDataType(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataType(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationDataType); Unicode (Windows) LPWSTR GetSubjectConfirmationDataType(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationDataType(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationDataType);
char* secureblackbox_samlwriter_getsubjectconfirmationdatatype(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationdatatype(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationDataType);
QString GetSubjectConfirmationDataType(int iSubjectConfirmationIndex);
int SetSubjectConfirmationDataType(int iSubjectConfirmationIndex, QString qsSubjectConfirmationDataType);
Default Value
""
Remarks
The type of data contained in the confirmation.
Use this property to read or specify the type of confirmation data included in the object.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationID Property (SAMLWriter Class)
The identifier of the entity which can satisfy the subject confirmation requirements.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationID(int iSubjectConfirmationIndex);
int SetSubjectConfirmationID(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationID); Unicode (Windows) LPWSTR GetSubjectConfirmationID(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationID(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationID);
char* secureblackbox_samlwriter_getsubjectconfirmationid(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationid(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationID);
QString GetSubjectConfirmationID(int iSubjectConfirmationIndex);
int SetSubjectConfirmationID(int iSubjectConfirmationIndex, QString qsSubjectConfirmationID);
Default Value
""
Remarks
The identifier of the entity which can satisfy the subject confirmation requirements.
This property specifies the identifier of the entity which is expected to satisfy the subject confirmation requirements.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectConfirmationMethod Property (SAMLWriter Class)
Specifies the mechanism to be used to confirm the subject.
Syntax
ANSI (Cross Platform) char* GetSubjectConfirmationMethod(int iSubjectConfirmationIndex);
int SetSubjectConfirmationMethod(int iSubjectConfirmationIndex, const char* lpszSubjectConfirmationMethod); Unicode (Windows) LPWSTR GetSubjectConfirmationMethod(INT iSubjectConfirmationIndex);
INT SetSubjectConfirmationMethod(INT iSubjectConfirmationIndex, LPCWSTR lpszSubjectConfirmationMethod);
char* secureblackbox_samlwriter_getsubjectconfirmationmethod(void* lpObj, int subjectconfirmationindex);
int secureblackbox_samlwriter_setsubjectconfirmationmethod(void* lpObj, int subjectconfirmationindex, const char* lpszSubjectConfirmationMethod);
QString GetSubjectConfirmationMethod(int iSubjectConfirmationIndex);
int SetSubjectConfirmationMethod(int iSubjectConfirmationIndex, QString qsSubjectConfirmationMethod);
Default Value
""
Remarks
Specifies the mechanism to be used to confirm the subject.
This property contains a URI reference that identifies the mechanism to be used to confirm the subject.
The SubjectConfirmationIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SubjectConfirmationCount property.
This property is not available at design time.
Data Type
String
SubjectID Property (SAMLWriter Class)
Sets the subject of the message.
Syntax
ANSI (Cross Platform) char* GetSubjectID();
int SetSubjectID(const char* lpszSubjectID); Unicode (Windows) LPWSTR GetSubjectID();
INT SetSubjectID(LPCWSTR lpszSubjectID);
char* secureblackbox_samlwriter_getsubjectid(void* lpObj);
int secureblackbox_samlwriter_setsubjectid(void* lpObj, const char* lpszSubjectID);
QString GetSubjectID();
int SetSubjectID(QString qsSubjectID);
Default Value
""
Remarks
Use this property to set the SAML ID of the message subject.
This property is not available at design time.
Data Type
String
Version Property (SAMLWriter Class)
Specifies the protocol version of the SAML message.
Syntax
ANSI (Cross Platform) char* GetVersion();
int SetVersion(const char* lpszVersion); Unicode (Windows) LPWSTR GetVersion();
INT SetVersion(LPCWSTR lpszVersion);
char* secureblackbox_samlwriter_getversion(void* lpObj);
int secureblackbox_samlwriter_setversion(void* lpObj, const char* lpszVersion);
QString GetVersion();
int SetVersion(QString qsVersion);
Default Value
"2.0"
Remarks
Use this property to change the SAML version that the message complies to. This is set to 2.0 by default, and rarely needs to change.
This property is not available at design time.
Data Type
String
AddAdviceAssertion Method (SAMLWriter Class)
Adds an advice assertion to the message.
Syntax
ANSI (Cross Platform) int AddAdviceAssertion(int iAssertionIndex); Unicode (Windows) INT AddAdviceAssertion(INT iAssertionIndex);
int secureblackbox_samlwriter_addadviceassertion(void* lpObj, int iAssertionIndex);
int AddAdviceAssertion(int iAssertionIndex);
Remarks
Use this method to add an advice assertion to a SAML assertion message. Provide the index of the assertion via AssertionIndex parameter.
This method returns the index of the newly added advice assertion in the list.
Error Handling (C++)
This method returns an Integer value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
AddAssertion Method (SAMLWriter Class)
Adds assertion to a SAML message.
Syntax
ANSI (Cross Platform) int AddAssertion(); Unicode (Windows) INT AddAssertion();
int secureblackbox_samlwriter_addassertion(void* lpObj);
int AddAssertion();
Remarks
Use this method to add an assertion to the SAML message being created. The assertion details to add are taken from the components AssertionXXX properties, such as AssertionInfo AssertionStatements, or AssertionAttributes.
The method returns the index of the new assertion in the list.
Error Handling (C++)
This method returns an Integer value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
ClearAssertion Method (SAMLWriter Class)
Resets the contents of all assertion-related properties.
Syntax
ANSI (Cross Platform) int ClearAssertion(); Unicode (Windows) INT ClearAssertion();
int secureblackbox_samlwriter_clearassertion(void* lpObj);
int ClearAssertion();
Remarks
Use this method to clear the contents of all assertion-related properties, such as AssertionAttributes, to clean up the assertion settings when preparing the component for adding a new assertion.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
CompareIDs Method (SAMLWriter Class)
Compares two SAML IDs.
Syntax
ANSI (Cross Platform) int CompareIDs(const char* lpszID1, const char* lpszID2); Unicode (Windows) INT CompareIDs(LPCWSTR lpszID1, LPCWSTR lpszID2);
int secureblackbox_samlwriter_compareids(void* lpObj, const char* lpszID1, const char* lpszID2);
bool CompareIDs(const QString& qsID1, const QString& qsID2);
Remarks
This utility method compares two SAML identifiers for equality.
Error Handling (C++)
This method returns a Boolean value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
Config Method (SAMLWriter Class)
Sets or retrieves a configuration setting.
Syntax
ANSI (Cross Platform) char* Config(const char* lpszConfigurationString); Unicode (Windows) LPWSTR Config(LPCWSTR lpszConfigurationString);
char* secureblackbox_samlwriter_config(void* lpObj, const char* lpszConfigurationString);
QString Config(const QString& qsConfigurationString);
Remarks
Config is a generic method available in every class. It is used to set and retrieve configuration settings for the class.
These settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.
To set a configuration setting named PROPERTY, you must call Config("PROPERTY=VALUE"), where VALUE is the value of the setting expressed as a string. For boolean values, use the strings "True", "False", "0", "1", "Yes", or "No" (case does not matter).
To read (query) the value of a configuration setting, you must call Config("PROPERTY"). The value will be returned as a string.
Error Handling (C++)
This method returns a String value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
CreateNew Method (SAMLWriter Class)
Creates a new SAML message with the given type.
Syntax
ANSI (Cross Platform) int CreateNew(int iOutputType); Unicode (Windows) INT CreateNew(INT iOutputType);
int secureblackbox_samlwriter_createnew(void* lpObj, int iOutputType);
int CreateNew(int iOutputType);
Remarks
Use this method to create a new SAML message with the specified content type. The following values are supported:
- cstyNone (0)
- cstyAssertionIDRequest (1)
- cstySubjectQuery (2)
- cstyAuthnQuery (3)
- cstyAttributeQuery (4)
- cstyAuthzDecisionQuery (5)
- cstyAuthnRequest (6)
- cstyManageNameIDRequest (7)
- cstyLogoutRequest (8)
- cstyNameIDMappingRequest (9)
- cstyArtifactResolve (10)
- cstyResponse (11)
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
DoAction Method (SAMLWriter Class)
Performs an additional action.
Syntax
ANSI (Cross Platform) char* DoAction(const char* lpszActionID, const char* lpszActionParams); Unicode (Windows) LPWSTR DoAction(LPCWSTR lpszActionID, LPCWSTR lpszActionParams);
char* secureblackbox_samlwriter_doaction(void* lpObj, const char* lpszActionID, const char* lpszActionParams);
QString DoAction(const QString& qsActionID, const QString& qsActionParams);
Remarks
DoAction is a generic method available in every class. It is used to perform an additional action introduced after the product major release. The list of actions is not fixed, and may be flexibly extended over time.
The unique identifier (case insensitive) of the action is provided in the ActionID parameter.
ActionParams contains the value of a single parameter, or a list of multiple parameters for the action in the form of PARAM1=VALUE1;PARAM2=VALUE2;....
Error Handling (C++)
This method returns a String value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
GetIDProp Method (SAMLWriter Class)
Returns an element of the SAML ID.
Syntax
ANSI (Cross Platform) char* GetIDProp(const char* lpszID, const char* lpszPropName); Unicode (Windows) LPWSTR GetIDProp(LPCWSTR lpszID, LPCWSTR lpszPropName);
char* secureblackbox_samlwriter_getidprop(void* lpObj, const char* lpszID, const char* lpszPropName);
QString GetIDProp(const QString& qsID, const QString& qsPropName);
Remarks
This is a utility method that simplifies retrieval of a specific property within a SAML ID. Pass the name of the ID property to the PropName parameter, and the ID to the ID parameter.
The following ID properties are supported:
- Format
- NameQualifier
- IDType
- SPNameQualifier
- SPProvidedID
- Value
Error Handling (C++)
This method returns a String value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
RemoveAdvice Method (SAMLWriter Class)
Removes an advice from an assertion.
Syntax
ANSI (Cross Platform) int RemoveAdvice(int iAssertionIndex); Unicode (Windows) INT RemoveAdvice(INT iAssertionIndex);
int secureblackbox_samlwriter_removeadvice(void* lpObj, int iAssertionIndex);
int RemoveAdvice(int iAssertionIndex);
Remarks
Use this method to remove an advice from an assertion. Pass the assertion index via the AssertionIndex parameter.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
RemoveAdviceAssertion Method (SAMLWriter Class)
Removes an advice from an assertion.
Syntax
ANSI (Cross Platform) int RemoveAdviceAssertion(int iAssertionIndex, int iAdviceAssertionIndex); Unicode (Windows) INT RemoveAdviceAssertion(INT iAssertionIndex, INT iAdviceAssertionIndex);
int secureblackbox_samlwriter_removeadviceassertion(void* lpObj, int iAssertionIndex, int iAdviceAssertionIndex);
int RemoveAdviceAssertion(int iAssertionIndex, int iAdviceAssertionIndex);
Remarks
Use this method to remove an advice assertion from an assertion.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
RemoveAllAssertions Method (SAMLWriter Class)
Removes all assertions currently configured in the message.
Syntax
ANSI (Cross Platform) int RemoveAllAssertions(); Unicode (Windows) INT RemoveAllAssertions();
int secureblackbox_samlwriter_removeallassertions(void* lpObj);
int RemoveAllAssertions();
Remarks
Use this message to remove all assertions currently set up in the SAML message.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
RemoveAssertion Method (SAMLWriter Class)
Removes an assertion from the message.
Syntax
ANSI (Cross Platform) int RemoveAssertion(int iAssertionIndex); Unicode (Windows) INT RemoveAssertion(INT iAssertionIndex);
int secureblackbox_samlwriter_removeassertion(void* lpObj, int iAssertionIndex);
int RemoveAssertion(int iAssertionIndex);
Remarks
Use this message to remove an assertion from a SAML message. Pass the assertion index as a parameter.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
Save Method (SAMLWriter Class)
Saves the configured message to a string.
Syntax
ANSI (Cross Platform) char* Save(); Unicode (Windows) LPWSTR Save();
char* secureblackbox_samlwriter_save(void* lpObj);
QString Save();
Remarks
Use this method to save the created SAML message to a string.
Error Handling (C++)
This method returns a String value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
SaveBytes Method (SAMLWriter Class)
Saves the configured message to a byte array.
Syntax
ANSI (Cross Platform) char* SaveBytes(int *lpSize = NULL); Unicode (Windows) LPSTR SaveBytes(LPINT lpSize = NULL);
char* secureblackbox_samlwriter_savebytes(void* lpObjint *lpSize);
QByteArray SaveBytes();
Remarks
Use this method to save the formed SAML message to a byte array.
Error Handling (C++)
This method returns a Byte Array value (with length lpSize); after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.
SaveFile Method (SAMLWriter Class)
Saves the configured message to a file.
Syntax
ANSI (Cross Platform) int SaveFile(const char* lpszFileName); Unicode (Windows) INT SaveFile(LPCWSTR lpszFileName);
int secureblackbox_samlwriter_savefile(void* lpObj, const char* lpszFileName);
int SaveFile(const QString& qsFileName);
Remarks
Use this method to save the created SAML message to a file.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
SaveStream Method (SAMLWriter Class)
Saves the configured message to a stream.
Syntax
ANSI (Cross Platform) int SaveStream(SecureBlackboxStream* sOutStream); Unicode (Windows) INT SaveStream(SecureBlackboxStream* sOutStream);
int secureblackbox_samlwriter_savestream(void* lpObj, SecureBlackboxStream* sOutStream);
int SaveStream(SecureBlackboxStream* sOutStream);
Remarks
Use this method to save the prepared SAML message to a stream.
Error Handling (C++)
This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)
Error Event (SAMLWriter Class)
Fires to report an error condition.
Syntax
ANSI (Cross Platform) virtual int FireError(SAMLWriterErrorEventParams *e);
typedef struct {
int ErrorCode;
const char *Description; int reserved; } SAMLWriterErrorEventParams;
Unicode (Windows) virtual INT FireError(SAMLWriterErrorEventParams *e);
typedef struct {
INT ErrorCode;
LPCWSTR Description; INT reserved; } SAMLWriterErrorEventParams;
#define EID_SAMLWRITER_ERROR 1 virtual INT SECUREBLACKBOX_CALL FireError(INT &iErrorCode, LPSTR &lpszDescription);
class SAMLWriterErrorEventParams { public: int ErrorCode(); const QString &Description(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Error(SAMLWriterErrorEventParams *e);
// Or, subclass SAMLWriter and override this emitter function. virtual int FireError(SAMLWriterErrorEventParams *e) {...}
Remarks
Subscribe to this event to be notified about any error conditions occurring during the component's work. ErrorCode and Description provide the details of the error.
Notification Event (SAMLWriter Class)
This event notifies the application about an underlying control flow event.
Syntax
ANSI (Cross Platform) virtual int FireNotification(SAMLWriterNotificationEventParams *e);
typedef struct {
const char *EventID;
const char *EventParam; int reserved; } SAMLWriterNotificationEventParams;
Unicode (Windows) virtual INT FireNotification(SAMLWriterNotificationEventParams *e);
typedef struct {
LPCWSTR EventID;
LPCWSTR EventParam; INT reserved; } SAMLWriterNotificationEventParams;
#define EID_SAMLWRITER_NOTIFICATION 2 virtual INT SECUREBLACKBOX_CALL FireNotification(LPSTR &lpszEventID, LPSTR &lpszEventParam);
class SAMLWriterNotificationEventParams { public: const QString &EventID(); const QString &EventParam(); int EventRetVal(); void SetEventRetVal(int iRetVal); };
// To handle, connect one or more slots to this signal. void Notification(SAMLWriterNotificationEventParams *e);
// Or, subclass SAMLWriter and override this emitter function. virtual int FireNotification(SAMLWriterNotificationEventParams *e) {...}
Remarks
The class fires this event to let the application know about some event, occurrence, or milestone in the class. For example, it may fire to report completion of the document processing. The list of events being reported is not fixed, and may be flexibly extended over time.
The unique identifier of the event is provided in the EventID parameter. EventParam contains any parameters accompanying the occurrence. Depending on the type of the class, the exact action it is performing, or the document being processed, one or both may be omitted.
SecureBlackboxStream Type
Syntax
SecureBlackboxStream (declared in secureblackbox.h)
Remarks
The SAMLWriter class includes one or more API members that take a stream object as a parameter. To use such API members, create a concrete class that implements the SecureBlackboxStream interface and pass the SAMLWriter class an instance of that concrete class.
When implementing the SecureBlackboxStream interface's properties and methods, they must behave as described below. If the concrete class's implementation does not behave as expected, undefined behavior may occur.
Config Settings (SAMLWriter Class)
The class accepts one or more of the following configuration settings. Configuration settings are similar in functionality to properties, but they are rarely used. In order to avoid "polluting" the property namespace of the class, access to these internal properties is provided through the Config method.SAMLWriter Config Settings
Specifies whether, during chain validation, the class should respect the trust to CA certificates as configured in the operating system. In Windows this effectively defines whether the class should trust the certificates residing in the Trusted Root Certification Authorities store.
If IgnoreSystemTrust is True, certificates residing in the trusted root store are treated as if they are known, rather than trusted. Only certificates provided via other means (such as the TrustedCertificates property) are considered trusted.
Use this setting to tune up the location of the signature tag in the resulting document. The default value is true.
This parameter controls whether the chain validator should tolerate minor technical issues when validating the chain. Those are:
- CA, revocation source, TLS key usage requirements are not mandated
- Violation of OCSP issuer requirements are ignored
- The AuthorityKeyID extension in CRL- and certificate-issuing CAs are ignored (helps with incorrectly renewed certificates)
- Basic constraints and name constraints of CA certificates are ignored
- Some weaker algorithms are tolerated
Enable this property to make the chain validation module automatically look up missing CA certificates in the public Windows Update repository.
Use this property to tell the chain validation module to automatically look up missing CA certificates in the system certificates. In many cases it is beneficial to switch this property on, as the operating system certificate configuration provides a representative trust framework.
Base Config Settings
This global property enables or disables private key material check before each signing operation. This slows down performance a bit, but prevents a selection of attacks on RSA keys where keys with unknown origins are used.
You can switch this property off to improve performance if your project only uses known, good private keys.
Set this property to enable or disable cookies caching for the class.
Supported values are:
off | No caching (default) | |
local | Local caching | |
global | Global caching |
Use this property to get cookies from the internal cookie storage of the class and/or restore them back between application sessions.
This global property sets the default number of iterations for all supported key derivation algorithms. Note that you can provide the required number of iterations by using properties of the relevant key generation component; this global setting is used in scenarios where specific iteration count is not or cannot be provided.
This global property enables or disables support for finite field DHE key exchange methods in TLS clients. FF DHE is a slower algorithm if compared to EC DHE; enabling it may result in slower connections.
This setting only applies to sessions negotiated with TLS version 1.3.
Use this property to get cookies from the GLOBAL cookie storage or restore them back between application sessions. These cookies will be used by all the classes that have its CookieCaching property set to "global".
This global setting defines the User-Agent field of the HTTP request provides information about the software that initiates the request. This value will be used by all the HTTP clients including the ones used internally in other classes.
Contains a comma-separated list of values that specifies where debug log should be dumped.
Supported values are:
file | File | |
console | Console | |
systemlog | System Log (supported for Android only) | |
debugger | Debugger (supported for VCL for Windows and .Net) |
Contains a comma-separated list of values that specifies which debug log details to dump.
Supported values are:
time | Current time | |
level | Level | |
package | Package name | |
module | Module name | |
class | Class name | |
method | Method name | |
threadid | Thread Id | |
contenttype | Content type | |
content | Content | |
all | All details |
Use this property to provide a path to the log file.
Contains a comma-separated list of value pairs ("name:value") that describe filters.
Supported filter names are:
exclude-package | Exclude a package specified in the value | |
exclude-module | Exclude a module specified in the value | |
exclude-class | Exclude a class specified in the value | |
exclude-method | Exclude a method specified in the value | |
include-package | Include a package specified in the value | |
include-module | Include a module specified in the value | |
include-class | Include a class specified in the value | |
include-method | Include a method specified in the value |
Use this property to set the log flush mode. The following values are defined:
none | No flush (caching only) | |
immediate | Immediate flush (real-time logging) | |
maxcount | Flush cached entries upon reaching LogMaxEventCount entries in the cache. |
Use this property to provide the desired debug log level.
Supported values are:
none | None (by default) | |
fatal | Severe errors that cause premature termination. | |
error | Other runtime errors or unexpected conditions. | |
warning | Use of deprecated APIs, poor use of API, 'almost' errors, other runtime situations that are undesirable or unexpected, but not necessarily "wrong". | |
info | Interesting runtime events (startup/shutdown). | |
debug | Detailed information on flow of through the system. | |
trace | More detailed information. |
Use this property to specify the log event number threshold. This threshold may have different effects, depending on the rotation setting and/or the flush mode.
The default value of this setting is 100.
Use this property to set the log rotation mode. The following values are defined:
none | No rotation | |
deleteolder | Delete older entries from the cache upon reaching LogMaxEventCount | |
keepolder | Keep older entries in the cache upon reaching LogMaxEventCount (newer entries are discarded) |
This global property limits the maximal allowed length for ASN.1 tag data for non-content-carrying structures, such as certificates, CRLs, or timestamps. It does not affect structures that can carry content, such as CMS/CAdES messages. This is a security property aiming at preventing DoS attacks.
This global property limits the maximal depth of ASN.1 trees that the component can handle without throwing an error. This is a security property aiming at preventing DoS attacks.
This global setting defines the hash algorithm to use in OCSP requests during chain validation. Some OCSP responders can only use older algorithms, in which case setting this property to SHA1 may be helpful.
Set this property to enable or disable static DNS rules for the class. Works only if UseOwnDNSResolver is set to true.
Supported values are:
none | No static DNS rules (default) | |
local | Local static DNS rules | |
global | Global static DNS rules |
Use this property to get or set an IP address for the specified domain name in the internal (of the class) or global DNS rules storage depending on the StaticDNS value. The type of the IP address (IPv4 or IPv6) is determined automatically. If both addresses are available, they are devided by the | (pipe) character.
Use this property to get static DNS rules from the current rules storage or restore them back between application sessions. If StaticDNS of the class is set to "local", the property returns/restores the rules from/to the internal storage of the class. If StaticDNS of the class is set to "global", the property returns/restores the rules from/to the GLOBAL storage. The rules list is returned and accepted in JSON format.
Use this config property to store any custom data.
Use this property to limit the search of chached TLS sessions to the specified group. Sessions from other groups will be ignored. By default, all sessions are cached with an empty group name and available to all the classes.
Use this property to specify how much time the TLS session should be kept in the session cache. After this time, the session expires and will be automatically removed from the cache. Default value is 300 seconds (5 minutes).
Use this property to specify the time interval of purging the expired TLS sessions from the session cache. Default value is 60 seconds (1 minute).
Set this global property to false to force all the client components to use the DNS resolver provided by the target OS instead of using own one.
Set this global property to false to make each validation run use its own copy of system certificate stores.
This global setting defines who is responsible for performing RSA-OAEP and RSA-PSS computations where the private key is stored in a Windows system store and is exportable. If set to true, SBB will delegate the computations to Windows via a CryptoAPI call. Otherwise, it will export the key material and perform the computations using its own OAEP/PSS implementation.
This setting only applies to certificates originating from a Windows system store.
Use this global property to enable or disable the use of operating system-driven pseudorandom number generation.
Trappable Errors (SAMLWriter Class)
Error Handling (C++)
Call the GetLastErrorCode() method to obtain the last called method's result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. Known error codes are listed below. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.