Compare commits

..
Author SHA1 Message Date
ShareVB b9ab7cbf2d fix(Certificate Parser): add validity dates and enhance extension display 2025-02-02 18:35:00 +01:00
ShareVB d0582b3142 fix: deps 2024-09-22 19:46:21 +02:00
sharevb 6ab8265944 Merge branch 'main' into feat/cert-key-parser 2024-09-22 19:41:05 +02:00
ShareVB 6c718820a4 fix: better ui to select file or paste content 2024-09-22 19:27:06 +02:00
ShareVB 6d0b6c5c4f fix: deps 2024-07-14 22:52:31 +02:00
ShareVB 54dba5e2e0 fix: update downloadbase64 2024-07-14 22:48:47 +02:00
ShareVB 40d5a6a77f Merge remote-tracking branch 'origin/main' into feat/cert-key-parser 2024-07-14 22:47:39 +02:00
ShareVB ddd3f6ed09 fix: refactor and unit test 2024-05-15 23:01:01 +02:00
sharevb c10302b138 Merge branch 'main' into feat/cert-key-parser 2024-05-05 19:41:06 +02:00
ShareVB 2f64b7e53d feat: add CSR parsing 2024-05-05 19:38:42 +02:00
ShareVB 5732ce7a4f feat: add pgp parsing 2024-05-01 23:57:30 +02:00
sharevb 6445c80b36 Merge branch 'main' into feat/cert-key-parser 2024-03-10 14:07:43 +01:00
sharevb ce8199e338 feat(new tool): Certificate/Key Parser and infos
Parse Certificate and Keys (Public, Private, Signature, Fingerprint...) and displays infos
Fix #671
2024-03-03 12:05:40 +01:00
ShareVB e073b2babf chore: fix deps 2024-02-18 12:01:33 +01:00
sharevb 83832f3e2c feat(TextareaCopyable): word-wrap prop
Add word-wrap property (to allow presenting long public keys)
2024-02-18 11:39:13 +01:00
sharevb ee40ba1439 chore: prepare sshpk for cert/key/sshkeys related tools 2024-02-18 11:39:13 +01:00
sharevb 3f32990499 chore: prepare sshpk for cert/key/sshkeys related tools 2024-02-18 11:38:29 +01:00
30 changed files with 2494 additions and 538 deletions

No files matched your search

