forked from openkylin/xmlsec1
43 lines
1.9 KiB
XML
43 lines
1.9 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
XML Security Library example: Simple signature template file for sign1 example.
|
||
|
-->
|
||
|
<Envelope xmlns="urn:envelope">
|
||
|
<Data>
|
||
|
Hello, World!
|
||
|
</Data>
|
||
|
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
|
||
|
<SignedInfo>
|
||
|
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
|
||
|
<SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"/>
|
||
|
<Reference URI="">
|
||
|
<Transforms>
|
||
|
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
|
||
|
<Transform Algorithm="http://www.w3.org/TR/1999/REC-xpath-19991116">
|
||
|
<XPath xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">not(ancestor-or-self::dsig:Signature)</XPath>
|
||
|
</Transform>
|
||
|
</Transforms>
|
||
|
<DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"/>
|
||
|
<DigestValue>e1x3rydsnTQukoiTtQ0vHaWYqKka7yRiP1sB8AVobaA=</DigestValue>
|
||
|
</Reference>
|
||
|
</SignedInfo>
|
||
|
<SignatureValue>DLVX5EypJpYtdD+iAx9/BCKDZlWNnG70jqps5qFGNmoRem5czMSIhc6yVR48ywN2
|
||
|
+HHUYG+9UouTr/d7BfDl8g==</SignatureValue>
|
||
|
<KeyInfo>
|
||
|
<X509Data>
|
||
|
<X509Certificate>MIICBzCCAbSgAwIBAgIBPDAKBgYqhQMCAgMFADCBjzELMAkGA1UEBhMCUlUxDzAN
|
||
|
BgNVBAcTBk1vc2NvdzEjMCEGA1UEAxMaR09TVDIwMDEgQ3J5cHRvUHJvIFRlc3Qg
|
||
|
Q0ExEjAQBgNVBAoTCUNyeXB0b2NvbTETMBEGA1UECxMKT3BlblNTTCBDQTEhMB8G
|
||
|
CSqGSIb3DQEJARYSdml0dXNAY3J5cHRvY29tLnJ1MB4XDTA2MDExNjExMjQzN1oX
|
||
|
DTA3MDExNjEyMjQzN1owXjELMAkGA1UEBhMCUlUxEjAQBgNVBAoTCUNyeXB0b2Nv
|
||
|
bTEMMAoGA1UECxMDMTMwMQwwCgYDVQQDEwNSYW4xHzAdBgkqhkiG9w0BCQEWEHJh
|
||
|
bkBjcnlwdG9jb20ucnUwYzAcBgYqhQMCAhMwEgYHKoUDAgIjAQYHKoUDAgIeAQND
|
||
|
AARASEKiNMuNPqSOVf9PSG2IuWKQy9jvKX2w2pAQnJJsslTis9llJAJn10nXMW2T
|
||
|
qvkI9C/DtrDiRmGuuS0PARgzVqMnMCUwDgYDVR0PAQH/BAQDAgbAMBMGA1UdJQQM
|
||
|
MAoGCCqFAwIZAQIBMAoGBiqFAwICAwUAA0EAruCZrlhscel2tb/FPtdA0fBv3WOh
|
||
|
mrmUMgrjVr/xVr0ZPeIzFGXAcKWYiEi5Gu+mJp17VLlhIq0Qny80bc6AdQ==</X509Certificate>
|
||
|
</X509Data>
|
||
|
</KeyInfo>
|
||
|
</Signature>
|
||
|
</Envelope>
|