|
5810 | 5810 | "additionalProperties": false,
|
5811 | 5811 | "properties": {
|
5812 | 5812 | "encr": {
|
5813 |
| - "type": "array", |
5814 | 5813 | "title": "Encryption Algorithms (ENCR)",
|
5815 | 5814 | "description": "Transform Type 1: encryption algorithms",
|
5816 |
| - "items": { |
5817 |
| - "$ref": "#/definitions/ikeV2Enc", |
5818 |
| - "title": "Encryption Algorithm (ENCR)" |
5819 |
| - } |
| 5815 | + "anyOf": [ |
| 5816 | + { |
| 5817 | + "type": "array", |
| 5818 | + "items": { |
| 5819 | + "$ref": "#/definitions/ikeV2Enc", |
| 5820 | + "title": "Encryption Algorithm (ENCR)" |
| 5821 | + } |
| 5822 | + }, |
| 5823 | + { |
| 5824 | + "deprecated": true, |
| 5825 | + "$ref": "#/definitions/cryptoRefArray", |
| 5826 | + "description": "[DEPRECATED] This will be removed in a future version. Transform Type 1: encryption algorithms" |
| 5827 | + } |
| 5828 | + ] |
5820 | 5829 | },
|
5821 | 5830 | "prf": {
|
5822 |
| - "type": "array", |
5823 | 5831 | "title": "Pseudorandom Functions (PRF)",
|
5824 | 5832 | "description": "Transform Type 2: pseudorandom functions",
|
5825 |
| - "items": { |
5826 |
| - "$ref": "#/definitions/ikeV2Prf", |
5827 |
| - "title": "Pseudorandom Function (PRF)" |
5828 |
| - } |
| 5833 | + "anyOf": [ |
| 5834 | + { |
| 5835 | + "type": "array", |
| 5836 | + "items": { |
| 5837 | + "$ref": "#/definitions/ikeV2Prf", |
| 5838 | + "title": "Pseudorandom Function (PRF)" |
| 5839 | + } |
| 5840 | + }, |
| 5841 | + { |
| 5842 | + "deprecated": true, |
| 5843 | + "$ref": "#/definitions/cryptoRefArray", |
| 5844 | + "description": "[DEPRECATED] This will be removed in a future version. Transform Type 2: pseudorandom functions" |
| 5845 | + } |
| 5846 | + ] |
5829 | 5847 | },
|
5830 | 5848 | "integ": {
|
5831 |
| - "type": "array", |
5832 | 5849 | "title": "Integrity Algorithms (INTEG)",
|
5833 | 5850 | "description": "Transform Type 3: integrity algorithms",
|
5834 |
| - "items": { |
5835 |
| - "$ref": "#/definitions/ikeV2Integ", |
5836 |
| - "title": "Integrity Algorithm (INTEG)" |
5837 |
| - } |
| 5851 | + "anyOf": [ |
| 5852 | + { |
| 5853 | + "type": "array", |
| 5854 | + "items": { |
| 5855 | + "$ref": "#/definitions/ikeV2Integ", |
| 5856 | + "title": "Integrity Algorithm (INTEG)" |
| 5857 | + } |
| 5858 | + }, |
| 5859 | + { |
| 5860 | + "deprecated": true, |
| 5861 | + "$ref": "#/definitions/cryptoRefArray", |
| 5862 | + "description": "[DEPRECATED] This will be removed in a future version. Transform Type 3: integrity algorithms" |
| 5863 | + } |
| 5864 | + ] |
5838 | 5865 | },
|
5839 | 5866 | "ke": {
|
5840 |
| - "type": "array", |
5841 | 5867 | "title": "Key Exchange Methods (KE)",
|
5842 | 5868 | "description": "Transform Type 4: Key Exchange Method (KE) per [RFC 9370](https://www.ietf.org/rfc/rfc9370.html), formerly called Diffie-Hellman Group (D-H).",
|
5843 |
| - "items": { |
5844 |
| - "$ref": "#/definitions/ikeV2Ke", |
5845 |
| - "title": "Key Exchange Method (KE)" |
5846 |
| - } |
| 5869 | + "anyOf": [ |
| 5870 | + { |
| 5871 | + "type": "array", |
| 5872 | + "items": { |
| 5873 | + "$ref": "#/definitions/ikeV2Ke", |
| 5874 | + "title": "Key Exchange Method (KE)" |
| 5875 | + } |
| 5876 | + }, |
| 5877 | + { |
| 5878 | + "deprecated": true, |
| 5879 | + "$ref": "#/definitions/cryptoRefArray", |
| 5880 | + "description": "[DEPRECATED] This will be removed in a future version. Transform Type 4: Key Exchange Method (KE) per [RFC 9370](https://www.ietf.org/rfc/rfc9370.html), formerly called Diffie-Hellman Group (D-H)." |
| 5881 | + } |
| 5882 | + ] |
5847 | 5883 | },
|
5848 | 5884 | "esn": {
|
5849 | 5885 | "type": "boolean",
|
5850 | 5886 | "title": "Extended Sequence Number (ESN)",
|
5851 | 5887 | "description": "Specifies if an Extended Sequence Number (ESN) is used."
|
5852 | 5888 | },
|
5853 | 5889 | "auth": {
|
5854 |
| - "type": "array", |
5855 | 5890 | "title": "IKEv2 Authentication methods",
|
5856 | 5891 | "description": "IKEv2 Authentication method per [RFC9593](https://www.ietf.org/rfc/rfc9593.html).",
|
5857 |
| - "items": { |
5858 |
| - "$ref": "#/definitions/ikeV2Auth", |
5859 |
| - "title": "IKEv2 Authentication Method" |
5860 |
| - } |
| 5892 | + "anyOf": [ |
| 5893 | + { |
| 5894 | + "type": "array", |
| 5895 | + "items": { |
| 5896 | + "$ref": "#/definitions/ikeV2Auth", |
| 5897 | + "title": "IKEv2 Authentication Method" |
| 5898 | + } |
| 5899 | + }, |
| 5900 | + { |
| 5901 | + "deprecated": true, |
| 5902 | + "$ref": "#/definitions/cryptoRefArray", |
| 5903 | + "description": "[DEPRECATED] This will be removed in a future version. IKEv2 Authentication method" |
| 5904 | + } |
| 5905 | + ] |
5861 | 5906 | }
|
5862 | 5907 | }
|
5863 | 5908 | },
|
|
0 commit comments