Skip to content

Commit

Permalink
Updated algorithm filter
Browse files Browse the repository at this point in the history
Former-commit-id: 85dd0d50ac84befa33a3881b06cecfa40e547dd9
  • Loading branch information
rmathis committed Aug 10, 2022
1 parent f20f2e9 commit 8ae250b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
13 changes: 12 additions & 1 deletion backend/src/main/resources/i18n/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -727,4 +727,15 @@ tooltip.group-description=Group Description
tooltip.role-name=Role Name
tooltip.role-description=Role Description

tooltip.contact-information=Contact Information
tooltip.contact-information=Contact Information

label.algorithm=Algorithm
tooltip.algorithm=Block encryption algorithms are designed for encrypting and decrypting data in fixed size, multiple octet blocks.

value.algorithm-gcm-256=GCM (256) - http://www.w3.org/2009/xmlenc11#aes256-gcm
value.algorithm-gcm-192=GCM (192) - http://www.w3.org/2009/xmlenc11#aes192-gcm
value.algorithm-gcm-128=GCM (128) - http://www.w3.org/2009/xmlenc11#aes128-gcm
value.algorithm-cbc-256=CBC (256) - http://www.w3.org/2001/04/xmlenc#aes256-cbc
value.algorithm-cbc-192=CBC (192) - http://www.w3.org/2001/04/xmlenc#aes192-cbc
value.algorithm-cbc-128=CBC (128) - http://www.w3.org/2001/04/xmlenc#aes128-cbc
value.algorithm-cbc-tripledes=CBC (TRIPLEDES) - http://www.w3.org/2001/04/xmlenc#tripledes-cbc
23 changes: 23 additions & 0 deletions ui/public/assets/schema/filter/algorithm.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,29 @@
},
"version": {
"type": "integer"
},
"algorithm": {
"title": "label.algorithm",
"description": "tooltip.algorithm",
"type": "string",
"enum": [
"http://www.w3.org/2009/xmlenc11#aes256-gcm",
"http://www.w3.org/2009/xmlenc11#aes192-gcm",
"http://www.w3.org/2009/xmlenc11#aes128-gcm",
"http://www.w3.org/2001/04/xmlenc#aes256-cbc",
"http://www.w3.org/2001/04/xmlenc#aes192-cbc",
"http://www.w3.org/2001/04/xmlenc#aes128-cbc",
"http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
],
"enumNames": [
"value.algorithm-gcm-256",
"value.algorithm-gcm-192",
"value.algorithm-gcm-128",
"value.algorithm-cbc-256",
"value.algorithm-cbc-192",
"value.algorithm-cbc-128",
"value.algorithm-cbc-tripledes"
]
}
},
"definitions": {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ export const AlgorithmFilterEditor = {
label: 'label.options',
index: 2,
initialValues: [],
fields: []
fields: [
'algorithm'
]
}
]
};

0 comments on commit 8ae250b

Please sign in to comment.