THPDFCSCOptions Record
THPDFCSCOptions = record
ServiceBaseURL: UnicodeString;
CredentialID, AccessToken, SAD, ClientData: AnsiString;
RequireSAD, AutoAuthorize, AllowInsecureHTTP: Boolean;
OperationMode: THPDFCSCOperationMode;
RetryLimit, MaxPollAttempts: Integer;
RetryBaseDelayMS, MaxRetryAfterMS, PollIntervalMS: Cardinal;
AsyncValidityPeriodMS: Cardinal;
TokenRefreshSkewSeconds, SADRefreshSkewSeconds: Integer;
MaxResponseBytes, MaxSignatureBytes, MaxTimestampBytes: Integer;
MaxCertificateChainCount, MaxCertificateBytes: Integer;
MaxBatchSignatures, MaxOperationCacheEntries: Integer;
EstimatedSignatureBytes: Integer;
EnableIdempotency: Boolean;
class function Default: THPDFCSCOptions; static;
end;
Default 選用非同步簽章、僅限 HTTPS 的端點、自動 SAD 授權、兩次暫時性重試、64 個簽章的本機批次上限、有限的輪詢與承載預算、穩定的冪等鍵,以及 128 個操作的快取
AllowInsecureHTTP 只為受控的開發端點而存在,而且照樣拒絕非 HTTP scheme