+1 -4
View File
@@ -286,9 +286,6 @@
"watchTriggerable": true,
"watchWithFilter": true,
"whenever": true,
"toValue": true,
"injectLocal": true,
"provideLocal": true,
"useClipboardItems": true
"toValue": true
}
}
+1 -1
View File
@@ -117,7 +117,7 @@ Big thanks to all the people who have already contributed!
## Credits
Coded with ❤️ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=readme).
Coded with ❤️ by [Corentin Thomasset](//corentin-thomasset.fr).
This project is continuously deployed using [vercel.com](https://vercel.com).
-9
View File
@@ -36,7 +36,6 @@ declare global {
const h: typeof import('vue')['h']
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
const inject: typeof import('vue')['inject']
const injectLocal: typeof import('@vueuse/core')['injectLocal']
const isDefined: typeof import('@vueuse/core')['isDefined']
const isProxy: typeof import('vue')['isProxy']
const isReactive: typeof import('vue')['isReactive']
@@ -66,7 +65,6 @@ declare global {
const onUpdated: typeof import('vue')['onUpdated']
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
const provide: typeof import('vue')['provide']
const provideLocal: typeof import('@vueuse/core')['provideLocal']
const reactify: typeof import('@vueuse/core')['reactify']
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
const reactive: typeof import('vue')['reactive']
@@ -130,7 +128,6 @@ declare global {
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
const useCached: typeof import('@vueuse/core')['useCached']
const useClipboard: typeof import('@vueuse/core')['useClipboard']
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
const useCloned: typeof import('@vueuse/core')['useCloned']
const useColorMode: typeof import('@vueuse/core')['useColorMode']
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -329,7 +326,6 @@ declare module 'vue' {
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
@@ -359,7 +355,6 @@ declare module 'vue' {
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -423,7 +418,6 @@ declare module 'vue' {
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
@@ -616,7 +610,6 @@ declare module '@vue/runtime-core' {
readonly h: UnwrapRef<typeof import('vue')['h']>
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
readonly inject: UnwrapRef<typeof import('vue')['inject']>
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
@@ -646,7 +639,6 @@ declare module '@vue/runtime-core' {
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -710,7 +702,6 @@ declare module '@vue/runtime-core' {
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
+2 -34
View File
@@ -33,6 +33,7 @@ declare module '@vue/runtime-core' {
CCollapse: typeof import('./src/ui/c-collapse/c-collapse.vue')['default']
'CCollapse.demo': typeof import('./src/ui/c-collapse/c-collapse.demo.vue')['default']
CDiffEditor: typeof import('./src/ui/c-diff-editor/c-diff-editor.vue')['default']
CertificateKeyParser: typeof import('./src/tools/certificate-key-parser/certificate-key-parser.vue')['default']
CFileUpload: typeof import('./src/ui/c-file-upload/c-file-upload.vue')['default']
'CFileUpload.demo': typeof import('./src/ui/c-file-upload/c-file-upload.demo.vue')['default']
ChmodCalculator: typeof import('./src/tools/chmod-calculator/chmod-calculator.vue')['default']
@@ -50,7 +51,6 @@ declare module '@vue/runtime-core' {
'CModal.demo': typeof import('./src/ui/c-modal/c-modal.demo.vue')['default']
CModalValue: typeof import('./src/ui/c-modal-value/c-modal-value.vue')['default']
'CModalValue.demo': typeof import('./src/ui/c-modal-value/c-modal-value.demo.vue')['default']
CodeHighlighter: typeof import('./src/tools/code-highlighter/code-highlighter.vue')['default']
CollapsibleToolMenu: typeof import('./src/components/CollapsibleToolMenu.vue')['default']
ColorConverter: typeof import('./src/tools/color-converter/color-converter.vue')['default']
ColoredCard: typeof import('./src/components/ColoredCard.vue')['default']
@@ -91,28 +91,17 @@ declare module '@vue/runtime-core' {
HttpStatusCodes: typeof import('./src/tools/http-status-codes/http-status-codes.vue')['default']
IbanValidatorAndParser: typeof import('./src/tools/iban-validator-and-parser/iban-validator-and-parser.vue')['default']
'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default']
'IconMdi:contentCopy': typeof import('~icons/mdi/content-copy')['default']
'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default']
IconMdiArrowDown: typeof import('~icons/mdi/arrow-down')['default']
IconMdiArrowRightBottom: typeof import('~icons/mdi/arrow-right-bottom')['default']
IconMdiCamera: typeof import('~icons/mdi/camera')['default']
IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default']
IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
IconMdiClose: typeof import('~icons/mdi/close')['default']
IconMdiContentCopy: typeof import('~icons/mdi/content-copy')['default']
IconMdiDeleteOutline: typeof import('~icons/mdi/delete-outline')['default']
IconMdiDownload: typeof import('~icons/mdi/download')['default']
IconMdiEye: typeof import('~icons/mdi/eye')['default']
IconMdiEyeOff: typeof import('~icons/mdi/eye-off')['default']
IconMdiHeart: typeof import('~icons/mdi/heart')['default']
IconMdiPause: typeof import('~icons/mdi/pause')['default']
IconMdiPlay: typeof import('~icons/mdi/play')['default']
IconMdiRecord: typeof import('~icons/mdi/record')['default']
IconMdiRefresh: typeof import('~icons/mdi/refresh')['default']
IconMdiSearch: typeof import('~icons/mdi/search')['default']
IconMdiTranslate: typeof import('~icons/mdi/translate')['default']
IconMdiTriangleDown: typeof import('~icons/mdi/triangle-down')['default']
IconMdiVideo: typeof import('~icons/mdi/video')['default']
InputCopyable: typeof import('./src/components/InputCopyable.vue')['default']
IntegerBaseConverter: typeof import('./src/tools/integer-base-converter/integer-base-converter.vue')['default']
Ipv4AddressConverter: typeof import('./src/tools/ipv4-address-converter/ipv4-address-converter.vue')['default']
@@ -141,42 +130,21 @@ declare module '@vue/runtime-core' {
MenuLayout: typeof import('./src/components/MenuLayout.vue')['default']
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default']
NAlert: typeof import('naive-ui')['NAlert']
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
NButton: typeof import('naive-ui')['NButton']
NCheckbox: typeof import('naive-ui')['NCheckbox']
NCode: typeof import('naive-ui')['NCode']
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
NColorPicker: typeof import('naive-ui')['NColorPicker']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDatePicker: typeof import('naive-ui')['NDatePicker']
NDivider: typeof import('naive-ui')['NDivider']
NDynamicInput: typeof import('naive-ui')['NDynamicInput']
NDivider: typeof import('naive-ui')['NDivider']
NEllipsis: typeof import('naive-ui')['NEllipsis']
NForm: typeof import('naive-ui')['NForm']
NFormItem: typeof import('naive-ui')['NFormItem']
NGi: typeof import('naive-ui')['NGi']
NGrid: typeof import('naive-ui')['NGrid']
NH1: typeof import('naive-ui')['NH1']
NH2: typeof import('naive-ui')['NH2']
NH3: typeof import('naive-ui')['NH3']
NIcon: typeof import('naive-ui')['NIcon']
NImage: typeof import('naive-ui')['NImage']
NInputGroup: typeof import('naive-ui')['NInputGroup']
NInputGroupLabel: typeof import('naive-ui')['NInputGroupLabel']
NInputNumber: typeof import('naive-ui')['NInputNumber']
NLayout: typeof import('naive-ui')['NLayout']
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
NMenu: typeof import('naive-ui')['NMenu']
NProgress: typeof import('naive-ui')['NProgress']
NScrollbar: typeof import('naive-ui')['NScrollbar']
NSlider: typeof import('naive-ui')['NSlider']
NSpace: typeof import('naive-ui')['NSpace']
NSpin: typeof import('naive-ui')['NSpin']
NStatistic: typeof import('naive-ui')['NStatistic']
NSwitch: typeof import('naive-ui')['NSwitch']
NTable: typeof import('naive-ui')['NTable']
NTag: typeof import('naive-ui')['NTag']
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
+1 -1
View File
@@ -38,7 +38,7 @@ about:
# Über IT-Tools
Diese wunderbare Website, erstellt mit ❤ von [Corentin
Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), sammelt nützliche Tools für
Thomasset](https://github.com/CorentinTh), sammelt nützliche Tools für
Entwickler und Menschen, die in der IT arbeiten. Wenn du sie nützlich
findest, teile sie gerne mit Personen, von denen du denkst, dass sie sie
ebenfalls nützlich finden könnten, und vergiss nicht, sie in deiner
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# About IT-Tools
This wonderful website, made with ❤ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) , aggregates useful tools for developer and people working in IT. If you find it useful, please feel free to share it to people you think may find it useful too and don't forget to bookmark it in your shortcut bar!
This wonderful website, made with ❤ by [Corentin Thomasset](https://github.com/CorentinTh) , aggregates useful tools for developer and people working in IT. If you find it useful, please feel free to share it to people you think may find it useful too and don't forget to bookmark it in your shortcut bar!
IT Tools is open-source (under the MIT license) and free, and will always be, but it costs me money to host and renew the domain name. If you want to support my work, and encourage me to add more tools, please consider supporting by [sponsoring me](https://www.buymeacoffee.com/cthmsst).
+3 -3
View File
@@ -30,7 +30,7 @@ about:
content: >
# Sobre IT-Tools
Este maravilloso sitio web, hecho con ❤ por [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) , agrega herramientas útiles para desarrolladores y personas que trabajan en IT. Si lo encuentra útil, no dude en compartirlo con las personas que crea que también pueden encontrarlo útil y ¡no olvide marcarlo como favorito en su barra de accesos directos!
Este maravilloso sitio web, hecho con ❤ por [Corentin Thomasset](https://github.com/CorentinTh) , agrega herramientas útiles para desarrolladores y personas que trabajan en IT. Si lo encuentra útil, no dude en compartirlo con las personas que crea que también pueden encontrarlo útil y ¡no olvide marcarlo como favorito en su barra de accesos directos!
IT Tools es de código abierto (under the MIT license) y gratis, y siempre lo será, pero me cuesta dinero alojar y renovar el nombre de dominio. Si desea apoyar mi trabajo y animarme a agregar más herramientas, considere apoyarme a través de[sponsoring me](https://www.buymeacoffee.com/cthmsst).
@@ -39,7 +39,7 @@ about:
IT Tools está creado en Vue.js (Vue 3) con la biblioteca de componentes Naive UI y Vercel lo aloja y lo implementa continuamente. En algunas herramientas se utilizan bibliotecas de código abierto de terceros; puede encontrar la lista completa en [package.json](https://github.com/CorentinTh/it-tools/blob/main/package.json) archivo del repositorio.
## ¿Encontraste un error? ¿Falta una herramienta?
Si necesita una herramienta que actualmente no está presente aquí y cree que puede ser útil, puede enviar una solicitud de función en el [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) en el repositorio de GitHub.
Y si encontró un error o algo no funciona como se esperaba, presente un reporte de error en el [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) en el repositorio de GitHub.
@@ -68,4 +68,4 @@ tools:
math: Math
measurement: Measurement
text: Text
data: Data
data: Data
+1 -1
View File
@@ -29,7 +29,7 @@ about:
content: >
# À propos de IT-Tools
Ce merveilleux site, fait avec ❤ par [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), regroupe des outils utiles pour les développeurs et les personnes travaillant dans l'informatique. Si vous le trouvez utile, n'hésitez pas à le partager et n'oubliez pas de le mettre dans vos favoris !
Ce merveilleux site, fait avec ❤ par [Corentin Thomasset](https://github.com/CorentinTh), regroupe des outils utiles pour les développeurs et les personnes travaillant dans l'informatique. Si vous le trouvez utile, n'hésitez pas à le partager et n'oubliez pas de le mettre dans vos favoris !
IT Tools est open-source (sous licence MIT) et gratuit, et le restera toujours, mais cela me coûte de l'argent pour l'héberger et renouveler le nom de domaine. Si vous voulez soutenir mon travail, et m'encourager à ajouter plus d'outils, n'hésitez pas à me [soutenir](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Sobre o IT-Tools
Este site maravilhoso, feito com ❤ por [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), junta ferramentas úteis para desenvolvedores e outras pessoas que trabalham com TI. Se você achar o site útil, fique à vontade para compartilhar com quem também possa gostar e não esqueça de salvar o bookmark na sua barra de atalhos!
Este site maravilhoso, feito com ❤ por [Corentin Thomasset](https://github.com/CorentinTh), junta ferramentas úteis para desenvolvedores e outras pessoas que trabalham com TI. Se você achar o site útil, fique à vontade para compartilhar com quem também possa gostar e não esqueça de salvar o bookmark na sua barra de atalhos!
O IT Tools é código aberto (sob a licença MIT), é gratuito, e sempre será, mas custa dinheiro para hospedar e renovar o domínio. Se quiser apoiar meu trabalho e me encorajar a adicionar mais ferramentas, por favor considere [ser patrocinador](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Про IT-Tools
Цей чудовий вебсайт, створений з ❤ [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), агрегує корисні інструменти для розробників і людей, які працюють в сфері IT. Якщо вам це корисно, будь ласка, поділіться цим з людьми, які, на вашу думку, також можуть знайти його корисним, і не забудьте додати його до закладок у вашій панелі швидкого доступу!
Цей чудовий вебсайт, створений з ❤ [Corentin Thomasset](https://github.com/CorentinTh), агрегує корисні інструменти для розробників і людей, які працюють в сфері IT. Якщо вам це корисно, будь ласка, поділіться цим з людьми, які, на вашу думку, також можуть знайти його корисним, і не забудьте додати його до закладок у вашій панелі швидкого доступу!
IT Tools є відкритим програмним забезпеченням (під ліцензією MIT) і безкоштовним, і завжди буде таким, але мені коштує гроші для хостингу і продовження доменного імені. Якщо ви хочете підтримати мою роботу і підтримати мене у додаванні нових інструментів, розгляньте можливість підтримки, [спонсоруючи мене](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Về IT-Tools
Website tuyệt vời này, được tạo ra bằng ❤ bởi [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), tổng hợp các công cụ hữu ích cho nhà phát triển và những người làm việc trong lĩnh vực IT. Nếu bạn thấy nó hữu ích, xin đừng ngần ngại chia sẻ cho những người mà bạn nghĩ sẽ thấy nó hữu ích và đừng quên đánh dấu nó trong thanh lối tắt của bạn!
Website tuyệt vời này, được tạo ra bằng ❤ bởi [Corentin Thomasset](https://github.com/CorentinTh), tổng hợp các công cụ hữu ích cho nhà phát triển và những người làm việc trong lĩnh vực IT. Nếu bạn thấy nó hữu ích, xin đừng ngần ngại chia sẻ cho những người mà bạn nghĩ sẽ thấy nó hữu ích và đừng quên đánh dấu nó trong thanh lối tắt của bạn!
IT Tools là mã nguồn mở (dưới giấy phép MIT) và miễn phí, và sẽ luôn như vậy, nhưng tôi phải trả tiền để lưu trữ và gia hạn tên miền. Nếu bạn muốn hỗ trợ công việc của tôi, và khích lệ tôi thêm nhiều công cụ hơn, hãy xem xét hỗ trợ bằng cách [tài trợ cho tôi](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# 关于 IT-Tools
IT-Tools 由 [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) 用 ❤ 开发,汇集了对开发人员和 IT 从业者有用的工具。如果对您有帮助,请将其分享给您的朋友,并且添加到收藏夹中!
IT-Tools 由 [Corentin Thomasset](https://github.com/CorentinTh) 用 ❤ 开发,汇集了对开发人员和 IT 从业者有用的工具。如果对您有帮助,请将其分享给您的朋友,并且添加到收藏夹中!
IT-Tools 永久免费且开源(MIT 许可证),但需要资金用于托管和续订域名。如果您想支持我的工作,并鼓励我添加更多工具,请考虑通过 [赞助我](https://www.buymeacoffee.com/cthmsst) 进行支持。
+14 -12
View File
@@ -1,14 +1,7 @@
{
"name": "it-tools",
"version": "2024.5.13-a0bc346",
"packageManager": "pnpm@8.15.3",
"description": "Collection of handy online tools for developers, with great UX. ",
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
"license": "GNU GPLv3",
"repository": {
"type": "git",
"url": "https://github.com/CorentinTh/it-tools"
},
"keywords": [
"productivity",
"converter",
@@ -20,6 +13,12 @@
"developer-tools",
"developer-productivity"
],
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://github.com/CorentinTh)",
"license": "GNU GPLv3",
"repository": {
"type": "git",
"url": "https://github.com/CorentinTh/it-tools"
},
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build",
@@ -47,7 +46,7 @@
"@types/markdown-it": "^13.0.7",
"@vicons/material": "^0.12.0",
"@vicons/tabler": "^0.12.0",
"@vueuse/core": "^10.11.1",
"@vueuse/core": "^10.3.0",
"@vueuse/head": "^1.0.0",
"@vueuse/router": "^10.0.0",
"bcryptjs": "^2.4.3",
@@ -68,7 +67,7 @@
"highlight.js": "^11.7.0",
"iarna-toml-esm": "^3.0.5",
"ibantools": "^4.3.3",
"js-base64": "^3.7.6",
"js-base64": "^3.7.7",
"json5": "^2.2.3",
"jwt-decode": "^3.1.2",
"libphonenumber-js": "^1.10.28",
@@ -81,15 +80,15 @@
"naive-ui": "^2.35.0",
"netmask": "^2.0.2",
"node-forge": "^1.3.1",
"openpgp": "^5.11.1",
"oui-data": "^1.0.10",
"pdf-signature-reader": "^1.4.2",
"pinia": "^2.0.34",
"plausible-tracker": "^0.3.8",
"qrcode": "^1.5.1",
"randexp": "^0.5.3",
"regex": "^4.3.3",
"shiki": "^1.22.0",
"sql-formatter": "^13.0.0",
"sshpk": "^1.18.0",
"ua-parser-js": "^1.0.35",
"ulid": "^2.3.0",
"unicode-emoji-json": "^0.4.0",
@@ -121,6 +120,7 @@
"@types/node": "^18.15.11",
"@types/node-forge": "^1.3.2",
"@types/qrcode": "^1.5.0",
"@types/sshpk": "^1.17.4",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^9.0.0",
"@unocss/eslint-config": "^0.57.0",
@@ -142,11 +142,13 @@
"unplugin-icons": "^0.17.0",
"unplugin-vue-components": "^0.25.0",
"vite": "^4.4.9",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-plugin-pwa": "^0.16.0",
"vite-plugin-vue-markdown": "^0.23.5",
"vite-svg-loader": "^4.0.0",
"vitest": "^0.34.0",
"workbox-window": "^7.0.0",
"zx": "^7.2.1"
}
},
"packageManager": "pnpm@8.15.3"
}
+742 -267
View File
File diff suppressed because it is too large. Load diff
+12 -2
View File
@@ -2,7 +2,12 @@
import { useVModel } from '@vueuse/core';
import { useCopy } from '@/composable/copy';
const props = defineProps<{ value: string }>();
const props = defineProps<{
value: string
multiline?: boolean
rows?: number | string
autosize?: boolean
}>();
const emit = defineEmits(['update:value']);
const value = useVModel(props, 'value', emit);
@@ -11,7 +16,12 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : 'Copy to cli
</script>
<template>
<c-input-text v-model:value="value">
<c-input-text
v-model:value="value"
:multiline="multiline"
:rows="rows"
:autosize="autosize"
>
<template #suffix>
<c-tooltip :tooltip="tooltipText">
<c-button circle variant="text" size="small" @click="copy()">
+2 -1
View File
@@ -17,6 +17,7 @@ const props = withDefaults(
language?: string
copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none'
copyMessage?: string
wordWrap?: boolean
}>(),
{
followHeightOf: null,
@@ -49,7 +50,7 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage.
:style="height ? `min-height: ${height - 40 /* card padding */ + 10 /* negative margin compensation */}px` : ''"
>
<n-config-provider :hljs="hljs">
<n-code :code="value" :language="language" :trim="false" data-test-id="area-content" />
<n-code :code="value" :language="language" :word-wrap="wordWrap" :trim="false" data-test-id="area-content" />
</n-config-provider>
</n-scrollbar>
<div absolute right-10px top-10px>
+1 -32
View File
@@ -1,5 +1,5 @@
// eslint-disable-next-line no-restricted-imports
import { useClipboard, useClipboardItems } from '@vueuse/core';
import { useClipboard } from '@vueuse/core';
import { useMessage } from 'naive-ui';
import type { MaybeRefOrGetter } from 'vue';
@@ -28,34 +28,3 @@ export function useCopy({ source, text = 'Copied to the clipboard', createToast
},
};
}
export function useCopyClipboardItems({ source, text = 'Copied to the clipboard', createToast = true }: { source?: MaybeRefOrGetter<Array<{ mime: string; content: string }>>; text?: string; createToast?: boolean } = {}) {
function toClipboardItem(item: { mime: string; content: string }) {
return new ClipboardItem({
[item.mime]: new Blob([item.content], { type: item.mime }),
});
}
const sourceClipboardItems = computed(() => (toValue(source) || []).map(toClipboardItem));
const { copy, copied, ...rest } = useClipboardItems({
source: sourceClipboardItems,
});
const message = useMessage();
return {
...rest,
isJustCopied: copied,
async copy(content?: { mime: string; content: string }[], { notificationMessage }: { notificationMessage?: string } = {}) {
if (source) {
await copy();
}
else {
await copy((content || []).map(toClipboardItem));
}
if (createToast) {
message.success(notificationMessage ?? text);
}
},
};
}
+14 -13
View File
@@ -1,6 +1,7 @@
import { extension as getExtensionFromMimeType, extension as getMimeTypeFromExtension } from 'mime-types';
import type { Ref } from 'vue';
import type { MaybeRef, Ref } from 'vue';
import _ from 'lodash';
import { get } from '@vueuse/core';
export {
getMimeTypeFromBase64,
@@ -75,21 +76,11 @@ function downloadFromBase64({ sourceValue, filename, extension, fileMimeType }:
}
function useDownloadFileFromBase64(
{ source, filename, extension, fileMimeType }:
{ source: Ref<string>; filename?: string; extension?: string; fileMimeType?: string }) {
return {
download() {
downloadFromBase64({ sourceValue: source.value, filename, extension, fileMimeType });
},
};
}
function useDownloadFileFromBase64Refs(
{ source, filename, extension }:
{ source: Ref<string>; filename?: Ref<string>; extension?: Ref<string> }) {
{ source: MaybeRef<string>; filename?: MaybeRef<string>; extension?: MaybeRef<string> }) {
return {
download() {
downloadFromBase64({ sourceValue: source.value, filename: filename?.value, extension: extension?.value });
downloadFromBase64({ sourceValue: get(source), filename: get(filename), extension: get(extension) });
},
};
}
@@ -116,3 +107,13 @@ function previewImageFromBase64(base64String: string): HTMLImageElement {
return img;
}
function useDownloadFileFromBase64Refs(
{ source, filename, extension }:
{ source: Ref<string>; filename?: Ref<string>; extension?: Ref<string> }) {
return {
download() {
downloadFromBase64({ sourceValue: source.value, filename: filename?.value, extension: extension?.value });
},
};
}
+1 -1
View File
@@ -81,7 +81,7 @@ const tools = computed<ToolCategory[]>(() => [
</div>
<div>
© {{ new Date().getFullYear() }}
<c-link target="_blank" rel="noopener" href="https://corentin.tech?utm_source=it-tools&utm_medium=footer">
<c-link target="_blank" rel="noopener" href="https://github.com/CorentinTh">
Corentin Thomasset
</c-link>
</div>
@@ -0,0 +1,347 @@
import type {
Certificate,
Fingerprint,
Key,
PrivateKey, Signature,
} from 'sshpk';
import type * as openpgp from 'openpgp';
import * as forge from 'node-forge';
import oids from './oids.json';
export interface LabelValue {
label: string
value: string
multiline?: boolean
}
function onErrorReturnErrorMessage(func: () => any) {
try {
return func();
}
catch (e: any) {
return e.toString();
}
}
function buf2Hex(buffer: ArrayBuffer) { // buffer is an ArrayBuffer
return [...new Uint8Array(buffer)]
.map(x => x.toString(16).padStart(2, '0'))
.join('');
}
export function getPublicKeyLabelValues(publicKey: Key) {
return [
{
label: 'Type:',
value: 'Public Key',
},
{
label: 'Key Type:',
value: publicKey.type,
},
{
label: 'Size:',
value: publicKey.size,
},
{
label: 'Comment:',
value: publicKey.comment,
multiline: true,
},
{
label: 'Curve:',
value: publicKey.curve ?? 'none',
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => publicKey.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => publicKey.fingerprint('sha512')),
multiline: true,
},
] as LabelValue[];
}
export function getPrivateKeyLabelValues(privateKey: PrivateKey) {
return [
{
label: 'Type:',
value: 'Private Key',
},
{
label: 'Key Type:',
value: privateKey.type,
},
{
label: 'Size:',
value: privateKey.size,
},
{
label: 'Comment:',
value: privateKey.comment,
multiline: true,
},
{
label: 'Curve:',
value: privateKey.curve,
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => privateKey.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => privateKey.fingerprint('sha512')),
multiline: true,
},
] as LabelValue[];
}
export function getCertificateLabelValues(cert: Certificate) {
return [
{
label: 'Type:',
value: 'Certificate',
},
{
label: 'Subjects:',
value: cert.subjects?.map(s => s.toString()).join('\n'),
multiline: true,
},
{
label: 'Valid From:',
value: cert.validFrom.toISOString(),
},
{
label: 'Valid Until:',
value: cert.validUntil.toISOString(),
},
{
label: 'Issuer:',
value: cert.issuer.toString(),
multiline: true,
},
{
label: 'Subject Key:',
value: onErrorReturnErrorMessage(() => cert.subjectKey?.toString('ssh')),
multiline: true,
},
{
label: 'Subject Key Type:',
value: cert.subjectKey?.type,
},
{
label: 'Subject Size:',
value: cert.subjectKey?.size,
},
{
label: 'Subject Comment:',
value: cert.subjectKey?.comment,
multiline: true,
},
{
label: 'Subject Curve:',
value: cert.subjectKey?.curve ?? 'none',
},
{
label: 'Issuer Key:',
value: onErrorReturnErrorMessage(() => cert.issuerKey?.toString('ssh')),
multiline: true,
},
{
label: 'Serial:',
value: buf2Hex(cert.serial),
},
{
label: 'Purposes:',
value: cert.purposes?.join(', '),
},
{
label: 'Extensions:',
value: JSON.stringify(cert.getExtensions().map(ext => ({
oid: (<any>ext).oid,
name: (<any>ext).name || (<any>oids)[(<any>ext).oid],
critical: (<any>ext).critical,
data: ext.data?.toString('hex') || (<any>ext).bits?.toString('hex'),
})), null, 2),
multiline: true,
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha512')),
multiline: true,
},
{
label: 'Certificate (pem):',
value: onErrorReturnErrorMessage(() => cert.toString('pem')),
multiline: true,
},
] as LabelValue[];
}
export async function getPGPPublicKeyLabelValuesAsync(pgpPublicKey: openpgp.Key) {
return [
{
label: 'Type:',
value: 'PGP Public Key',
},
{
label: 'Creation Time:',
value: pgpPublicKey.getCreationTime().toString(),
},
{
label: 'Expiration Time:',
value: (await pgpPublicKey.getExpirationTime())?.toString() || '',
},
{
label: 'Algorithm Info:',
value: JSON.stringify(pgpPublicKey.getAlgorithmInfo()),
},
{
label: 'Fingerprint:',
value: pgpPublicKey.getFingerprint(),
},
{
label: 'User ID(s):',
value: pgpPublicKey.getUserIDs().join(', '),
},
{
label: 'Key ID(s):',
value: pgpPublicKey.getKeyIDs().map(k => k.toHex()).join(' ; '),
},
] as LabelValue[];
}
export async function getPGPPrivateKeyLabelValuesAsync(pgpPrivateKey: openpgp.Key) {
return [
{
label: 'Type:',
value: 'PGP Private Key',
},
{
label: 'Creation Time:',
value: pgpPrivateKey.getCreationTime().toString(),
},
{
label: 'Expiration Time:',
value: (await pgpPrivateKey.getExpirationTime())?.toString() || '',
},
{
label: 'Algorithm Info:',
value: JSON.stringify(pgpPrivateKey.getAlgorithmInfo()),
},
{
label: 'Fingerprint:',
value: pgpPrivateKey.getFingerprint(),
},
{
label: 'User ID(s):',
value: pgpPrivateKey.getUserIDs().join(', '),
},
{
label: 'Key ID(s):',
value: pgpPrivateKey.getKeyIDs().map(k => k.toHex()).join(' ; '),
},
] as LabelValue[];
}
export function getCSRLabelValues(csr: forge.pki.Certificate) {
return [
{
label: 'Type:',
value: 'Certificate Signing Request',
},
{
label: 'Subject:',
value: csr.subject?.attributes?.map(a => JSON.stringify(a, null, 2)).join('\n'),
multiline: true,
},
{
label: 'Issuer:',
value: csr.issuer?.toString(),
multiline: true,
},
{
label: 'Validity:',
value: JSON.stringify(csr.validity, null, 2),
},
{
label: 'Signature:',
value: csr.signature,
},
{
label: 'Signature Oid:',
value: csr.signatureOid?.toString(),
},
{
label: 'Signature parameters:',
value: JSON.stringify(csr.signatureParameters, null, 2),
},
{
label: 'Signing info:',
value: JSON.stringify(csr.siginfo, null, 2),
},
{
label: 'Serial:',
value: csr.serialNumber?.toString(),
},
{
label: 'Extensions:',
value: JSON.stringify(csr.extensions, null, 2),
multiline: true,
},
{
label: 'Public Key:',
value: onErrorReturnErrorMessage(() => forge.pki.publicKeyToPem(csr.publicKey)),
multiline: true,
},
{
label: 'Public Key Fingerprint:',
value: onErrorReturnErrorMessage(() => forge.pki.getPublicKeyFingerprint(csr.publicKey)?.toHex()),
multiline: true,
},
] as LabelValue[];
}
export function getFingerprintLabelValues(fingerprint: Fingerprint) {
return [
{
label: 'Type:',
value: 'Fingerprint',
},
{
label: 'Fingerprint (hex):',
value: fingerprint.toString('hex'),
},
{
label: 'Fingerprint (base64):',
value: fingerprint.toString('base64'),
},
] as LabelValue[];
}
export function getSignatureLabelValues(signature: Signature) {
return [
{
label: 'Type:',
value: 'Signature',
},
{
label: 'Fingerprint (asn1):',
value: signature.toString('asn1'),
},
{
label: 'Fingerprint (ssh):',
value: signature.toString('ssh'),
},
] as LabelValue[];
}
@@ -0,0 +1,201 @@
import { describe, expect, it } from 'vitest';
import { getKeyOrCertificateInfosAsync } from './certificate-key-parser.service';
const encryptedPrivateKey = /* NOSONAR */ `-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFHzBJBgkqhkiG9w0BBQ0wPDAbBgkqhkiG9w0BBQwwDgQILjmiBkdY16UCAggA
MB0GCWCGSAFlAwQBAgQQ+sYf2MO9hoZ4F5+LdE2vRgSCBNC6CLgqMJ6fKS3YnMMJ
yc3/iuqRniP/11OllTmOr94/2dl6Xk8TndBqhAacYizxgNCHiPP+NEmwtPqbbE+a
boNqEh0m8NUegxc3qGzon8cJgobgvpw7eml4K1OjgxCw58Y1VQixSKpdHEC1E1o6
RBBwK5bIld97GEi4VPuqYoYvffcD5cDsj9HxqvEWGTXDtu/nKEA0cVe7wI8t1CtR
/kaFoCyYOFu9RE0YprcWT1GpYTHR3TE7+lXYR8vPGdMCMgww1mLCXDAz1G4Y5+1K
WAmiVn3uQqgR9rU/upaM01oOz5LJWtgi5gDV8zX0r41i8pYYQNvGiSvvw1pQJB5Q
sFyuVNU6hOCQ+zLssfmxnhRpgM3hn07gV+LFAg+ly6WQsl9W6m8WpJ7SgLeByb7g
teT+ml7wTuFZIiPbqD3Pq0grRZir3n3NuphUk9YwR2jN4hHXEDiQ9f4D4SY41RT3
lW7roK+oM1K3N4cDin+WyGiFFLyWrwrlXWmHN5A3pOf+0rQUooZdUTGSU0N9v9Ho
17x/+aDAeCMEl7y0GfEoglNxCjoVj70E9oJL21amziZAUOXobhuzeb0dWJmAtXoj
wETYW6QH8m80eEyvKfkLsQ2Sd360ILhRJtyN1HFJAQbsC3C0VYiqA3kjN4S1Zfeg
08/odqdi0a7GSTm/h+iT3rimXXS2TLfSYIzI14LZDCeCz33tX13WQrhGPbYEJBHX
PKc1ws0HHBwdpM8d+liPHm+Czt2/sbcGCNBWSPWWZpL+uzeh9HQYEUoefk88JCPD
xQlANh8BCzq0L1pYNZdOYVNb0fT1XluuP8xtIePsNHIsKRURDlCjaEAY41DwXmTp
DFRd41BLFZztX5jtMGw4lb3RplcaaRhxCEF51hRJQdb5HMpn4cr2Hqy5UP+ke2vV
0DVRi0jp7Mkp/+qdEEotWT1AxSeYoiW7j/GwlC8tqAC9NoMmcHAuOGF5fHshxz/L
lnWSHiPjfLezpfryBwb5D4+3/TFEzc8gPsco/Ip7qU1+wMObTLs9Nq1ROW/aClYU
A/a5DyCQUHaHyYRse/BLTXxr2gsMCm7qaTdCy+pZcL1f+YEISHtITuA38eGfQzTX
cX/k75t7+mKW4nKBBT/SZbBT27gEeZpAn8ORaMixedBQZmoFHLKNlrf+F+fBFfhp
J4NFeBFnEpa3YrPVgLTJY6yN0gummIC8GA7EpggdAcNTbp5EU+IHlHhExhzr+W+f
YCOdD4Zt6LMZjAlpId2APn9NMscpwT59K/61n1CjElpWPwfTW2hyto7/1q0fIgwK
z2E615qLFJa+EFR8hTFz0wjNUOCrDgS7K7STQbGaFfjmAe2LUFZhTm86u6K0fnUY
sNJeDSnvDYEQD1MUiezD06MmzdEHqJHNKztoahqPsQIktH84RGdc1oTPMS4PLwLM
JJmEHqLF7I8T6L+BvMp2LhZTrx3g1qU4wZRC5Rys7J5WR5E+v8XttEcViEO4Lrdr
wNRoroHuXLw4nOzM58DS5cHGliw4BeErQ6XC0aan2EM789Us3Hrx0zerfIOyUdBe
N39sh8X4jo7YHMBH3yqVsAIU3e8c2Z2rayP7+AyUncAfff9EH3BNpIkQIG3xsqh1
oimmuNBEFKy1F1rSP3NQvwcZVw==
-----END ENCRYPTED PRIVATE KEY-----
`;
const openSSHPrivateKey = /* NOSONAR */ `-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAQEA4r66AJdnJBwsKDyTr4QizQYMVhaFtcBcMcVuJHbKW/DtG985oA2V
hJRfcBz8MKNS9iTLRkgq4yoTVCIi5FDVU4EnQbLMoLfN2og6PpgSSL59bPUvYoenp6RS1i
R606eVakH/J6IIiadHMWBrLjCiChf5U/bvuSkUQWi0YLH9hI6Nw+S9MdwzBofshZZdww9Y
4udrWEVdfGrxWv5gjlaquxYZAnfaYCI0Pgh9v1nEALFufOVi1onUZaxduyvsLoQnXiwP2c
fWXsBYmjfViTTADTvHTLCF9IH+6heGk2WJkosgiajmMlc+1U7Xs+r5ZJ0ikt0ioydPN8Hi
LnVih6lENwAAA7hrsy+Ha7MvhwAAAAdzc2gtcnNhAAABAQDivroAl2ckHCwoPJOvhCLNBg
xWFoW1wFwxxW4kdspb8O0b3zmgDZWElF9wHPwwo1L2JMtGSCrjKhNUIiLkUNVTgSdBssyg
t83aiDo+mBJIvn1s9S9ih6enpFLWJHrTp5VqQf8nogiJp0cxYGsuMKIKF/lT9u+5KRRBaL
Rgsf2Ejo3D5L0x3DMGh+yFll3DD1ji52tYRV18avFa/mCOVqq7FhkCd9pgIjQ+CH2/WcQA
sW585WLWidRlrF27K+wuhCdeLA/Zx9ZewFiaN9WJNMANO8dMsIX0gf7qF4aTZYmSiyCJqO
YyVz7VTtez6vlknSKS3SKjJ083weIudWKHqUQ3AAAAAwEAAQAAAQBmKTj0+0JlaqwalPCV
rBth9M+qGgu0kC753dJ6a2tRcYPjgvgbvQMY8SDvCqA16eB/NqS/zdRE9bgvuBGwfRsgvJ
hLaZv47de6FpbnjOzwCaPJa88lvak0Rz1rbpRIuMEBVyr3WHIwU0YoYSDpdtALbDHSOvhX
nMKblelvh8KJ7jelix2R3llvcYexKdS66zzP7nPj5x8d1FDo2cxqWsy2aQxMlbZGTd3ujQ
ABzZGvI3L0tJRf4sPph/eLS28/teAExp5Uo9DuehqgU33iAYOaO2vZGqQJxBbaVtiarVK1
kRQLBrhieMIUJ9XHSwDn74VHWtBNfocTSPe6vbVMjLpBAAAAgGBTluv8WHqG1JTauYNjBI
EhSKL96MrIZR+fytEg3gcxitPnpQiPTP6XHXpQ7fxVk25bYvCj4QNi00jW6kBR46Zh90NI
nKgYvxdYoA5A7L6JvvByy00SbLssiM7kf3ByT/4EA8S911Q4cks8lKrwEUw+UzqTBR6QdG
JyZQQcUJa+AAAAgQDyIYjECyG91/X+zFYcecW+wWyLBzyEvOxFlRd4tZnvWknQTdtFqTlN
orTT+un1ygKe0DkfwXSbbjE69+xxlMtPQ2X6wd2mUruvtyBv1R8Kfj+doY5lFUfCEKj88u
ck1+Ol1K+KDnvlYZVnb5eCvMxmEMqyD+eTQ2EcNAJtjNmuDQAAAIEA77uU45tseIe9E6OZ
Hum2bUxQmqkpjrNCECiTJR99NUx+22sBZwrMAt3QzBwgSogQhLKAw+keEUG6zAl7UA6Lsc
vJdDllY2vYMRW9LZ1XNCxvl0i6QUsT8l9hwA9GuMQN1m6NRU+cnEU87KIXVBb+DRyZwo21
4WRkAc1Ru/KtrlMAAAAAAQID
-----END OPENSSH PRIVATE KEY-----
`;
const formatsData = [
{
input: `
-----BEGIN PGP PUBLIC KEY BLOCK-----
xjMEZkHgaRYJKwYBBAHaRw8BAQdAdCmEzdpkjMzOoNkzgDFk/CHd+6uYAWkZ
BPbjEzTJWtfNAMKMBBAWCgA+BYJmQeBpBAsJBwgJkEDKj7jnGr9wAxUICgQW
AAIBAhkBApsDAh4BFiEExfkkog7+aHz7TqepQMqPuOcav3AAAJaaAQCayvFQ
jxFbC7oOzX+8wOV8gmXVXXqI5dtLQYY3SeyqmwD/ftVwwe6Prl0vVFyLB/5y
lIpAti8AK1Lv8hIezzOx4QDOOARmQeBpEgorBgEEAZdVAQUBAQdA2jU3Rmt7
nMFvqyjgKdVjK5o2CQI2vJiSzn8cfV1piEgDAQgHwngEGBYKACoFgmZB4GkJ
kEDKj7jnGr9wApsMFiEExfkkog7+aHz7TqepQMqPuOcav3AAABI0AQCMW4Hg
FuIaZk9LVQsUmNknj4a70fzwDYWUYvq0C1iy/QD+KXvLKfcmky5OXJA7RsRV
SN2a4SE4c8FH22uyirzyUww=
=w51K
-----END PGP PUBLIC KEY BLOCK-----
`,
pass: '',
type: 'PGP Public Key',
},
{
// NOSONAR
input: `
-----BEGIN PGP PRIVATE KEY BLOCK-----
xVgEZkHgaRYJKwYBBAHaRw8BAQdAdCmEzdpkjMzOoNkzgDFk/CHd+6uYAWkZ
BPbjEzTJWtcAAQDXcDgEziqd9ZO/OpoyblRRxAOgPq2y8zTitwTz+ixX7RCe
zQDCjAQQFgoAPgWCZkHgaQQLCQcICZBAyo+45xq/cAMVCAoEFgACAQIZAQKb
AwIeARYhBMX5JKIO/mh8+06nqUDKj7jnGr9wAACWmgEAmsrxUI8RWwu6Ds1/
vMDlfIJl1V16iOXbS0GGN0nsqpsA/37VcMHuj65dL1Rciwf+cpSKQLYvACtS
7/ISHs8zseEAx10EZkHgaRIKKwYBBAGXVQEFAQEHQNo1N0Zre5zBb6so4CnV
YyuaNgkCNryYks5/HH1daYhIAwEIBwAA/2PxYHVWBmkLD9eiFDLJ0EtspWQ+
JKui86xylduxQWngEIrCeAQYFgoAKgWCZkHgaQmQQMqPuOcav3ACmwwWIQTF
+SSiDv5ofPtOp6lAyo+45xq/cAAAEjQBAIxbgeAW4hpmT0tVCxSY2SePhrvR
/PANhZRi+rQLWLL9AP4pe8sp9yaTLk5ckDtGxFVI3ZrhIThzwUfba7KKvPJT
DA==
=hSgY
-----END PGP PRIVATE KEY BLOCK-----
`,
pass: '',
type: 'PGP Private Key',
},
{
input: `
-----BEGIN CERTIFICATE REQUEST-----
MIIClTCCAX0CAQAwUDERMA8GA1UEAxMIdGVzdC5jb20xDzANBgNVBAYTBkZyYW5j
ZTELMAkGA1UECBMCRlIxDjAMBgNVBAcTBVBhcmlzMQ0wCwYDVQQKEwRUZXN0MIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnIUCiMFffkHGuAhwTaW84uh7
/03KcfQAZB/bZKqLaxtcBGryTB1gHFSsl3uFlW+tIcjsboWnQ2JB0J1Z5Fp4a6IA
/62S6GTo6dAd9f73TR+P2vQghZOtiCoc7CN2KlosIx/EWMcMjq+CBzLRjjOOR8tX
Yn4ZAhPInO1ZGPMEpfEEfn44aJFRGaMy4KEU+RpTzFKFW6bialvKC3yGPegQ4wcz
AqvyUc9WUwG53HYLSJHldg8tZnpiJBNUh8mXiIiw51MFJ4Q9RVnz9vuoHgC6FmUv
qlg/R4gjGGfjDhAIUtz+Y98Dl+xfLmD+EzY7KQ1ur412BvQ8rXankNGLA2ea+wID
AQABoAAwDQYJKoZIhvcNAQEFBQADggEBABdtkhFSwgaXZWTcKrz6oarvuaQkrjvs
Nk9lUs1h/dfhJpnE3iZA0CuNp5PVQRdC2g+/37r21/udjNFdrX1Rm6/ldG0b2xDu
nQYZcLpIVB0fZ2TB+FHthmGw175I2niWIfNJQhIqnWJXi8unkGTMP2cD6j3axtMi
K8MUVPhWmL11ojEXItG35AU79G6GhFxel9wIByqsXreCUyOcrpYCHy2Fv85ivdE1
JyEQ2tE/f+cKwNg4yJNFoCoHSSFRn61F12J4m2nwpQ77VfD66oVkWtk/gYMrwx0d
4FlJNs+NtZDlcM7fJLNo7YsMdne7hl4aL6WG96kdWdxYEt/2dl3WXbY=
-----END CERTIFICATE REQUEST-----
`,
pass: '',
type: 'Certificate Signing Request',
},
{
input: `
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDivroAl2ckHCwoPJOvhCLNBgxWFoW1wFwxxW4kdspb8O0b3zmgDZWElF9wHPwwo1L2JMtGSCrjKhNUIiLkUNVTgSdBssygt83aiDo+mBJIvn1s9S9ih6enpFLWJHrTp5VqQf8nogiJp0cxYGsuMKIKF/lT9u+5KRRBaLRgsf2Ejo3D5L0x3DMGh+yFll3DD1ji52tYRV18avFa/mCOVqq7FhkCd9pgIjQ+CH2/WcQAsW585WLWidRlrF27K+wuhCdeLA/Zx9ZewFiaN9WJNMANO8dMsIX0gf7qF4aTZYmSiyCJqOYyVz7VTtez6vlknSKS3SKjJ083weIudWKHqUQ3
`,
pass: '',
type: 'Public Key',
title: 'ssh-rsa Public Key',
},
{
input: openSSHPrivateKey,
pass: '',
type: 'Private Key',
title: 'Unencrypted Private Key',
},
{
input: `
SHA256:qflg623OemnYEHDwUafq+XuMoB0UdJ+Ks44kHcWxDyM
`,
pass: '',
type: 'Fingerprint',
},
{
input: `
-----BEGIN CERTIFICATE-----
MIIDQDCCAiigAwIBAgIJK59gK0GUbZO3MA0GCSqGSIb3DQEBBQUAMFAxETAPBgNV
BAMTCHRlc3QuY29tMQ8wDQYDVQQGEwZGcmFuY2UxCzAJBgNVBAgTAkZSMQ4wDAYD
VQQHEwVQYXJpczENMAsGA1UEChMEVGVzdDAeFw0yNDA1MTMwOTQ4MTVaFw0yNTA1
MTMwOTQ4MTVaMFAxETAPBgNVBAMTCHRlc3QuY29tMQ8wDQYDVQQGEwZGcmFuY2Ux
CzAJBgNVBAgTAkZSMQ4wDAYDVQQHEwVQYXJpczENMAsGA1UEChMEVGVzdDCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKrE3C9tUtmvHZkIwEBf1h5N7KC
FoXowfNZxKK7SHWcnQjBdv0ziqsU+GmcUqUD1GymMcBweqw4TQVg0a/UwdYIUTuQ
GXGx4ULCXKHv/NfmVSWcMsOZHAR4m/yEzTB/ZjKMSrqnIWyOdusDMRn4VRoAtrKO
/FM+SDJ6wvnJ/jNoZJXktq9avYduEi+heNekIF6NYM9clzm9Ff3Evf89KuigBcsu
rgL+S8PjotCwxMgzOWV4/paeeQluqYeU94prWIASS/D3elH7qFTAUnafBICFN2zs
XWY6ZFCR8QrDI5F/8KELq/3BaLQBxpIi9SmADLWqnPOu+6H5rzr2YV8LaxMCAwEA
AaMdMBswDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAvQwDQYJKoZIhvcNAQEFBQAD
ggEBAKhrUNnWe0VmgefvfwsAqrbk0Z6PwaibIl/l5I9oh1qM01J9BFHpvomhcLxu
cmIpD6nAqtkNyvsXtFAnZG3WNaf45yyd153wSa0QnrNo2GRH9quktm4DaRIIP7qq
EdtApYCeT16LvAGYUH3ubCdom8w6DkukLg8qMrXMywSZlx85jlJfifPvMKsJmm/a
QAq1H3cYaaj0DocF1rCP+hLzvsuM7UwS2JOK8Mw49kYPBTbCVmRDOE1rhlDIO8Kw
V7CCFr4NXsyRlM0TpKdspOmxJiyxmk6DoVgp9PeqfoyDAC9TJU0VJ6A2x+AfjK4O
Wg6xDXMx6dk6Rhh8yqGrmx05QM8=
-----END CERTIFICATE-----
`,
pass: '',
type: 'Certificate',
},
{
input: `
c6:b9:73:b8:68:49:33:ad:27:51:bb:6c:16:e7:9c:da:dd:e3:92:15
`,
pass: '',
type: 'Fingerprint',
title: 'HEX Fingerprint',
},
{
input: encryptedPrivateKey,
pass: 'test',
type: 'Private Key',
title: 'Encrypted Private Key',
},
];
describe('certificate-key-parser', () => {
for (const format of formatsData) {
const { input, pass, type, title } = format;
it(`Parse '${title ?? type}' format with right type (${type})`, async () => {
const { values } = await getKeyOrCertificateInfosAsync(input, pass);
const result_type = values.find(v => v.label === 'Type:')?.value;
expect(result_type).toBe(type);
});
}
});
@@ -0,0 +1,129 @@
import type { Buffer } from 'node:buffer';
import {
parseCertificate, parseFingerprint,
parseKey,
parsePrivateKey,
parseSignature,
} from 'sshpk';
import type {
AlgorithmType,
Certificate,
CertificateFormat,
Fingerprint,
Key,
PrivateKey, Signature, SignatureFormatType,
} from 'sshpk';
import { Base64 } from 'js-base64';
import * as openpgp from 'openpgp';
import * as forge from 'node-forge';
import { type LabelValue, getCSRLabelValues, getCertificateLabelValues, getFingerprintLabelValues, getPGPPrivateKeyLabelValuesAsync, getPGPPublicKeyLabelValuesAsync, getPrivateKeyLabelValues, getPublicKeyLabelValues, getSignatureLabelValues } from './certificate-key-parser.infos';
export async function getKeyOrCertificateInfosAsync(keyOrCertificateValue: string | Buffer, passphrase: string) {
try {
const canParse = (value: string | Buffer, parseFunction: (value: string | Buffer) => any) => {
try {
return parseFunction(value);
}
catch {
return null;
}
};
const canParseAsync = async (value: string | Buffer, parseFunction: (value: string | Buffer) => Promise<any>) => {
try {
return await parseFunction(value);
}
catch {
return null;
}
};
const inputKeyOrCertificateValue = (typeof keyOrCertificateValue === 'string' ? keyOrCertificateValue?.trim() : keyOrCertificateValue);
const privateKey = canParse(inputKeyOrCertificateValue,
value => parsePrivateKey(value, 'auto', { passphrase })) as PrivateKey;
if (privateKey) {
return {
values: getPrivateKeyLabelValues(privateKey),
};
}
const publicKey = canParse(inputKeyOrCertificateValue, parseKey) as Key;
if (publicKey) {
return { values: getPublicKeyLabelValues(publicKey) };
}
const pgpPrivateKey = await canParseAsync(inputKeyOrCertificateValue, value => openpgp.readPrivateKey({ armoredKey: value.toString() })) as openpgp.Key;
if (pgpPrivateKey) {
return { values: await getPGPPrivateKeyLabelValuesAsync(pgpPrivateKey) };
}
const pgpPublicKey = await canParseAsync(inputKeyOrCertificateValue, value => openpgp.readKey({ armoredKey: value.toString() })) as openpgp.Key;
if (pgpPublicKey) {
return { values: await getPGPPublicKeyLabelValuesAsync(pgpPublicKey) };
}
const cert = canParse(inputKeyOrCertificateValue, (value) => {
for (const format of ['openssh', 'pem', 'x509']) {
try {
return parseCertificate(value, format as CertificateFormat);
}
catch {}
}
return null;
}) as Certificate;
if (cert) {
let certificateX509DER = '';
try {
certificateX509DER = Base64.fromUint8Array(cert.toBuffer('x509'));
}
catch {}
return { values: getCertificateLabelValues(cert), certificateX509DER };
}
const csr = canParse(inputKeyOrCertificateValue, (value) => {
return forge.pki.certificationRequestFromPem(value.toString(), false, false);
}) as forge.pki.Certificate;
if (csr) {
return { values: getCSRLabelValues(csr) };
}
const fingerprint = canParse(inputKeyOrCertificateValue, value => parseFingerprint(value.toString())) as Fingerprint;
if (fingerprint) {
return { values: getFingerprintLabelValues(fingerprint) };
}
const signature = canParse(inputKeyOrCertificateValue, (value) => {
//
for (const algo of ['dsa', 'rsa', 'ecdsa', 'ed25519']) {
for (const format of ['asn1', 'ssh', 'raw']) {
try {
return parseSignature(value, algo as AlgorithmType, format as SignatureFormatType);
}
catch {}
}
}
return null;
}) as Signature;
if (signature) {
return { values: getSignatureLabelValues(signature) };
}
return {
values: [
{
label: 'Type:',
value: 'Unknown format or invalid passphrase',
}],
};
}
catch (e: any) {
return {
values: [
{
label: 'Error:',
value: e.toString(),
}] as LabelValue[],
};
}
}
@@ -0,0 +1,120 @@
<script setup lang="ts">
import { Buffer } from 'node:buffer';
import { getKeyOrCertificateInfosAsync } from './certificate-key-parser.service';
import { type LabelValue } from './certificate-key-parser.infos';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
const inputKeyOrCertificate = ref('');
const passphrase = ref('');
const fileInput = ref() as Ref<Buffer>;
const inputType = ref<'file' | 'content'>('file');
async function onUpload(file: File) {
if (file) {
fileInput.value = Buffer.from(await file.arrayBuffer());
inputKeyOrCertificate.value = '';
}
}
const certificateX509DER = ref('');
const { download: downloadX509DER } = useDownloadFileFromBase64(
{
source: certificateX509DER,
extension: 'der',
});
function downloadX509DERFile() {
if (certificateX509DER.value === '') {
return;
}
try {
downloadX509DER();
}
catch (_) {
//
}
}
const parsedSections = computedAsync<LabelValue[]>(async () => {
const inputContent = inputKeyOrCertificate.value;
const file = fileInput.value;
let inputKeyOrCertificateValue: string | Buffer = '';
if (inputType.value === 'file' && file) {
inputKeyOrCertificateValue = file;
}
else if (inputType.value === 'content' && inputContent) {
inputKeyOrCertificateValue = inputContent;
}
const { values, certificateX509DER: certPEM } = await getKeyOrCertificateInfosAsync(inputKeyOrCertificateValue, passphrase.value);
certificateX509DER.value = certPEM || '';
return values;
});
</script>
<template>
<div>
<c-card>
<n-radio-group v-model:value="inputType" name="radiogroup" mb-2 flex justify-center>
<n-space>
<n-radio
value="file"
label="File"
/>
<n-radio
value="content"
label="Content"
/>
</n-space>
</n-radio-group>
<c-file-upload
v-if="inputType === 'file'"
title="Drag and drop a Certificate file here, or click to select a Certificate file"
@file-upload="onUpload"
/>
<c-input-text
v-if="inputType === 'content'"
v-model:value="inputKeyOrCertificate"
label="Paste your Public Key / Private Key / Signature / Fingerprint / Certificate:"
placeholder="Your Public Key / Private Key / Signature / Fingerprint / Certificate..."
multiline
rows="8"
data-test-id="input"
/>
</c-card>
<c-input-text
v-model:value="passphrase"
label="Passphrase (for encrypted keys):"
placeholder="Passphrase (for encrypted keys)..."
type="password"
data-test-id="pass"
/>
<n-divider />
<input-copyable
v-for="{ label, value, multiline } of parsedSections"
:key="label"
:label="label"
:data-test-id="label"
label-position="left"
label-width="100px"
label-align="right"
autosize mb-2
:multiline="multiline"
:value="value"
placeholder="Not Set"
/>
<div v-if="certificateX509DER !== ''" flex justify-center>
<c-button @click="downloadX509DERFile()">
Download X509 DER certificate
</c-button>
</div>
</div>
</template>
+12
View File
@@ -0,0 +1,12 @@
import { FileCertificate } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Certificate/Key parser',
path: '/certificate-key-parser',
description: 'Parse Key and Certificate',
keywords: ['certificate', 'key', 'parser'],
component: () => import('./certificate-key-parser.vue'),
icon: FileCertificate,
createdAt: new Date('2024-02-22'),
});
+867
View File
@@ -0,0 +1,867 @@
{"2.5.4.3": "CN",
"2.5.4.4": "Surname",
"2.5.4.6": "C",
"2.5.4.7": "Cidade",
"2.5.4.8": "Estado",
"2.5.4.9": "StreetAddress",
"2.5.4.10": "O",
"2.5.4.11": "OU",
"2.5.4.12": "Title",
"2.5.4.20": "TelephoneNumber",
"2.5.4.42": "GivenName",
"2.5.29.14": "id-ce-subjectKeyIdentifier",
"2.5.29.15": "id-ce-keyUsage",
"2.5.29.17": "id-ce-subjectAltName",
"2.5.29.19": "id-ce-basicConstraints",
"2.5.29.20": "id-ce-cRLNumber",
"2.5.29.31": "id-ce-CRLDistributionPoints",
"2.5.29.32": "id-ce-certificatePolicies",
"2.5.29.35": "id-ce-authorityKeyIdentifier",
"2.5.29.37": "id-ce-extKeyUsage",
"1.2.840.113549.1.9.1": "Email",
"1.2.840.113549.1.1.1": "RSAEncryption",
"1.2.840.113549.1.1.2": "md2WithRSAEncryption",
"1.2.840.113549.1.1.4": "md5withRSAEncryption",
"1.2.840.113549.1.1.5": "SHA-1WithRSAEncryption",
"1.2.840.10040.4.3": "id-dsa-with-sha-1",
"1.3.6.1.5.5.7.3.2": "id_kp_clientAuth",
"1.3.6.1.5.5.7.3.4": "id_kp_securityemail",
"1.3.6.1.5.5.7.2.1": "id_certificatePolicies",
"2.16.840.1.113730.1.1": "netscape-cert-type",
"2.16.840.1.113730.1.2": "netscape-base-url",
"2.16.840.1.113730.1.3": "netscape-revocation-url",
"2.16.840.1.113730.1.4": "netscape-ca-revocation-url",
"2.16.840.1.113730.1.7": "netscape-cert-renewal-url",
"2.16.840.1.113730.1.8": "netscape-ca-policy-url",
"2.16.840.1.113730.1.12": "netscape-ssl-server-name",
"2.16.840.1.113730.1.13": "netscape-comment",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.1.16": "Certification Practice Statement pointer",
"2.16.76.1.3.1": "Dados do cert parte 1",
"2.16.76.1.3.5": "Dados do cert parte 2",
"2.16.76.1.3.6": "Dados do cert parte 3",
"0.9.2342.19200300.100.1.25": "domainComponent",
"1.2.36.68980861.1.1.10": "Signet pilot",
"1.2.36.68980861.1.1.11": "Signet intraNet",
"1.2.36.68980861.1.1.2": "Signet personal",
"1.2.36.68980861.1.1.20": "Signet securityPolicy",
"1.2.36.68980861.1.1.3": "Signet business",
"1.2.36.68980861.1.1.4": "Signet legal",
"1.2.36.75878867.1.100.1.1": "Certificates Australia policyIdentifier",
"1.2.752.34.1": "seis-cp",
"1.2.752.34.1.1": "SEIS certificatePolicy-s10",
"1.2.752.34.2": "SEIS pe",
"1.2.752.34.3": "SEIS at",
"1.2.752.34.3.1": "SEIS at-personalIdentifier",
"1.2.840.10040.2.1": "holdinstruction-none",
"1.2.840.10040.2.2": "holdinstruction-callissuer",
"1.2.840.10040.2.3": "holdinstruction-reject",
"1.2.840.10040.4.1": "dsa",
"1.2.840.10040.4.3": "dsaWithSha1",
"1.2.840.10045.1": "fieldType",
"1.2.840.10045.1.1": "prime-field",
"1.2.840.10045.1.2": "characteristic-two-field",
"1.2.840.10045.1.2.1": "ecPublicKey",
"1.2.840.10045.1.2.3": "characteristic-two-basis",
"1.2.840.10045.1.2.3.1": "onBasis",
"1.2.840.10045.1.2.3.2": "tpBasis",
"1.2.840.10045.1.2.3.3": "ppBasis",
"1.2.840.10045.2": "publicKeyType",
"1.2.840.10045.2.1": "ecPublicKey",
"1.2.840.10046.2.1": "dhPublicNumber",
"1.2.840.113533.7": "nsn",
"1.2.840.113533.7.65": "nsn-ce",
"1.2.840.113533.7.65.0": "entrustVersInfo",
"1.2.840.113533.7.66": "nsn-alg",
"1.2.840.113533.7.66.10": "cast5CBC",
"1.2.840.113533.7.66.11": "cast5MAC",
"1.2.840.113533.7.66.12": "pbeWithMD5AndCAST5-CBC",
"1.2.840.113533.7.66.13": "passwordBasedMac",
"1.2.840.113533.7.66.3": "cast3CBC",
"1.2.840.113533.7.67": "nsn-oc",
"1.2.840.113533.7.67.0": "entrustUser",
"1.2.840.113533.7.68": "nsn-at",
"1.2.840.113533.7.68.0": "entrustCAInfo",
"1.2.840.113533.7.68.10": "attributeCertificate",
"1.2.840.113549.1.1": "pkcs-1",
"1.2.840.113549.1.1.1": "rsaEncryption",
"1.2.840.113549.1.1.2": "md2withRSAEncryption",
"1.2.840.113549.1.1.3": "md4withRSAEncryption",
"1.2.840.113549.1.1.4": "md5withRSAEncryption",
"1.2.840.113549.1.1.5": "sha1withRSAEncryption",
"1.2.840.113549.1.1.6": "rsaOAEPEncryptionSET",
"1.2.840.113549.1.9.16.2.11": "SMIMEEncryptionKeyPreference",
"1.2.840.113549.1.12": "pkcs-12",
"1.2.840.113549.1.12.1": "pkcs-12-PbeIds",
"1.2.840.113549.1.12.1.1": "pbeWithSHAAnd128BitRC4",
"1.2.840.113549.1.12.1.2": "pbeWithSHAAnd40BitRC4",
"1.2.840.113549.1.12.1.3": "pbeWithSHAAnd3-KeyTripleDES-CBC",
"1.2.840.113549.1.12.1.4": "pbeWithSHAAnd2-KeyTripleDES-CBC",
"1.2.840.113549.1.12.1.5": "pbeWithSHAAnd128BitRC2-CBC",
"1.2.840.113549.1.12.1.6": "pbeWithSHAAnd40BitRC2-CBC",
"1.2.840.113549.1.12.10": "pkcs-12Version1",
"1.2.840.113549.1.12.10.1": "pkcs-12BadIds",
"1.2.840.113549.1.12.10.1.1": "pkcs-12-keyBag",
"1.2.840.113549.1.12.10.1.2": "pkcs-12-pkcs-8ShroudedKeyBag",
"1.2.840.113549.1.12.10.1.3": "pkcs-12-certBag",
"1.2.840.113549.1.12.10.1.4": "pkcs-12-crlBag",
"1.2.840.113549.1.12.10.1.5": "pkcs-12-secretBag",
"1.2.840.113549.1.12.10.1.6": "pkcs-12-safeContentsBag",
"1.2.840.113549.1.12.2": "pkcs-12-ESPVKID",
"1.2.840.113549.1.12.2.1": "pkcs-12-PKCS8KeyShrouding",
"1.2.840.113549.1.12.3": "pkcs-12-BagIds",
"1.2.840.113549.1.12.3.1": "pkcs-12-keyBagId",
"1.2.840.113549.1.12.3.2": "pkcs-12-certAndCRLBagId",
"1.2.840.113549.1.12.3.3": "pkcs-12-secretBagId",
"1.2.840.113549.1.12.3.4": "pkcs-12-safeContentsId",
"1.2.840.113549.1.12.3.5": "pkcs-12-pkcs-8ShroudedKeyBagId",
"1.2.840.113549.1.12.4": "pkcs-12-CertBagID",
"1.2.840.113549.1.12.4.1": "pkcs-12-X509CertCRLBagID",
"1.2.840.113549.1.12.4.2": "pkcs-12-SDSICertBagID",
"1.2.840.113549.1.12.5": "pkcs-12-OID",
"1.2.840.113549.1.12.5.1": "pkcs-12-PBEID",
"1.2.840.113549.1.12.5.1.1": "pkcs-12-PBEWithSha1And128BitRC4",
"1.2.840.113549.1.12.5.1.2": "pkcs-12-PBEWithSha1And40BitRC4",
"1.2.840.113549.1.12.5.1.3": "pkcs-12-PBEWithSha1AndTripleDESCBC",
"1.2.840.113549.1.12.5.1.4": "pkcs-12-PBEWithSha1And128BitRC2CBC",
"1.2.840.113549.1.12.5.1.5": "pkcs-12-PBEWithSha1And40BitRC2CBC",
"1.2.840.113549.1.12.5.1.6": "pkcs-12-PBEWithSha1AndRC4",
"1.2.840.113549.1.12.5.1.7": "pkcs-12-PBEWithSha1AndRC2CBC",
"1.2.840.113549.1.12.5.2": "pkcs-12-EnvelopingID",
"1.2.840.113549.1.12.5.2.1": "pkcs-12-RSAEncryptionWith128BitRC4",
"1.2.840.113549.1.12.5.2.2": "pkcs-12-RSAEncryptionWith40BitRC4",
"1.2.840.113549.1.12.5.2.3": "pkcs-12-RSAEncryptionWithTripleDES",
"1.2.840.113549.1.12.5.3": "pkcs-12-SignatureID",
"1.2.840.113549.1.12.5.3.1": "pkcs-12-RSASignatureWithSHA1Digest",
"1.2.840.113549.1.3": "pkcs-3",
"1.2.840.113549.1.3.1": "dhKeyAgreement",
"1.2.840.113549.1.5": "pkcs-5",
"1.2.840.113549.1.5.1": "pbeWithMD2AndDES-CBC",
"1.2.840.113549.1.5.10": "pbeWithSHAAndDES-CBC",
"1.2.840.113549.1.5.3": "pbeWithMD5AndDES-CBC",
"1.2.840.113549.1.5.4": "pbeWithMD2AndRC2-CBC",
"1.2.840.113549.1.5.6": "pbeWithMD5AndRC2-CBC",
"1.2.840.113549.1.5.9": "pbeWithMD5AndXOR",
"1.2.840.113549.1.7": "pkcs-7",
"1.2.840.113549.1.7.1": "data",
"1.2.840.113549.1.7.2": "signedData",
"1.2.840.113549.1.7.3": "envelopedData",
"1.2.840.113549.1.7.4": "signedAndEnvelopedData",
"1.2.840.113549.1.7.5": "digestData",
"1.2.840.113549.1.7.6": "encryptedData",
"1.2.840.113549.1.7.7": "dataWithAttributes",
"1.2.840.113549.1.7.8": "encryptedPrivateKeyInfo",
"1.2.840.113549.1.9": "pkcs-9",
"1.2.840.113549.1.9.1": "emailAddress",
"1.2.840.113549.1.9.10": "issuerAndSerialNumber",
"1.2.840.113549.1.9.11": "passwordCheck",
"1.2.840.113549.1.9.12": "publicKey",
"1.2.840.113549.1.9.13": "signingDescription",
"1.2.840.113549.1.9.14": "extensionReq",
"1.2.840.113549.1.9.15": "sMIMECapabilities",
"1.2.840.113549.1.9.15.1": "preferSignedData",
"1.2.840.113549.1.9.15.2": "canNotDecryptAny",
"1.2.840.113549.1.9.15.3": "receiptRequest",
"1.2.840.113549.1.9.15.4": "receipt",
"1.2.840.113549.1.9.15.5": "contentHints",
"1.2.840.113549.1.9.15.6": "mlExpansionHistory",
"1.2.840.113549.1.9.16": "id-sMIME",
"1.2.840.113549.1.9.16.0": "id-mod",
"1.2.840.113549.1.9.16.0.1": "id-mod-cms",
"1.2.840.113549.1.9.16.0.2": "id-mod-ess",
"1.2.840.113549.1.9.16.1": "id-ct",
"1.2.840.113549.1.9.16.1.1": "id-ct-receipt",
"1.2.840.113549.1.9.16.2": "id-aa",
"1.2.840.113549.1.9.16.2.1": "id-aa-receiptRequest",
"1.2.840.113549.1.9.16.2.2": "id-aa-securityLabel",
"1.2.840.113549.1.9.16.2.3": "id-aa-mlExpandHistory",
"1.2.840.113549.1.9.16.2.4": "id-aa-contentHint",
"1.2.840.113549.1.9.2": "unstructuredName",
"1.2.840.113549.1.9.20": "friendlyName",
"1.2.840.113549.1.9.21": "localKeyID",
"1.2.840.113549.1.9.22": "certTypes",
"1.2.840.113549.1.9.22.1": "x509Certificate",
"1.2.840.113549.1.9.22.2": "sdsiCertificate",
"1.2.840.113549.1.9.23": "crlTypes",
"1.2.840.113549.1.9.23.1": "x509Crl",
"1.2.840.113549.1.9.3": "contentType",
"1.2.840.113549.1.9.4": "messageDigest",
"1.2.840.113549.1.9.5": "signingTime",
"1.2.840.113549.1.9.6": "countersignature",
"1.2.840.113549.1.9.7": "challengePassword",
"1.2.840.113549.1.9.8": "unstructuredAddress",
"1.2.840.113549.1.9.9": "extendedCertificateAttributes",
"1.2.840.113549.2": "digestAlgorithm",
"1.2.840.113549.2.2": "md2",
"1.2.840.113549.2.4": "md4",
"1.2.840.113549.2.5": "md5",
"1.2.840.113549.3": "encryptionAlgorithm",
"1.2.840.113549.3.10": "desCDMF",
"1.2.840.113549.3.2": "rc2CBC",
"1.2.840.113549.3.3": "rc2ECB",
"1.2.840.113549.3.4": "rc4",
"1.2.840.113549.3.5": "rc4WithMAC",
"1.2.840.113549.3.6": "DESX-CBC",
"1.2.840.113549.3.7": "DES-EDE3-CBC",
"1.2.840.113549.3.8": "RC5CBC",
"1.2.840.113549.3.9": "RC5-CBCPad",
"1.2.840.113556.4.3": "microsoftExcel",
"1.2.840.113556.4.4": "titledWithOID",
"1.2.840.113556.4.5": "microsoftPowerPoint",
"1.3.133.16.840.9.84": "x9-84",
"1.3.133.16.840.9.84.0": "x9-84-Module",
"1.3.133.16.840.9.84.0.1": "x9-84-Biometrics",
"1.3.133.16.840.9.84.0.2": "x9-84-CMS",
"1.3.133.16.840.9.84.0.3": "x9-84-Identifiers",
"1.3.133.16.840.9.84.1": "biometric",
"1.3.133.16.840.9.84.1.0": "id-unknown-Type",
"1.3.133.16.840.9.84.1.1": "id-body-Odor",
"1.3.133.16.840.9.84.1.10": "id-palm",
"1.3.133.16.840.9.84.1.11": "id-retina",
"1.3.133.16.840.9.84.1.12": "id-signature",
"1.3.133.16.840.9.84.1.13": "id-speech-Pattern",
"1.3.133.16.840.9.84.1.14": "id-thermal-Image",
"1.3.133.16.840.9.84.1.15": "id-vein-Pattern",
"1.3.133.16.840.9.84.1.16": "id-thermal-Face-Image",
"1.3.133.16.840.9.84.1.17": "id-thermal-Hand-Image",
"1.3.133.16.840.9.84.1.18": "id-lip-Movement",
"1.3.133.16.840.9.84.1.19": "id-gait",
"1.3.133.16.840.9.84.1.2": "id-dna",
"1.3.133.16.840.9.84.1.3": "id-ear-Shape",
"1.3.133.16.840.9.84.1.4": "id-facial-Features",
"1.3.133.16.840.9.84.1.5": "id-finger-Image",
"1.3.133.16.840.9.84.1.6": "id-finger-Geometry",
"1.3.133.16.840.9.84.1.7": "id-hand-Geometry",
"1.3.133.16.840.9.84.1.8": "id-iris-Features",
"1.3.133.16.840.9.84.1.9": "id-keystroke-Dynamics",
"1.3.133.16.840.9.84.2": "processing-algorithm",
"1.3.133.16.840.9.84.3": "matching-method",
"1.3.133.16.840.9.84.4": "format-Owner",
"1.3.133.16.840.9.84.4.0": "cbeff-Owner",
"1.3.133.16.840.9.84.4.1": "ibia-Owner",
"1.3.133.16.840.9.84.4.1.1": "id-ibia-SAFLINK",
"1.3.133.16.840.9.84.4.1.10": "id-ibia-SecuGen",
"1.3.133.16.840.9.84.4.1.11": "id-ibia-PreciseBiometric",
"1.3.133.16.840.9.84.4.1.12": "id-ibia-Identix",
"1.3.133.16.840.9.84.4.1.13": "id-ibia-DERMALOG",
"1.3.133.16.840.9.84.4.1.14": "id-ibia-LOGICO",
"1.3.133.16.840.9.84.4.1.15": "id-ibia-NIST",
"1.3.133.16.840.9.84.4.1.16": "id-ibia-A3Vision",
"1.3.133.16.840.9.84.4.1.17": "id-ibia-NEC",
"1.3.133.16.840.9.84.4.1.18": "id-ibia-STMicroelectronics",
"1.3.133.16.840.9.84.4.1.2": "id-ibia-Bioscrypt",
"1.3.133.16.840.9.84.4.1.3": "id-ibia-Visionics",
"1.3.133.16.840.9.84.4.1.4": "id-ibia-InfineonTechnologiesAG",
"1.3.133.16.840.9.84.4.1.5": "id-ibia-IridianTechnologies",
"1.3.133.16.840.9.84.4.1.6": "id-ibia-Veridicom",
"1.3.133.16.840.9.84.4.1.7": "id-ibia-CyberSIGN",
"1.3.133.16.840.9.84.4.1.8": "id-ibia-eCryp.",
"1.3.133.16.840.9.84.4.1.9": "id-ibia-FingerprintCardsAB",
"1.3.133.16.840.9.84.4.2": "x9-Owner",
"1.3.14.2.26.5": "sha",
"1.3.14.3.2.1.1": "rsa",
"1.3.14.3.2.10": "desMAC",
"1.3.14.3.2.11": "rsaSignature",
"1.3.14.3.2.12": "dsa",
"1.3.14.3.2.13": "dsaWithSHA",
"1.3.14.3.2.14": "mdc2WithRSASignature",
"1.3.14.3.2.15": "shaWithRSASignature",
"1.3.14.3.2.16": "dhWithCommonModulus",
"1.3.14.3.2.17": "desEDE",
"1.3.14.3.2.18": "sha",
"1.3.14.3.2.19": "mdc-2",
"1.3.14.3.2.2": "md4WitRSA",
"1.3.14.3.2.2.1": "sqmod-N",
"1.3.14.3.2.20": "dsaCommon",
"1.3.14.3.2.21": "dsaCommonWithSHA",
"1.3.14.3.2.22": "rsaKeyTransport",
"1.3.14.3.2.23": "keyed-hash-seal",
"1.3.14.3.2.24": "md2WithRSASignature",
"1.3.14.3.2.25": "md5WithRSASignature",
"1.3.14.3.2.26": "sha1",
"1.3.14.3.2.27": "dsaWithSHA1",
"1.3.14.3.2.28": "dsaWithCommonSHA1",
"1.3.14.3.2.29": "sha-1WithRSAEncryption",
"1.3.14.3.2.3": "md5WithRSA",
"1.3.14.3.2.3.1": "sqmod-NwithRSA",
"1.3.14.3.2.4": "md4WithRSAEncryption",
"1.3.14.3.2.6": "desECB",
"1.3.14.3.2.7": "desCBC",
"1.3.14.3.2.8": "desOFB",
"1.3.14.3.2.9": "desCFB",
"1.3.14.3.3.1": "simple-strong-auth-mechanism",
"1.3.14.7.2.1.1": "ElGamal",
"1.3.14.7.2.3.1": "md2WithRSA",
"1.3.14.7.2.3.2": "md2WithElGamal",
"1.3.36.3": "algorithm",
"1.3.36.3.1": "encryptionAlgorithm",
"1.3.36.3.1.1": "des",
"1.3.36.3.1.1.1.1": "desECBPad",
"1.3.36.3.1.1.1.1.1": "desECBPadISO",
"1.3.36.3.1.1.2.1": "desCBCPad",
"1.3.36.3.1.1.2.1.1": "desCBCPadISO",
"1.3.36.3.1.2": "idea",
"1.3.36.3.1.2.1": "ideaECB",
"1.3.36.3.1.2.1.1": "ideaECBPad",
"1.3.36.3.1.2.1.1.1": "ideaECBPadISO",
"1.3.36.3.1.2.2": "ideaCBC",
"1.3.36.3.1.2.2.1": "ideaCBCPad",
"1.3.36.3.1.2.2.1.1": "ideaCBCPadISO",
"1.3.36.3.1.2.3": "ideaOFB",
"1.3.36.3.1.2.4": "ideaCFB",
"1.3.36.3.1.3": "des-3",
"1.3.36.3.1.3.1.1": "des-3ECBPad",
"1.3.36.3.1.3.1.1.1": "des-3ECBPadISO",
"1.3.36.3.1.3.2.1": "des-3CBCPad",
"1.3.36.3.1.3.2.1.1": "des-3CBCPadISO",
"1.3.36.3.2": "hashAlgorithm",
"1.3.36.3.2.1": "ripemd160",
"1.3.36.3.2.2": "ripemd128",
"1.3.36.3.2.3": "ripemd256",
"1.3.36.3.2.4": "mdc2singleLength",
"1.3.36.3.2.5": "mdc2doubleLength",
"1.3.36.3.3": "signatureAlgorithm",
"1.3.36.3.3.1": "rsa",
"1.3.36.3.3.1.1": "rsaMitSHA-1",
"1.3.36.3.3.1.2": "rsaMitRIPEMD160",
"1.3.36.3.3.2": "ellipticCurve",
"1.3.36.3.4": "signatureScheme",
"1.3.36.3.4.1": "iso9796-1",
"1.3.36.3.4.2.1": "iso9796-2",
"1.3.36.3.4.2.2": "iso9796-2rsa",
"1.3.36.4": "attribute",
"1.3.36.5": "policy",
"1.3.36.6": "api",
"1.3.36.6.1": "manufacturerSpecific",
"1.3.36.6.2": "functionalitySpecific",
"1.3.36.7": "api",
"1.3.36.7.1": "keyAgreement",
"1.3.36.7.2": "keyTransport",
"1.3.6.1.4.1.2428.10.1.1": "UNINETT policyIdentifier",
"1.3.6.1.4.1.2712.10": "ICE-TEL policyIdentifier",
"1.3.6.1.4.1.3029.32.1": "cryptlibEnvelope",
"1.3.6.1.4.1.3029.32.2": "cryptlibPrivateKey",
"1.3.6.1.4.1.311": "Microsoft OID",
"1.3.6.1.4.1.311.10": "Crypto 2.0",
"1.3.6.1.4.1.311.10.1": "certTrustList",
"1.3.6.1.4.1.311.10.1.1": "szOID_SORTED_CTL",
"1.3.6.1.4.1.311.10.10": "Microsoft CMC OIDs",
"1.3.6.1.4.1.311.10.10.1": "szOID_CMC_ADD_ATTRIBUTES",
"1.3.6.1.4.1.311.10.11": "Microsoft certificate property OIDs",
"1.3.6.1.4.1.311.10.11.1": "szOID_CERT_PROP_ID_PREFIX",
"1.3.6.1.4.1.311.10.12": "CryptUI",
"1.3.6.1.4.1.311.10.12.1": "szOID_ANY_APPLICATION_POLICY",
"1.3.6.1.4.1.311.10.2": "nextUpdateLocation",
"1.3.6.1.4.1.311.10.3.1": "certTrustListSigning",
"1.3.6.1.4.1.311.10.3.10": "szOID_KP_QUALIFIED_SUBORDINATION",
"1.3.6.1.4.1.311.10.3.11": "szOID_KP_KEY_RECOVERY",
"1.3.6.1.4.1.311.10.3.12": "szOID_KP_DOCUMENT_SIGNING",
"1.3.6.1.4.1.311.10.3.2": "timeStampSigning",
"1.3.6.1.4.1.311.10.3.3": "serverGatedCrypto",
"1.3.6.1.4.1.311.10.3.3.1": "szOID_SERIALIZED",
"1.3.6.1.4.1.311.10.3.4": "encryptedFileSystem",
"1.3.6.1.4.1.311.10.3.4.1": "szOID_EFS_RECOVERY",
"1.3.6.1.4.1.311.10.3.5": "szOID_WHQL_CRYPTO",
"1.3.6.1.4.1.311.10.3.6": "szOID_NT5_CRYPTO",
"1.3.6.1.4.1.311.10.3.7": "szOID_OEM_WHQL_CRYPTO",
"1.3.6.1.4.1.311.10.3.8": "szOID_EMBEDDED_NT_CRYPTO",
"1.3.6.1.4.1.311.10.3.9": "szOID_ROOT_LIST_SIGNER",
"1.3.6.1.4.1.311.10.4.1": "yesnoTrustAttr",
"1.3.6.1.4.1.311.10.5.1": "szOID_DRM",
"1.3.6.1.4.1.311.10.5.2": "szOID_DRM_INDIVIDUALIZATION",
"1.3.6.1.4.1.311.10.6.1": "szOID_LICENSES",
"1.3.6.1.4.1.311.10.6.2": "szOID_LICENSE_SERVER",
"1.3.6.1.4.1.311.10.7": "szOID_MICROSOFT_RDN_PREFIX",
"1.3.6.1.4.1.311.10.7.1": "szOID_KEYID_RDN",
"1.3.6.1.4.1.311.10.8.1": "szOID_REMOVE_CERTIFICATE",
"1.3.6.1.4.1.311.10.9.1": "szOID_CROSS_CERT_DIST_POINTS",
"1.3.6.1.4.1.311.12": "Catalog",
"1.3.6.1.4.1.311.12.1.1": "szOID_CATALOG_LIST",
"1.3.6.1.4.1.311.12.1.2": "szOID_CATALOG_LIST_MEMBER",
"1.3.6.1.4.1.311.12.2.1": "CAT_NAMEVALUE_OBJID",
"1.3.6.1.4.1.311.12.2.2": "CAT_MEMBERINFO_OBJID",
"1.3.6.1.4.1.311.13": "Microsoft PKCS10 OIDs",
"1.3.6.1.4.1.311.13.1": "szOID_RENEWAL_CERTIFICATE",
"1.3.6.1.4.1.311.13.2.1": "szOID_ENROLLMENT_NAME_VALUE_PAIR",
"1.3.6.1.4.1.311.13.2.2": "szOID_ENROLLMENT_CSP_PROVIDER",
"1.3.6.1.4.1.311.13.2.3": "OS Version",
"1.3.6.1.4.1.311.15": "Microsoft Java",
"1.3.6.1.4.1.311.16": "Microsoft Outlook/Exchange",
"1.3.6.1.4.1.311.16.4": "Outlook Express",
"1.3.6.1.4.1.311.17": "Microsoft PKCS12 attributes",
"1.3.6.1.4.1.311.17.1": "szOID_LOCAL_MACHINE_KEYSET",
"1.3.6.1.4.1.311.18": "Microsoft Hydra",
"1.3.6.1.4.1.311.19": "Microsoft ISPU Test",
"1.3.6.1.4.1.311.2": "Authenticode",
"1.3.6.1.4.1.311.2.1.10": "spcAgencyInfo",
"1.3.6.1.4.1.311.2.1.11": "spcStatementType",
"1.3.6.1.4.1.311.2.1.12": "spcSpOpusInfo",
"1.3.6.1.4.1.311.2.1.14": "certExtensions",
"1.3.6.1.4.1.311.2.1.15": "spcPelmageData",
"1.3.6.1.4.1.311.2.1.18": "SPC_RAW_FILE_DATA_OBJID",
"1.3.6.1.4.1.311.2.1.19": "SPC_STRUCTURED_STORAGE_DATA_OBJID",
"1.3.6.1.4.1.311.2.1.20": "spcLink",
"1.3.6.1.4.1.311.2.1.21": "individualCodeSigning",
"1.3.6.1.4.1.311.2.1.22": "commercialCodeSigning",
"1.3.6.1.4.1.311.2.1.25": "spcLink",
"1.3.6.1.4.1.311.2.1.26": "spcMinimalCriteriaInfo",
"1.3.6.1.4.1.311.2.1.27": "spcFinancialCriteriaInfo",
"1.3.6.1.4.1.311.2.1.28": "spcLink",
"1.3.6.1.4.1.311.2.1.29": "SPC_HASH_INFO_OBJID",
"1.3.6.1.4.1.311.2.1.30": "SPC_SIPINFO_OBJID",
"1.3.6.1.4.1.311.2.1.4": "spcIndirectDataContext",
"1.3.6.1.4.1.311.2.2": "CTL for Software Publishers Trusted CAs",
"1.3.6.1.4.1.311.2.2.1": "szOID_TRUSTED_CODESIGNING_CA_LIST",
"1.3.6.1.4.1.311.2.2.2": "szOID_TRUSTED_CLIENT_AUTH_CA_LIST",
"1.3.6.1.4.1.311.2.2.3": "szOID_TRUSTED_SERVER_AUTH_CA_LIST",
"1.3.6.1.4.1.311.20": "Microsoft Enrollment Infrastructure",
"1.3.6.1.4.1.311.20.1": "szOID_AUTO_ENROLL_CTL_USAGE",
"1.3.6.1.4.1.311.20.2": "szOID_ENROLL_CERTTYPE_EXTENSION",
"1.3.6.1.4.1.311.20.2.1": "szOID_ENROLLMENT_AGENT",
"1.3.6.1.4.1.311.20.2.2": "szOID_KP_SMARTCARD_LOGON",
"1.3.6.1.4.1.311.20.2.3": "szOID_NT_PRINCIPAL_NAME",
"1.3.6.1.4.1.311.20.3": "szOID_CERT_MANIFOLD",
"1.3.6.1.4.1.311.21": "Microsoft CertSrv Infrastructure",
"1.3.6.1.4.1.311.21.1": "szOID_CERTSRV_CA_VERSION",
"1.3.6.1.4.1.311.21.20": "Client Information",
"1.3.6.1.4.1.311.25": "Microsoft Directory Service",
"1.3.6.1.4.1.311.25.1": "szOID_NTDS_REPLICATION",
"1.3.6.1.4.1.311.3": "Time Stamping",
"1.3.6.1.4.1.311.3.2.1": "SPC_TIME_STAMP_REQUEST_OBJID",
"1.3.6.1.4.1.311.30": "IIS",
"1.3.6.1.4.1.311.31": "Windows updates and service packs",
"1.3.6.1.4.1.311.31.1": "szOID_PRODUCT_UPDATE",
"1.3.6.1.4.1.311.4": "Permissions",
"1.3.6.1.4.1.311.40": "Fonts",
"1.3.6.1.4.1.311.41": "Microsoft Licensing and Registration",
"1.3.6.1.4.1.311.42": "Microsoft Corporate PKI (ITG)",
"1.3.6.1.4.1.311.88": "CAPICOM",
"1.3.6.1.4.1.311.88.1": "szOID_CAPICOM_VERSION",
"1.3.6.1.4.1.311.88.2": "szOID_CAPICOM_ATTRIBUTE",
"1.3.6.1.4.1.311.88.2.1": "szOID_CAPICOM_DOCUMENT_NAME",
"1.3.6.1.4.1.311.88.2.2": "szOID_CAPICOM_DOCUMENT_DESCRIPTION",
"1.3.6.1.4.1.311.88.3": "szOID_CAPICOM_ENCRYPTED_DATA",
"1.3.6.1.4.1.311.88.3.1": "szOID_CAPICOM_ENCRYPTED_CONTENT",
"1.3.6.1.5.5.7": "pkix",
"1.3.6.1.5.5.7.1": "privateExtension",
"1.3.6.1.5.5.7.1.1": "authorityInfoAccess",
"1.3.6.1.5.5.7.12.2": "CMC Data",
"1.3.6.1.5.5.7.2": "policyQualifierIds",
"1.3.6.1.5.5.7.2.1": "cps",
"1.3.6.1.5.5.7.2.2": "unotice",
"1.3.6.1.5.5.7.3": "keyPurpose",
"1.3.6.1.5.5.7.3.1": "serverAuth",
"1.3.6.1.5.5.7.3.2": "clientAuth",
"1.3.6.1.5.5.7.3.3": "codeSigning",
"1.3.6.1.5.5.7.3.4": "emailProtection",
"1.3.6.1.5.5.7.3.5": "ipsecEndSystem",
"1.3.6.1.5.5.7.3.6": "ipsecTunnel",
"1.3.6.1.5.5.7.3.7": "ipsecUser",
"1.3.6.1.5.5.7.3.8": "timeStamping",
"1.3.6.1.5.5.7.4": "cmpInformationTypes",
"1.3.6.1.5.5.7.4.1": "caProtEncCert",
"1.3.6.1.5.5.7.4.2": "signKeyPairTypes",
"1.3.6.1.5.5.7.4.3": "encKeyPairTypes",
"1.3.6.1.5.5.7.4.4": "preferredSymmAlg",
"1.3.6.1.5.5.7.4.5": "caKeyUpdateInfo",
"1.3.6.1.5.5.7.4.6": "currentCRL",
"1.3.6.1.5.5.7.48.1": "ocsp",
"1.3.6.1.5.5.7.48.2": "caIssuers",
"1.3.6.1.5.5.8.1.1": "HMAC-MD5",
"1.3.6.1.5.5.8.1.2": "HMAC-SHA",
"2.16.840.1.101.2.1.1.1": "sdnsSignatureAlgorithm",
"2.16.840.1.101.2.1.1.10": "mosaicKeyManagementAlgorithm",
"2.16.840.1.101.2.1.1.11": "sdnsKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.12": "mosaicKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.13": "SuiteASignatureAlgorithm",
"2.16.840.1.101.2.1.1.14": "SuiteAConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.15": "SuiteAIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.16": "SuiteATokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.17": "SuiteAKeyManagementAlgorithm",
"2.16.840.1.101.2.1.1.18": "SuiteAKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.19": "mosaicUpdatedSigAlgorithm",
"2.16.840.1.101.2.1.1.2": "mosaicSignatureAlgorithm",
"2.16.840.1.101.2.1.1.20": "mosaicKMandUpdSigAlgorithms",
"2.16.840.1.101.2.1.1.21": "mosaicUpdatedIntegAlgorithm",
"2.16.840.1.101.2.1.1.22": "mosaicKeyEncryptionAlgorithm",
"2.16.840.1.101.2.1.1.3": "sdnsConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.4": "mosaicConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.5": "sdnsIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.6": "mosaicIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.7": "sdnsTokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.8": "mosaicTokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.9": "sdnsKeyManagementAlgorithm",
"2.16.840.1.113730.1": "cert-extension",
"2.16.840.1.113730.1.1": "netscape-cert-type",
"2.16.840.1.113730.1.10": "EntityLogo",
"2.16.840.1.113730.1.11": "UserPicture",
"2.16.840.1.113730.1.12": "netscape-ssl-server-name",
"2.16.840.1.113730.1.13": "netscape-comment",
"2.16.840.1.113730.1.2": "netscape-base-url",
"2.16.840.1.113730.1.3": "netscape-revocation-url",
"2.16.840.1.113730.1.4": "netscape-ca-revocation-url",
"2.16.840.1.113730.1.7": "netscape-cert-renewal-url",
"2.16.840.1.113730.1.8": "netscape-ca-policy-url",
"2.16.840.1.113730.1.9": "HomePage-url",
"2.16.840.1.113730.2": "data-type",
"2.16.840.1.113730.2.1": "GIF",
"2.16.840.1.113730.2.2": "JPEG",
"2.16.840.1.113730.2.3": "URL",
"2.16.840.1.113730.2.4": "HTML",
"2.16.840.1.113730.2.5": "netscape-cert-sequence",
"2.16.840.1.113730.2.6": "netscape-cert-url",
"2.16.840.1.113730.3": "directory",
"2.16.840.1.113730.4.1": "serverGatedCrypto",
"2.16.840.1.113733.1.6.3": "Unknown Verisign extension",
"2.16.840.1.113733.1.6.6": "Unknown Verisign extension",
"2.16.840.1.113733.1.7.1.1": "Verisign certificatePolicy",
"2.16.840.1.113733.1.7.1.1.1": "Unknown Verisign policy qualifier",
"2.16.840.1.113733.1.7.1.1.2": "Unknown Verisign policy qualifier",
"2.23.133": "TCPA",
"2.23.133.1": "tcpa_specVersion",
"2.23.133.2": "tcpa_attribute",
"2.23.133.2.1": "tcpa_at_tpmManufacturer",
"2.23.133.2.10": "tcpa_at_securityQualities",
"2.23.133.2.11": "tcpa_at_tpmProtectionProfile",
"2.23.133.2.12": "tcpa_at_tpmSecurityTarget",
"2.23.133.2.13": "tcpa_at_foundationProtectionProfile",
"2.23.133.2.14": "tcpa_at_foundationSecurityTarget",
"2.23.133.2.15": "tcpa_at_tpmIdLabel",
"2.23.133.2.2": "tcpa_at_tpmModel",
"2.23.133.2.3": "tcpa_at_tpmVersion",
"2.23.133.2.4": "tcpa_at_platformManufacturer",
"2.23.133.2.5": "tcpa_at_platformModel",
"2.23.133.2.6": "tcpa_at_platformVersion",
"2.23.133.2.7": "tcpa_at_componentManufacturer",
"2.23.133.2.8": "tcpa_at_componentModel",
"2.23.133.2.9": "tcpa_at_componentVersion",
"2.23.133.3": "tcpa_protocol",
"2.23.133.3.1": "tcpa_prtt_tpmIdProtocol",
"2.23.42.0": "contentType",
"2.23.42.0.0": "PANData",
"2.23.42.0.1": "PANToken",
"2.23.42.0.2": "PANOnly",
"2.23.42.1": "msgExt",
"2.23.42.10": "national",
"2.23.42.10.192": "Japan",
"2.23.42.2": "field",
"2.23.42.2.0": "fullName",
"2.23.42.2.1": "givenName",
"2.23.42.2.10": "amount",
"2.23.42.2.2": "familyName",
"2.23.42.2.3": "birthFamilyName",
"2.23.42.2.4": "placeName",
"2.23.42.2.5": "identificationNumber",
"2.23.42.2.6": "month",
"2.23.42.2.7": "date",
"2.23.42.2.7.11": "accountNumber",
"2.23.42.2.7.12": "passPhrase",
"2.23.42.2.8": "address",
"2.23.42.2.9": "telephone",
"2.23.42.3": "attribute",
"2.23.42.3.0": "cert",
"2.23.42.3.0.0": "rootKeyThumb",
"2.23.42.3.0.1": "additionalPolicy",
"2.23.42.4": "algorithm",
"2.23.42.5": "policy",
"2.23.42.5.0": "root",
"2.23.42.6": "module",
"2.23.42.7": "certExt",
"2.23.42.7.0": "hashedRootKey",
"2.23.42.7.1": "certificateType",
"2.23.42.7.2": "merchantData",
"2.23.42.7.3": "cardCertRequired",
"2.23.42.7.4": "tunneling",
"2.23.42.7.5": "setExtensions",
"2.23.42.7.6": "setQualifier",
"2.23.42.8": "brand",
"2.23.42.8.1": "IATA-ATA",
"2.23.42.8.30": "Diners",
"2.23.42.8.34": "AmericanExpress",
"2.23.42.8.4": "VISA",
"2.23.42.8.5": "MasterCard",
"2.23.42.8.6011": "Novus",
"2.23.42.9": "vendor",
"2.23.42.9.0": "GlobeSet",
"2.23.42.9.1": "IBM",
"2.23.42.9.10": "Griffin",
"2.23.42.9.11": "Certicom",
"2.23.42.9.12": "OSS",
"2.23.42.9.13": "TenthMountain",
"2.23.42.9.14": "Antares",
"2.23.42.9.15": "ECC",
"2.23.42.9.16": "Maithean",
"2.23.42.9.17": "Netscape",
"2.23.42.9.18": "Verisign",
"2.23.42.9.19": "BlueMoney",
"2.23.42.9.2": "CyberCash",
"2.23.42.9.20": "Lacerte",
"2.23.42.9.21": "Fujitsu",
"2.23.42.9.22": "eLab",
"2.23.42.9.23": "Entrust",
"2.23.42.9.24": "VIAnet",
"2.23.42.9.25": "III",
"2.23.42.9.26": "OpenMarket",
"2.23.42.9.27": "Lexem",
"2.23.42.9.28": "Intertrader",
"2.23.42.9.29": "Persimmon",
"2.23.42.9.3": "Terisa",
"2.23.42.9.30": "NABLE",
"2.23.42.9.31": "espace-net",
"2.23.42.9.32": "Hitachi",
"2.23.42.9.33": "Microsoft",
"2.23.42.9.34": "NEC",
"2.23.42.9.35": "Mitsubishi",
"2.23.42.9.36": "NCR",
"2.23.42.9.37": "e-COMM",
"2.23.42.9.38": "Gemplus",
"2.23.42.9.4": "RSADSI",
"2.23.42.9.5": "VeriFone",
"2.23.42.9.6": "TrinTech",
"2.23.42.9.7": "BankGate",
"2.23.42.9.8": "GTE",
"2.23.42.9.9": "CompuSource",
"2.5.29.1": "authorityKeyIdentifier",
"2.5.29.10": "basicConstraints",
"2.5.29.11": "nameConstraints",
"2.5.29.12": "policyConstraints",
"2.5.29.13": "basicConstraints",
"2.5.29.14": "subjectKeyIdentifier",
"2.5.29.15": "keyUsage",
"2.5.29.16": "privateKeyUsagePeriod",
"2.5.29.17": "subjectAltName",
"2.5.29.18": "issuerAltName",
"2.5.29.19": "basicConstraints",
"2.5.29.2": "keyAttributes",
"2.5.29.20": "cRLNumber",
"2.5.29.21": "cRLReason",
"2.5.29.22": "expirationDate",
"2.5.29.23": "instructionCode",
"2.5.29.24": "invalidityDate",
"2.5.29.26": "issuingDistributionPoint",
"2.5.29.27": "deltaCRLIndicator",
"2.5.29.28": "issuingDistributionPoint",
"2.5.29.29": "certificateIssuer",
"2.5.29.3": "certificatePolicies",
"2.5.29.30": "nameConstraints",
"2.5.29.31": "cRLDistributionPoints",
"2.5.29.32": "certificatePolicies",
"2.5.29.33": "policyMappings",
"2.5.29.34": "policyConstraints",
"2.5.29.35": "authorityKeyIdentifier",
"2.5.29.36": "policyConstraints",
"2.5.29.37": "extKeyUsage",
"2.5.29.4": "keyUsageRestriction",
"2.5.29.5": "policyMapping",
"2.5.29.6": "subtreesConstraint",
"2.5.29.7": "subjectAltName",
"2.5.29.8": "issuerAltName",
"2.5.29.9": "subjectDirectoryAttributes",
"2.5.4.0": "objectClass",
"2.5.4.1": "aliasObjectName",
"2.5.4.12": "title",
"2.5.4.13": "description",
"2.5.4.14": "searchGuide",
"2.5.4.15": "businessCategory",
"2.5.4.16": "postalAddress",
"2.5.4.17": "postalCode",
"2.5.4.18": "postOfficeBox",
"2.5.4.19": "physicalDeliveryOfficeName",
"2.5.4.2": "knowledgeInformation",
"2.5.4.20": "telephoneNumber",
"2.5.4.21": "telexNumber",
"2.5.4.22": "teletexTerminalIdentifier",
"2.5.4.23": "facsimileTelephoneNumber",
"2.5.4.24": "x121Address",
"2.5.4.25": "internationalISDNNumber",
"2.5.4.26": "registeredAddress",
"2.5.4.27": "destinationIndicator",
"2.5.4.28": "preferredDeliveryMehtod",
"2.5.4.29": "presentationAddress",
"2.5.4.30": "supportedApplicationContext",
"2.5.4.31": "member",
"2.5.4.32": "owner",
"2.5.4.33": "roleOccupant",
"2.5.4.34": "seeAlso",
"2.5.4.35": "userPassword",
"2.5.4.36": "userCertificate",
"2.5.4.37": "caCertificate",
"2.5.4.38": "authorityRevocationList",
"2.5.4.39": "certificateRevocationList",
"2.5.4.40": "crossCertificatePair",
"2.5.4.41": "givenName",
"2.5.4.42": "givenName",
"2.5.4.5": "serialNumber",
"2.5.4.52": "supportedAlgorithms",
"2.5.4.53": "deltaRevocationList",
"2.5.4.58": "crossCertificatePair",
"2.5.4.9": "streetAddress",
"2.5.8": "X.500-Algorithms",
"2.5.8.1": "X.500-Alg-Encryption",
"2.5.8.1.1": "rsa",
"2.16.76.1.1": "DPC",
"2.16.76.1.1.0": "DPC da AC Raiz",
"2.16.76.1.1.1": "DPC da AC Presidência",
"2.16.76.1.1.2": "DPC da AC Serpro",
"2.16.76.1.1.3": "DPC da SERASA Autoridade Certificadora Principal - ACP",
"2.16.76.1.1.4": "DPC da SERASA Autoridade Certificadora - AC",
"2.16.76.1.1.5": "DPC da AC CertiSign na ICP­Brasil",
"2.16.76.1.1.6": "DPC da AC CertiSign SPB na ICP­Brasil",
"2.16.76.1.1.7": "DPC da SERASA Certificadora Digital",
"2.16.76.1.1.8": "DPC da AC SRF",
"2.16.76.1.1.9": "DPC da AC CAIXA",
"2.16.76.1.1.10": "DPC da AC CAIXA IN",
"2.16.76.1.1.11": "DPC da AC CAIXA PJ",
"2.16.76.1.1.12": "DPC da AC CAIXA PF",
"2.16.76.1.1.13": "DPC da AC SERPRO SRF",
"2.16.76.1.1.14": "DPC da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.1.15": "DPC da Autoridade Certificadora CertiSign para Secretaria da Receita Federal",
"2.16.76.1.1.16": "DPC da AC SERASA SRF",
"2.16.76.1.1.17": "DPC da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.1.18": "DPC da Autoridade Certificadora PRODEMGE",
"2.16.76.1.1.19": "DPC da Autoridade Certificadora do Sistema Justiça Federal - AC­JUS",
"2.16.76.1.1.20": "Declaração de Práticas de Certificação da Autoridade Certificadora do SERPRO Final - DPC SERPRO ACF",
"2.16.76.1.1": "DPC",
"2.16.76.1.1.21": "Declaração de Práticas de Certificação da Autoridade Certificadora SINCOR",
"2.16.76.1.1.22": "Declaração de Práticas de Certificação da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.1.23": "Declaração de Práticas de Certificação da AC FENACOR",
"2.16.76.1.1.24": "Declaração de Práticas de Certificação da Autoridade Certificadora SERPRO­ JUS",
"2.16.76.1.1.25": "DPC da AC Caixa Justiça",
"2.16.76.1.1.26": "DPC da Autoridade Certificadora Imprensa Oficial SP (AC IMESP)",
"2.16.76.1.1.27": "DPC da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.1.28": "Declaração de Práticas de Certificação da Autoridade Certificadora CertSign para a Justiça",
"2.16.76.1.1.29": "DPC da AC SERASA JUS",
"2.16.76.1.2": "PC",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.1.1": "Política de Certificados da ACSERPRO para certificados SERPRO­SPB ­ PC SERPRO­SPB",
"2.16.76.1.2.1.2": "Política de Certificados para certificados da SERASA Autoridade Certificadora",
"2.16.76.1.2.1.3": "Política de Certificados da Autoridade Certificadora da Presidência da República - PCA1",
"2.16.76.1.2.1.4": "Política de Certificado da Autoridade Certificadora CertiSign Certificadora Digital para o Sistema de Pagamentos Brasileiro na ICP­Brasil­ PC da AC CertiSign SPB na ICP­Brasil",
"2.16.76.1.2.1.5": "Política de Certificados SEPROA1",
"2.16.76.1.2.1.6": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A1 - SERASA CD",
"2.16.76.1.2.1.7": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa IN",
"2.16.76.1.2.1.8": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa PF",
"2.16.76.1.2.1.9": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa PJ",
"2.16.76.1.2.1.10": "Política de Certificados da Autoridade Certificadora do Serpro­SRF para certificados de assinatura digital do tipo A1 (PCSerpro­SRFA1)",
"2.16.76.1.2.1.11": "Política de Certificado de Assinatura Digital do Tipo A1 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.1.12": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal",
"2.16.76.1.2.1.13": "Política de Certificado de Assinatura Digital Tipo A1 da AC SERASA SRF",
"2.16.76.1.2.1.14": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.1.15": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.1.16": "Política de Certificados SERPRO do Tipo A1 - PC SERPRO ACF A1",
"2.16.76.1.2.1.17": "Política de Certificados do SERPRO - SPB - PC SERPRO ACF SPB",
"2.16.76.1.2.1.18": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora SINCOR",
"2.16.76.1.2.1.19": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora SINCOR para Corretores de Seguros",
"2.16.76.1.2": "PC",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.1.20": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.2.1.21": "Política de Certificados SERPRO­JUS do tipo A1 ­ PCSERPROJUSA1",
"2.16.76.1.2.1.22": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa Justiça",
"2.16.76.1.2.1.23": "Política de Certificado de Assinatura Tipo A1 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.1.24": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.1.25": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A1",
"2.16.76.1.2": "PC",
"2.16.76.1.2.2": "A2",
"2.16.76.1.2.2.1": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A2 - SERASA CD",
"2.16.76.1.2.2.2": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A2 da AC SERASA SRF",
"2.16.76.1.2.2.3": "Política de Certificado de Assinatura Digital do Tipo A2 da Autoridade Certificadora CertiSign últipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.2.4": "Política de Certificado de Assinatura Digital do Tipo A2 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.2.5": "Política de Certificado de Assinatura Digital do Tipo A2 da AC Caixa Justiça",
"2.16.76.1.2.2.6": "Política de Certificado de Assinatura Digital Tipo A2 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.2.7": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A2",
"2.16.76.1.2": "PC",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.3.1": "Política de Certificados da Autoridade Certificadora da Presidência da República - PC ACPR",
"2.16.76.1.2.3.2": "Política de Certificados da Autoridade Certificadora do SERPRO para certificados SERPRO do tipo A3 - PCSERPROA3",
"2.16.76.1.2.3.3": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A3 - SERASA CD",
"2.16.76.1.2.3.4": "Política de Certificados da Autoridade Certificadora do Serpro­SRF para certificados de assinatura digital do tipo A3 (PCSerpro­SRFA3)",
"2.16.76.1.2.3.5": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.3.6": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.3.7": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa IN",
"2.16.76.1.2.3.8": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa PF",
"2.16.76.1.2.3.9": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa PJ",
"2.16.76.1.2.3.10": "Política de Certificado de Assinatura Digital do Tipo A3 da AC SERASA SRF",
"2.16.76.1.2.3.11": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.3.12": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.3.13": "Política de Certificados SERPRO do Tipo A3 - PC SERPRO A3",
"2.16.76.1.2.3.14": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora SINCOR",
"2.16.76.1.2.3.15": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora SINCOR para Corretores de Seguros",
"2.16.76.1.2.3.16": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.2": "PC",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.3.17": "Política de Certificado da AC FENACOR A3",
"2.16.76.1.2.3.18": "Política de Certificados SERPRO­JUS do tipo A3 PCSERPROJUSA3",
"2.16.76.1.2.3.19": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa Justiça",
"2.16.76.1.2.3.20": "Política de Certificado de Assinatura Tipo A3 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.3.21": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.3.22": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A3",
"2.16.76.1.2": "PC",
"2.16.76.1.2.4": "A4",
"2.16.76.1.2.4.1": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A4 - SERASA CD;",
"2.16.76.1.2.4.2": "VAGO",
"2.16.76.1.2.4.3": "Política de Certificado de Assinatura Digital do Tipo A4 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.4.4": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.4.5": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.4.6": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora Imprensa Oficial - SP SRF",
"2.16.76.1.2.4.7": "Política de Certificado de Assinatura Tipo A4 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.4.8": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.4.9": "VAGO",
"2.16.76.1.2.4.10": "Política de Certificado Digital a AC SERASA­JUS para Certificados Tipo A4",
"2.16.76.1.2": "PC",
"2.16.76.1.2.101": "S1",
"2.16.76.1.2.101.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S1-SERASA CD",
"2.16.76.1.2.101.2": "Política de Certificado de Sigilo Tipo S1 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.101.3": "Política de Certificado de Sigilo do Tipo S1 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.101.4": "Política de Certificado de Sigilo do Tipo S1 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.101.5": "Política de Certificado de Assinatura Digital do Tipo S1 da AC Caixa Justiça",
"2.16.76.1.2.101.6": "Política de Certificado de Assinatura Digital Tipo S1 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.101.7": "Política de Certificado Digital da AC SERASA­JUS para Cerficados Tipo S1",
"2.16.76.1.2": "PC",
"2.16.76.1.2.102": "S2",
"2.16.76.1.2.102.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S2 - SERASA CD",
"2.16.76.1.2.102.2": "Política de Certificado de Sigilo Tipo S2 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.102.3": "Política de Certificado de Sigilo do Tipo S2 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.102.4": "Política de Certificado de Assinatura Digital do Tipo S2 da AC Caixa Justiça",
"2.16.76.1.2.102.5": "Política de Certificado de Assinatura Digital Tipo S2 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.102.6": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S2",
"2.16.76.1.2": "PC",
"2.16.76.1.2.103": "S3",
"2.16.76.1.2.103.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S3 - SERASA CD",
"2.16.76.1.2.103.2": "VAGO",
"2.16.76.1.2.103.3": "Política de Certificado de Sigilo do Tipo S3 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.103.4": "Política de Certificado de Sigilo Tipo S3 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.103.5": "Política de Certificado de Sigilo Tipo S3 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.103.6": "Política de Certificado de Assinatura Digital do Tipo S3 da AC Caixa Justiça",
"2.16.76.1.2.103.7": "Política de Certificado de Assinatura Digital Tipo S3 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.103.8": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S3",
"2.16.76.1.2": "PC",
"2.16.76.1.2.104": "S4",
"2.16.76.1.2.104.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S4 - SERASA CD",
"2.16.76.1.2.104.2": "VAGO",
"2.16.76.1.2.104.3": "Política de Certificado de Sigilo do Tipo S4 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.104.4": "Política de Certificado de Sigilo Tipo S4 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.104.5": "Política de Certificado de Assinatura Digital Tipo S4 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.104.6": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S4",
"2.16.76.1.2": "PC",
"2.16.76.1.2.201": "PC de AC",
"2.16.76.1.2.201.1": "PC da Serasa Autoridade Certificadora Principal - ACP",
"2.16.76.1.2.201.2": "PC da AC CertiSign na ICP­Brasil",
"2.16.76.1.2.201.3": "PC da AC SRF",
"2.16.76.1.2.201.4": "Política de Certificados da Autoridade Certificadora Caixa",
"2.16.76.1.2.201.5": "PC da Autoridade Certificadora do Sistema Justiça Federal - AC­ JUS",
"2.16.76.1.2.201.6": "PC da Autoridade Certificadora do SERPRO (AC SERPRO)",
"2.16.76.1.2.201.7": "PC da Autoridade Certificadora Imprensa Oficial SP (AC IMESP)",
"2.16.76.1.3": "Atributos Obrigatórios de Certificados",
"2.16.76.1.3.1": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.2": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.3": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.4": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.5": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.6": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.7": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.4": "Atributos Opcionais de Certificados",
"2.16.76.1.4.1": "Entidades Sindicais",
"2.16.76.1.4.1.1": "SINCOR",
"2.16.76.1.4.1.1.1": "Número de registro do corretor associado"
}
@@ -1,133 +0,0 @@
<script setup lang="ts">
import { computed, ref } from 'vue';
import { bundledLanguagesInfo, createHighlighter } from 'shiki/bundle/full';
import { bundledThemesInfo } from 'shiki/themes';
import { useQueryParamOrStorage } from '@/composable/queryParams';
import { useCopy, useCopyClipboardItems } from '@/composable/copy';
const code = ref(`// Using 'typeof' to infer types
const person = { name: "Alice", age: 30 };
type PersonType = typeof person; // { name: string; age: number }
// 'satisfies' to ensure a type matches but allows more specific types
type Animal = { name: string };
const dog = { name: "Buddy", breed: "Golden Retriever" } satisfies Animal;
// Generics with 'extends' and default values
function identity<T extends number | string = string>(arg: T): T {
return arg;
}`);
const themes = ref<{ value: string; label: string }[]>(
bundledThemesInfo.map((item) => {
return {
value: item.id,
label: item.displayName,
};
}));
const langs = ref<{ value: string; label: string }[]>(
bundledLanguagesInfo.map(item => ({
value: item.id,
label: item.name,
})));
const currentTheme = useQueryParamOrStorage({ name: 'theme', storageName: 'code-highlighter:theme', defaultValue: 'dark-plus' });
const currentLang = useQueryParamOrStorage({ name: 'lang', storageName: 'code-highlighter:lang', defaultValue: 'typescript' });
const showLineNumbers = ref(false);
const formattedCodeHtml = computedAsync(async () => {
const currentThemeValue = currentTheme.value;
const currentLangValue = currentLang.value;
const codeValue = code.value;
const needLineNumbers = showLineNumbers.value;
const lineNumberWidth = Math.log10(codeValue.split('\n').length) + 2;
const highlighter = await createHighlighter(
{
langs: [currentLangValue],
themes: [currentThemeValue],
});
return highlighter.codeToHtml(codeValue, {
lang: currentLangValue,
theme: currentThemeValue,
transformers: [
{
postprocess(html: string) {
// when copied to clipboard and pasted to LibreOffice,
// formatting of first line is only kept if there is a line break before...
const ensureFirstLineFormattedWhenCopied
= (html: string) => html.replace('<code>', '<code>\n');
if (!needLineNumbers) {
return ensureFirstLineFormattedWhenCopied(html);
}
let lineNumber = 1;
return html.replace(/<span class="line/g, (m) => {
const lineNumberFormatted = (lineNumber++).toString().padStart(lineNumberWidth, ' ');
return `<span class="line-number" style="white-space-collapse: preserve">${lineNumberFormatted} </span>${m}`;
}).replace('<code>', '<code>\n');
},
},
],
});
});
const htmlClipboardItems = computed(() => [{
mime: 'text/html',
content: formattedCodeHtml.value,
}]);
const { copy: copyHtml } = useCopyClipboardItems({ source: htmlClipboardItems });
const { copy: copyText } = useCopy({ source: code });
</script>
<template>
<div>
<div mb-3 flex items-baseline gap-1>
<c-select
v-model:value="currentLang"
label="Language"
label-position="left"
searchable
:options="langs"
flex-1
/>
<c-select
v-model:value="currentTheme"
label="Theme"
label-position="left"
searchable
:options="themes"
flex-1
/>
</div>
<c-input-text
v-model:value="code"
label="Code snippet to format:"
multiline
placeholder="Put your code snippet here"
rows="5"
mb-3
/>
<div flex justify-center gap-2>
<n-form-item label="Show line numbers" label-placement="left">
<n-switch v-model:value="showLineNumbers" />
</n-form-item>
<c-button @click="copyHtml()">
Copy HTML Formatted
</c-button>
<c-button @click="copyText()">
Copy Code Text
</c-button>
</div>
<div v-html="formattedCodeHtml" /><!-- //NOSONAR -->
</div>
</template>
<style scoped>
::v-deep(.line-number) {
text-wrap: nowrap;
}
</style>
-12
View File
@@ -1,12 +0,0 @@
import { Code } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Code/Scripts Highlighter',
path: '/code-highlighter',
description: 'Highlight programming code fragments',
keywords: ['code', 'highlighter'],
component: () => import('./code-highlighter.vue'),
icon: Code,
createdAt: new Date('2024-08-15'),
});
+15 -3
View File
@@ -2,11 +2,11 @@ import { tool as base64FileConverter } from './base64-file-converter';
import { tool as base64StringConverter } from './base64-string-converter';
import { tool as basicAuthGenerator } from './basic-auth-generator';
import { tool as emailNormalizer } from './email-normalizer';
import { tool as codeHighlighter } from './code-highlighter';
import { tool as asciiTextDrawer } from './ascii-text-drawer';
import { tool as textToUnicode } from './text-to-unicode';
import { tool as certificateKeyParser } from './certificate-key-parser';
import { tool as safelinkDecoder } from './safelink-decoder';
import { tool as xmlToJson } from './xml-to-json';
import { tool as jsonToXml } from './json-to-xml';
@@ -92,7 +92,20 @@ import { tool as yamlViewer } from './yaml-viewer';
export const toolsByCategory: ToolCategory[] = [
{
name: 'Crypto',
components: [tokenGenerator, hashText, bcrypt, uuidGenerator, ulidGenerator, cypher, bip39, hmacGenerator, rsaKeyPairGenerator, passwordStrengthAnalyser, pdfSignatureChecker],
components: [
tokenGenerator,
hashText,
bcrypt,
uuidGenerator,
ulidGenerator,
cypher,
bip39,
hmacGenerator,
rsaKeyPairGenerator,
certificateKeyParser,
passwordStrengthAnalyser,
pdfSignatureChecker,
],
},
{
name: 'Converter',
@@ -159,7 +172,6 @@ export const toolsByCategory: ToolCategory[] = [
xmlFormatter,
yamlViewer,
emailNormalizer,
codeHighlighter,
regexTester,
regexMemo,
],
+1 -1
View File
@@ -4,7 +4,7 @@ import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Regex Tester',
path: '/regex-tester',
description: 'Test your regular expressions with sample text.',
description: 'Regex Tester',
keywords: ['regex', 'tester', 'sample', 'expression'],
component: () => import('./regex-tester.vue'),
icon: Language,
+2 -3
View File
@@ -1,5 +1,6 @@
import { resolve } from 'node:path';
import { URL, fileURLToPath } from 'node:url';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
import VueI18n from '@intlify/unplugin-vue-i18n/vite';
import vue from '@vitejs/plugin-vue';
@@ -97,6 +98,7 @@ export default defineConfig({
resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })],
}),
Unocss(),
nodePolyfills(),
],
base: baseUrl,
resolve: {
@@ -112,8 +114,5 @@ export default defineConfig({
},
build: {
target: 'esnext',
rollupOptions: {
external: ['regex'],
},
},
});