{"id":30496,"date":"2021-03-04T10:05:33","date_gmt":"2021-03-04T09:05:33","guid":{"rendered":"https:\/\/www.viafirma.com\/?post_type=faq&#038;p=30496"},"modified":"2026-04-28T09:42:34","modified_gmt":"2026-04-28T07:42:34","slug":"formatos-de-firma-electronica","status":"publish","type":"faq","link":"https:\/\/www.viafirma.com\/es\/faqs\/formatos-de-firma-electronica\/","title":{"rendered":"Formatos de firma electr\u00f3nica"},"content":{"rendered":"<p>Dentro del mundo de la <a href=\"https:\/\/www.viafirma.com\/es\/firma-electronica\/\"><strong>firma electr\u00f3nica<\/strong><\/a> existen varios formatos que puedes usar para conseguir la validez legal en tus firmas. En esta publicaci\u00f3n te explicaremos los formatos de firma electr\u00f3nica b\u00e1sicos, que dan acceso a tu firma a los primeros dos<strong> <a href=\"https:\/\/www.viafirma.com\/es\/faqs\/tipos-de-firma-electronica\/\">tipos de firma electr\u00f3nica<\/a><\/strong>.<\/p>\n<p>Para elegir el formato adecuado, es vital entender qu\u00e9 tipo de documento vas a firmar y qui\u00e9n lo va a recibir. Estos formatos permiten crear firmas <strong>Avanzadas y Cualificadas<\/strong> con pleno valor legal.<\/p>\n<h3 class=\"wp-block-heading\">Formatos base<\/h3>\n<p>Estos son los est\u00e1ndares t\u00e9cnicos sobre los que se construyen las firmas:<\/p>\n<h3 class=\"wp-block-heading\">XML Signature<\/h3>\n<p>Es una <strong>especificaci\u00f3n desarrollada bajo el amparo del <a href=\"https:\/\/www.w3.org\/Signature\/\" target=\"_blank\" rel=\"noreferrer noopener\">w3c<\/a> <\/strong>que permite la firma (completa o parcial) de documentos utilizando una <strong>notaci\u00f3n XML est\u00e1ndar.<\/strong><\/p>\n<p>Es altamente flexible: puede ir dentro del documento (enveloped), envolver al documento (enveloping) o estar en un archivo aparte (detached). Es el preferido para la comunicaci\u00f3n entre aplicaciones y administraciones p\u00fablicas.<\/p>\n<h3 class=\"wp-block-heading\">PDF-Signature<\/h3>\n<p>Firma <strong>embebida en documentos PDF acordes a est\u00e1ndares <a href=\"https:\/\/www.iso.org\/standard\/45874.html\" target=\"_blank\" rel=\"noopener\">ISO-32001<\/a><\/strong>.<\/p>\n<p>Es el formato m\u00e1s cercano al usuario. La firma est\u00e1 embebida en el archivo, lo que permite visualizarla con lectores comunes como Adobe Reader. Es ideal cuando el destinatario es una persona f\u00edsica que necesita \u00abver\u00bb la firma.<\/p>\n<h3 class=\"wp-block-heading\">CMS (Cryptographic Message Syntax) \/ PKCS#7<\/h3>\n<p>La sintaxis de mensajes criptogr\u00e1ficos (CMS) es el est\u00e1ndar del IETF para mensajes protegidos criptogr\u00e1ficamente.<\/p>\n<p><strong>Formato binario usado para la firma, autenticaci\u00f3n, resumen y encriptaci\u00f3n de documentos<\/strong>. Usa el est\u00e1ndar PKCS#7. Este formato, adem\u00e1s, incorpora informaci\u00f3n de sellado de tiempo obtenida por una TSA (TimeStamp Authority).<\/p>\n<p>Se utiliza principalmente en procesos de intercambio de datos t\u00e9cnicos y correos electr\u00f3nicos seguros.<\/p>\n<h3 id=\"mce_15\" class=\"wp-block-heading\">Formatos avanzados \/ Ad Hoc (Est\u00e1ndares Europeos ETSI)<\/h3>\n<p data-path-to-node=\"14\">Bajo el Reglamento <b data-path-to-node=\"14\" data-index-in-node=\"19\">eIDAS<\/b>, estos formatos base evolucionan para garantizar que la firma sea v\u00e1lida en toda la Uni\u00f3n Europea y persista en el tiempo:<\/p>\n<table data-path-to-node=\"15\">\n<thead>\n<tr>\n<td><strong>Formato<\/strong><\/td>\n<td><strong>Basado en<\/strong><\/td>\n<td><strong>Uso principal<\/strong><\/td>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><a href=\"https:\/\/www.viafirma.com\/es\/faqs\/pades-firma-electronica-avanzada-en-formato-pdf\/\"><span data-path-to-node=\"15,1,0,0\"><b data-path-to-node=\"15,1,0,0\" data-index-in-node=\"0\">PAdES<\/b><\/span><\/a><\/td>\n<td><span data-path-to-node=\"15,1,1,0\">PDF<\/span><\/td>\n<td><span data-path-to-node=\"15,1,2,0\">Documentos administrativos, contratos y facturas para personas.<\/span><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.viafirma.com\/es\/faqs\/xades-firma-electronica-avanzada-xml\/\"><span data-path-to-node=\"15,2,0,0\"><b data-path-to-node=\"15,2,0,0\" data-index-in-node=\"0\">XAdES<\/b><\/span><\/a><\/td>\n<td><span data-path-to-node=\"15,2,1,0\">XML<\/span><\/td>\n<td><span data-path-to-node=\"15,2,2,0\">Factura electr\u00f3nica (FacturaE), transacciones B2B y tr\u00e1mites gubernamentales.<\/span><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/www.viafirma.com\/es\/faqs\/cades-firma-electronica-avanzada-cms\/\"><span data-path-to-node=\"15,3,0,0\"><b data-path-to-node=\"15,3,0,0\" data-index-in-node=\"0\">CAdES<\/b><\/span><\/a><\/td>\n<td><span data-path-to-node=\"15,3,1,0\">CMS<\/span><\/td>\n<td><span data-path-to-node=\"15,3,2,0\">Firma de archivos pesados o de cualquier extensi\u00f3n (im\u00e1genes, c\u00f3digo, etc.).<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false,"site-sidebar-layout":"no-sidebar","site-content-layout":"plain-container","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[72],"class_list":["post-30496","faq","type-faq","status-publish","hentry","category-developers"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/faq\/30496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/types\/faq"}],"version-history":[{"count":2,"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/faq\/30496\/revisions"}],"predecessor-version":[{"id":100807,"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/faq\/30496\/revisions\/100807"}],"wp:attachment":[{"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/media?parent=30496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.viafirma.com\/es\/wp-json\/wp\/v2\/categories?post=30496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}