{"id":10397,"date":"2024-12-11T12:29:24","date_gmt":"2024-12-11T15:29:24","guid":{"rendered":"https:\/\/extrimian.io\/?p=10397"},"modified":"2025-02-17T10:46:59","modified_gmt":"2025-02-17T13:46:59","slug":"verifiable-credentials-with-attachments-docs","status":"publish","type":"post","link":"https:\/\/extrimian.io\/es\/verifiable-credentials-with-attachments-docs\/","title":{"rendered":"Verifiable Credentials with attachments docs"},"content":{"rendered":"\n<p>The latest <a href=\"https:\/\/quarkid.org\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">QuarkID<\/a> update, implemented using the <a href=\"https:\/\/extrimian.io\/es\/productos\/\" target=\"_blank\" rel=\"noopener\" title=\"\">SSI API and ID Connect <\/a>by Extrimian, introduces a critical feature for decentralized information management: <strong>VC Attachments<\/strong>. This functionality allows the inclusion of files, such as PDFs, images, and other formats, in verifiable credentials, providing additional context or evidence to support the information contained within the credentials.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What Are VC Attachments?<\/strong><\/h2>\n\n\n\n<p>VC Attachments enhance the handling, storage, and linking of attachments to verifiable credentials. Issued under the Verifiable Credentials (VC) standard, these are cryptographically signed digital documents containing verifiable data.<\/p>\n\n\n\n<p>The inclusion of attachments ensures that any relevant supplementary information is securely available and managed, preserving the integrity and reliability of shared or stored documents.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"576\" height=\"1024\" src=\"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-576x1024.png\" alt=\"Partida de Nacimiento - Birth Document Certificate Verifiable Credential QuarkID CABA\" class=\"wp-image-10390\" style=\"width:390px;height:auto\" srcset=\"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-576x1024.png 576w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-169x300.png 169w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-768x1365.png 768w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-864x1536.png 864w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-1152x2048.png 1152w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/birth-ceritificate-1320x2347.png 1320w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\"><em>Birth Certificate in QuarkID wallet thanks to integration with miBA app<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img decoding=\"async\" width=\"576\" height=\"1024\" src=\"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-576x1024.png\" alt=\"Integration with miBA application to attach original scanned birth certificate to QuarkID wallet\" class=\"wp-image-10392\" style=\"width:394px;height:auto\" srcset=\"https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-576x1024.png 576w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-169x300.png 169w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-768x1365.png 768w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-864x1536.png 864w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-1152x2048.png 1152w, https:\/\/extrimian.io\/wp-content\/uploads\/2024\/12\/doc-attached-1320x2347.png 1320w\" sizes=\"(max-width: 576px) 100vw, 576px\" \/><figcaption class=\"wp-element-caption\"><em>Integration with miBA application to attach original scanned birth certificate to QuarkID wallet<\/em><\/figcaption><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Rapid Implementation<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>What is the <\/strong><strong>@quarkid\/vc-attachments-agent-plugin<\/strong><strong>?<\/strong><\/h4>\n\n\n\n<p>The @quarkid\/vc-attachments-agent-plugin is a plugin designed to expand the functionality of SSI agents, enabling secure management of file attachments in verifiable credentials. This plugin is essential for users who need to attach additional documents to their credentials, broadening their utility across various contexts.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Installation<\/strong><\/h3>\n\n\n\n<p>The plugin can be installed using npm as the package manager:<\/p>\n\n\n\n<p>npm install @quarkid\/vc-attachments-agent-plugin<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Usage in Mobile Agents<\/strong><\/h3>\n\n\n\n<p>To integrate the plugin into a mobile agent:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Import the plugin into your project.<\/li>\n\n\n\n<li>Configure appropriate storage for file attachments.<\/li>\n\n\n\n<li>Add the plugin to the agent&#8217;s list of plugins to streamline the attachment management process during credential interactions.<\/li>\n<\/ol>\n\n\n\n<p><em>For detailed instructions, refer to the step-by-step <\/em><a href=\"https:\/\/docs.google.com\/document\/d\/1vC_Q4sX_Vq0Njm6YtgIQBGuT1VCeWjQ1\/edit\" target=\"_blank\" rel=\"noopener\" title=\"\"><em>guide<\/em><\/a><em> in the documentation.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Interaction with ID Connect SSI API<\/strong><\/h2>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>API Integration Service<\/strong><\/h4>\n\n\n\n<p>The SSI API provides two main endpoints for managing attachments:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>PUT \/attachment\/filepath<\/strong><strong><br><\/strong>Returns the file storage URL, allowing access to previously saved files.<\/li>\n\n\n\n<li><strong>POST \/attachment\/upload<\/strong><strong><br><\/strong>Facilitates the upload of new files to the API, offering a secure and direct method for storing additional information related to a credential.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Use Cases<\/strong><\/h3>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Retrieving Attachments<\/strong><\/h4>\n\n\n\n<p>To retrieve attachments linked to a specific credential, use the getFileAttachments method, which fetches associated files.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Uploading Attachments<\/strong><\/h4>\n\n\n\n<p>Uploading involves sending the file via a multipart form, along with detailed metadata, including a hash to ensure authenticity.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Learn More<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/docs.google.com\/document\/d\/1vC_Q4sX_Vq0Njm6YtgIQBGuT1VCeWjQ1\/edit\" target=\"_blank\" rel=\"noopener\" title=\"\"><strong>Documentation on VC attachments<\/strong><\/a><strong>:<\/strong> Explore advanced configurations and capabilities.<\/li>\n\n\n\n<li><a href=\"https:\/\/extrimian.io\/es\/wikis\/credenciales-verificables-vcs\/\"><strong>VC Wiki<\/strong><\/a><strong>:<\/strong> Deepen your understanding of verifiable credentials and their applications.<\/li>\n\n\n\n<li><a href=\"https:\/\/drive.google.com\/file\/d\/1iLxTI3-iHP5ZfaWChAbMwlpYDtLMCQ01\/view\"><strong>VC Issuance and usage guide:<\/strong><\/a> Master the creation and management of VCs.<\/li>\n\n\n\n<li>Visit the <a href=\"https:\/\/extrimian.io\/es\/academy\/\"><strong>Extrimian Academy<\/strong><\/a> for courses and resources to help optimize your projects with verifiable information.<\/li>\n<\/ul>\n\n\n\n<p>Start building, managing, and verifying digital information with Extrimian today to enhance the efficiency and security of your business operations.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The latest QuarkID update, implemented using the SSI API and ID Connect by Extrimian, introduces a critical feature for decentralized information management: VC Attachments. This functionality allows the inclusion of files, such as PDFs, images, and other formats, in verifiable credentials, providing additional context or evidence to support the information contained within the credentials. What [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":10396,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[550,831,552],"tags":[554,557,558,555],"class_list":["post-10397","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain-technology-es","category-software-dev-es","category-verifiable-credentials-es","tag-learn-academy-es","tag-news-es","tag-product-announcements-es","tag-web3-education-es"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/posts\/10397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/comments?post=10397"}],"version-history":[{"count":5,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/posts\/10397\/revisions"}],"predecessor-version":[{"id":11412,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/posts\/10397\/revisions\/11412"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/media\/10396"}],"wp:attachment":[{"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/media?parent=10397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/categories?post=10397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/extrimian.io\/es\/wp-json\/wp\/v2\/tags?post=10397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}