Исходное сообщение содержит:
Код:
...
<AAA></AAA>
<BBB aa="uu"></BBB>
<SSS>rrrr</SSS>
<VVV />
...
Лог XMLDSigRI может выглядеть примерно так:
...
ru.CryptoPro.JCPxml.dsig.internal.dom.ApacheCanonicalizer transform
FINE: Created transform for algorithm:
http://www.w3.org/2001/10/xml-exc-c14n#ru.CryptoPro.JCPxml.dsig.internal.dom.ApacheCanonicalizer transform
FINE: ApacheData = true
ru.CryptoPro.JCPxml.dsig.internal.DigesterOutputStream write
FINE:
Pre-digested input:ru.CryptoPro.JCPxml.dsig.internal.DigesterOutputStream write
FINE: <S:Body xmlns:S="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="body">
<AAA></AAA>
<BBB aa="uu"></BBB>
<SSS>rrrr</SSS>
<VVV></VVV>
</S:Body>
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMReference digest
FINE: Reference object uri = #body
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMReference digest
FINE: Reference digesting completed
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMSignatureMethod sign
FINE: Signature provider:JCP version 1.0
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMSignatureMethod sign
FINE: Signing with key: CryptoPro Gost Exchange PrivateKey with parameters:1.2.643.2.2.98
PM org.apache.xml.security.transforms.Transform initializeTransform
FINE: Create URI "http://www.w3.org/2001/10/xml-exc-c14n#" class "class org.apache.xml.security.transforms.implementations.TransformC14NExclusive"
org.apache.xml.security.transforms.Transform initializeTransform
FINE: The NodeList is [CanonicalizationMethod: null]
org.apache.xml.security.utils.ElementProxy setElement
FINE: setElement(CanonicalizationMethod, "null"
ru.CryptoPro.JCPxml.dsig.internal.dom.ApacheCanonicalizer transform
FINE: Created transform for algorithm:
http://www.w3.org/2001/10/xml-exc-c14n#ru.CryptoPro.JCPxml.dsig.internal.dom.ApacheCanonicalizer transform
FINE: isNodeSet() = true
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMSignedInfo canonicalize
FINE: Canonicalized SignedInfo:
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMSignedInfo canonicalize
FINE: <SignedInfo xmlns="http://www.w3.org/2000/09/xmldsig#"><CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></CanonicalizationMethod><SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr34102001-gostr3411"></SignatureMethod><Reference URI="#body"><Transforms><Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"></Transform></Transforms><DigestMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#gostr3411"></DigestMethod><DigestValue>sQN8nIOhQ0zDvBbAxMB74DPuZWffTVN0Ww03QpXn5cc=</DigestValue></Reference></SignedInfo>
ru.CryptoPro.JCPxml.dsig.internal.dom.DOMSignedInfo canonicalize
FINE: Data to be signed/verified:PFNpZ25lZEluZm8geG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyMiPjxD
YW5vbmljYWxpemF0aW9uTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8x
MC94bWwtZXhjLWMxNG4jIj48L0Nhbm9uaWNhbGl6YXRpb25NZXRob2Q+PFNpZ25hdHVyZU1ldGhv
ZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZHNpZy1tb3JlI2dvc3Ry
MzQxMDIwMDEtZ29zdHIzNDExIj48L1NpZ25hdHVyZU1ldGhvZD48UmVmZXJlbmNlIFVSST0iI2Jv
ZHkiPjxUcmFuc2Zvcm1zPjxUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8y
MDAxLzEwL3htbC1leGMtYzE0biMiPjwvVHJhbnNmb3JtPjwvVHJhbnNmb3Jtcz48RGlnZXN0TWV0
aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxkc2lnLW1vcmUjZ29z
dHIzNDExIj48L0RpZ2VzdE1ldGhvZD48RGlnZXN0VmFsdWU+c1FOOG5JT2hRMHpEdkJiQXhNQjc0
RFB1WldmZlRWTjBXdzAzUXBYbjVjYz08L0RpZ2VzdFZhbHVlPjwvUmVmZXJlbmNlPjwvU2lnbmVk
SW5mbz4=
...
По поводу логирования в .NET - лучше задать вопрос в соответствующем разделе.
Отредактировано пользователем 20 августа 2012 г. 22:03:31(UTC)
| Причина: Не указана