UNPKG

@sap/xssec

Version:

XS Advanced Container Security API for node.js

16 lines 825 B
import { X509Certificate } from "crypto"; /** * Escapes Regex special characters in the given string, so that the string can be used for a literal match inside a Regex. * Regex.escape is only a proposal at the time of writing. * The source of this code is https://github.com/tc39/proposal-regex-escaping/blob/main/polyfill.js */ export function escapeStringForRegex(s: any): string; /** * Creates a string cache key from the given key-value pairs, ignoring keys with null or undefined values. * @param {object} parts * @returns a cache key in string format, e.g. app_tid:foo:client_id:bar:azp:baz */ export function createCacheKey(parts?: object): string; export function parsePemCertificate(pem: any): X509Certificate; export function shrinkRequestOptionsForLog(request: any): any; //# sourceMappingURL=util.d.ts.map