Security¶
Include: Use System\Security.pkg
Security covers certificate handles for HTTP client certificates, binary/text encodings, URI component encoding, and random byte/text generation.
These pages describe observable DataFlex API behavior. They do not expose runtime implementation names. DFSEC_Random fills values with random bytes or readable text; no security-strength guarantee is documented here.
Certificates¶
- Certificates explains certificate formats, handles, and lifecycle rules.
- DFSEC_CertificateFromFile creates a certificate handle from file data.
- DFSEC_CertificateFromString creates a certificate handle from in-memory certificate data.
- DFSEC_CertificateFree releases a certificate handle.
Encoding¶
- Encoding explains the supported encoding formats and common argument rules.
- DFSEC_Encode encodes a string or byte-compatible array and returns a string.
- DFSEC_EncodeUC encodes a string or byte-compatible array and returns
UChar[]. - DFSEC_Decode decodes encoded data and returns a string.
- DFSEC_DecodeUC decodes encoded data and returns
UChar[]. - DFSEC_EncodeEx encodes bytes from a pointer and returns a string.
- DFSEC_EncodeExUC encodes bytes from a pointer and returns
UChar[]. - DFSEC_DecodeEx decodes bytes from a pointer and returns a string.
- DFSEC_DecodeExUC decodes bytes from a pointer and returns
UChar[].
Random¶
- Random explains random byte and readable text generation.
- DFSEC_Random fills a destination value with random bytes or readable characters.