Assinador XML
Assinar XML/XAdES utilizando certificado em arquivo (Passo único) ⚠️
⚠️ Disponível somente para implantação on-premises
post/api/xml-signature-service/v1/signatures/pkcs12
Request
- Base URLhttps://cloud-hom.bry.com.br
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Token de acesso aos serviços BRy emitido no BRy Cloud. É obrigatório em todas as requisições ao HUB. Para utilizar esta documentação é necessário inserir o token em Authorize.
Senha do PKCS12 (.pfx/.p12) configurado para a assinatura. Deve ser fornecido em formato Base64.
Request body multipart/form-data
Example request
{
"nonce": "1",
"signerFileName": "Nome do arquivo pfx/p12.",
"returnType": "BASE64",
"hashAlgorithm": "SHA256",
"profile": "BASIC",
"signatureFormat": "ENVELOPED",
"operationType": "SIGNATURE",
"binaryContent": "false",
"includeXPathEnveloped": "true",
"generateSimplifiedXMLDSig": "false",
"includeSigningTime": "false",
"canonicalizerType": "EXCLUSIVE",
"originalDocuments[0][nonce]": "1",
"policyOid": "2.16.76.1.7.1.6.2.4"
}Response
Example response
{
"identificador": "ABC123",
"documentos": [
{
"hash": "ABCDEF123456",
"links": [
{
"href": "https://link_para_recuperar_documento_Assinado"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.