* Add packages * Update docs * Fix test and types * debug heap size * remove debug heap line * updated docs # Conflicts: # api_docs/alerting.mdx # api_docs/apm.json # api_docs/core.mdx # api_docs/core_application.mdx # api_docs/core_chrome.mdx # api_docs/core_http.mdx # api_docs/core_saved_objects.mdx # api_docs/custom_integrations.mdx # api_docs/data.json # api_docs/data.mdx # api_docs/data_autocomplete.mdx # api_docs/data_data_views.json # api_docs/data_data_views.mdx # api_docs/data_query.mdx # api_docs/data_search.mdx # api_docs/data_ui.mdx # api_docs/deprecations_by_api.mdx # api_docs/deprecations_by_plugin.mdx # api_docs/discover_enhanced.json # api_docs/embeddable.json # api_docs/event_log.mdx # api_docs/fleet.mdx # api_docs/home.json # api_docs/index_management.json # api_docs/interactive_setup.mdx # api_docs/kibana_legacy.json # api_docs/kibana_legacy.mdx # api_docs/observability.mdx # api_docs/plugin_directory.mdx # api_docs/security_oss.mdx
243 lines
No EOL
7.1 KiB
JSON
243 lines
No EOL
7.1 KiB
JSON
{
|
|
"id": "@kbn/crypto",
|
|
"client": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"server": {
|
|
"classes": [],
|
|
"functions": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.createSHA256Hash",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "createSHA256Hash",
|
|
"description": [],
|
|
"signature": [
|
|
"(input: string | Buffer, outputEncoding?: ",
|
|
"BinaryToTextEncoding",
|
|
") => string"
|
|
],
|
|
"path": "packages/kbn-crypto/src/sha256.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.createSHA256Hash.$1",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "input",
|
|
"description": [],
|
|
"signature": [
|
|
"string | Buffer"
|
|
],
|
|
"path": "packages/kbn-crypto/src/sha256.ts",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.createSHA256Hash.$2",
|
|
"type": "CompoundType",
|
|
"tags": [],
|
|
"label": "outputEncoding",
|
|
"description": [],
|
|
"signature": [
|
|
"BinaryToTextEncoding"
|
|
],
|
|
"path": "packages/kbn-crypto/src/sha256.ts",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
}
|
|
],
|
|
"returnComment": [],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Keystore",
|
|
"type": "Function",
|
|
"tags": [
|
|
"privateRemarks"
|
|
],
|
|
"label": "readPkcs12Keystore",
|
|
"description": [
|
|
"\nReads a private key and certificate chain from a PKCS12 key store.\n"
|
|
],
|
|
"signature": [
|
|
"(path: string, password?: string | undefined) => ",
|
|
{
|
|
"pluginId": "@kbn/crypto",
|
|
"scope": "server",
|
|
"docId": "kibKbnCryptoPluginApi",
|
|
"section": "def-server.Pkcs12ReadResult",
|
|
"text": "Pkcs12ReadResult"
|
|
}
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Keystore.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "path",
|
|
"description": [
|
|
"The file path of the PKCS12 key store"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Keystore.$2",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "password",
|
|
"description": [
|
|
"The optional password of the key store and private key;\nif there is no password, this may be an empty string or `undefined`,\ndepending on how the key store was generated."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"isRequired": false
|
|
}
|
|
],
|
|
"returnComment": [
|
|
"the parsed private key and certificate(s) in PEM format"
|
|
],
|
|
"initialIsOpen": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Truststore",
|
|
"type": "Function",
|
|
"tags": [],
|
|
"label": "readPkcs12Truststore",
|
|
"description": [
|
|
"\nReads a certificate chain from a PKCS12 trust store.\n"
|
|
],
|
|
"signature": [
|
|
"(path: string, password?: string | undefined) => string[] | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Truststore.$1",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "path",
|
|
"description": [
|
|
"The file path of the PKCS12 trust store"
|
|
],
|
|
"signature": [
|
|
"string"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"isRequired": true
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.readPkcs12Truststore.$2",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "password",
|
|
"description": [
|
|
"The optional password of the trust store; if there is\nno password, this may be an empty string or `undefined`, depending on\nhow the trust store was generated."
|
|
],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"isRequired": false
|
|
}
|
|
],
|
|
"returnComment": [
|
|
"the parsed certificate(s) in PEM format"
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"interfaces": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.Pkcs12ReadResult",
|
|
"type": "Interface",
|
|
"tags": [],
|
|
"label": "Pkcs12ReadResult",
|
|
"description": [],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false,
|
|
"children": [
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.Pkcs12ReadResult.ca",
|
|
"type": "Array",
|
|
"tags": [],
|
|
"label": "ca",
|
|
"description": [],
|
|
"signature": [
|
|
"string[] | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.Pkcs12ReadResult.cert",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "cert",
|
|
"description": [],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false
|
|
},
|
|
{
|
|
"parentPluginId": "@kbn/crypto",
|
|
"id": "def-server.Pkcs12ReadResult.key",
|
|
"type": "string",
|
|
"tags": [],
|
|
"label": "key",
|
|
"description": [],
|
|
"signature": [
|
|
"string | undefined"
|
|
],
|
|
"path": "packages/kbn-crypto/src/pkcs12.ts",
|
|
"deprecated": false
|
|
}
|
|
],
|
|
"initialIsOpen": false
|
|
}
|
|
],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
},
|
|
"common": {
|
|
"classes": [],
|
|
"functions": [],
|
|
"interfaces": [],
|
|
"enums": [],
|
|
"misc": [],
|
|
"objects": []
|
|
}
|
|
} |