[xmlsec] Including KeyValue element within KeyInfo
J. Patrick Bedell
jpbedell at gmail.com
Wed Aug 17 22:34:33 PDT 2005
Hello,
Thanks for all the work that has gone into xmlsec!
I am trying to include a KeyValue element in the KeyInfo that
I am generating with xmlsec, (as in the example below, produced with
Apache XML Security), but I'm not really sure how to import the key
value once I have read in the key file with xmlSecCryptoAppKeyLoad().
Can anyone provide a suggestion? Thanks!
Patrick
jpb at infoeng.org
-----BEGIN INFORMATION CURRENCY SERIES-----
<ics><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>BYnsHDH6Q8CAx+5
/+WDZCLiMcUHg8ab0l6y3YljQhNTXtcvgn8OcHsrUPBm3ewhKmzggof9j7uKv
VRCMaHnCqi0kuO9376GJUI4f0FtoXTlYTJLsb4g/SiUMFlOCMGwIGlZfeW3x7ej60Wm8joJJkmbO
22CPRCCwJWD0Z8HMQ8E=</ci><sig>MCwCFC8FG6R1Z9d41oI2KxqriznfM+puAhRko4iOILiD5xAwyYzXaFmKHuhgRQ==</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>+ahIbPczaFeouLK1Gv29TTV4rYsHSnaHIzf+bBfx2PyNJIVtcl2uH
/qb0x2GvS+5z9ocI8wua8qp
DstZL2BLEcDj4HVSKfnqvsTfThKOuFRfRYeP8zf4rG9YIfF9fzVGJioDrIxPBZyRHA7MLkftASux
asceIpMkGdwOVQRK5m0=</ci><sig>MC0CFQCQWJlDOT7tqFcF/6KXi2k2JQTB9wIUDTwz7x8VC2mN53/GhrZ//eVphlo=</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>Jp7AFPQhw/b9JKOjtvuWhQa5SnbCsxb6KvW5uyf+fuHNqnwDyX36Q
dlKZ+MbXGLlHD+kYkXXREU4
xzinz//Sa0wglmjwin8hTXml9s4SXdnPu4lNM7vUgwpiRwwFDjZ2mkgR3vJl/kaebUo9nEjOtTAj
se7EswHV+wJjbyEXrrI=</ci><sig>MCwCFGIiwnXa40xU2YQOxG8JXfmEx87EAhQmDqNqiWgYV95oc4xpbvwMzbk5mw==</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>IdtS3RCVkp4j4zQd5nLEUIiPAk2iJt27shrA/TUSr8DY/r6hZNmM4
t31eNiBy6MKPtN2rpvdqEzf
v3jiMjqfuQ9HEid01D7eJmziwgN5qtjkoVR7TO1wyeXilXp3Ez/X9CupOt2vOJK1S+cRs5w/tCeS
JILoXdES1X4fxU/okh8=</ci><sig>MC0CFQCUWb8TKAKrGanCXD+tVwisYEBxUAIUCJIdBlZ/4xZwRrUnjj42jHTT7W0=</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>m81Wa1f/Jj1f6ANaY4w79MZfpMruPE1j6weUyYf9pcbeglfoBT0mj
LxSN1oMh7/fyyMRlQH3Ua6I
5+S4vd+PidT8dGEVlmgJ1upCyXby8iRbrPXBtv6/tqVLy16HFYRh27d3zBCn/nyX7Dc8Zp+3sraU
MABOwvEMSoK6jrdeTQ0=</ci><sig>MCwCFDEsGJW1FKDlvoTdKy6ixFqMRuDcAhRnUc4/wBQo5wrVcOm4iLjZ9ZR5rA==</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>AbZeEmndxvJMS1xp9e+QGXWyb3zhWhwd3b026Ie1mHUnWGxdyV7+k
U4LXfzAqflqJpiKIudChPlP
bSn3P5tBzBi1lZsynr5DrvCEr3eaeUAX7ZliS1yFycDffBo+gh1fOTaxa29mVw8/D0oZ2RiyJVbd
bwT6tKs1iogkvt+/Ikw=</ci><sig>MCwCFDXvvqJC11b0CuNeRKWB8QUlVfEgAhRcGcoCnCZyDjwRHcHsPMRw4chx8Q==</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>YzKzoiniA+RD8sWmgEQPmEm6rLslXPpb38J5kqj+AuVwZN8hKxzCD
EJN2SJB7ZgH66GghxjvljQv
vrESvJh0KuFkNe4Un3PysYznBYCijffeWbcdP6pIR0ymsQivYRmB8ubq/PPBEOAkmfyyAOj4c016
CY6xAiFxu+HQajOgBSc=</ci><sig>MC0CFEe20NoIXWozpZ5wILLt0npT9+5xAhUAgBwUpB8qaxKaKE1OwU7raZsdI9w=</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>ZlWjBdCFbSiCNHP4OY1IB85MAlEC4EIW835pWVo8NapzrTmraAows
lBovvENsMyt14mZAmwhtsGm
wAxW0cOPUlVZJzIX9l3fPg9SmJOuU0hZAabZHqUSrT5peq6voFEJvwxoAgVe/+DmBZihl+pKhCQJ
UZoKTLU1XmJlAEJyGTM=</ci><sig>MCwCFAbQW8qEpqHzrAdlu8X/qpVLnOp/AhQZqniQTvNNgxlEfaGwd7/oh2kBCg==</sig></icu><icu><sid>https://tyrosine.infoeng.org:8443/icws/seriesInfo?seriesID=2bfc76bee080fd1ca0a362fe6f50f5ccbcbdf668</sid><ci>+qgnZ3EGKZixc8F1GsBtNp+gXB7iVc6hCtlQkz4tHmz0IbfA1g+8Z
xrD8kK1pml6d0A4Si0uNh1d
jphRTifJO+wYS2UTHwqZdKRXFFeIyk+nKJQzRduyYji1+83PuBsTyRY+LAgY8VNar9zsOkG7kgAE
HX/iuZzfohcdXogiBSM=</ci><sig>MCwCFECEdK2rfcx52UR0z1rs6NL5Qdd3AhQjK7CL19nevqc2wrcsJ6T3ICdhkQ==</sig></icu><ds:Signature
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
Id="6d18c36da051fc77f3d78d45ef0b749544d74e7d">
<ds:SignedInfo>
<ds:CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"></ds:CanonicalizationMethod>
<ds:SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"></ds:SignatureMethod>
<ds:Reference URI="">
<ds:Transforms>
<ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"></ds:Transform>
<ds:Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"></ds:Transform>
</ds:Transforms>
<ds:DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></ds:DigestMethod>
<ds:DigestValue>lCHDaxkcixH9svV6tntvBUlYiD4=</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue>lV4EytLexlxoM73e+nhF96MiSt0H8aM+A/+0bIpZMEswn1u+1M3iRQ==</ds:SignatureValue>
<ds:KeyInfo>
<ds:KeyValue>
<ds:DSAKeyValue>
<ds:P>
/X9TgR11EilS30qcLuzk5/YRt1I870QAwx4/gLZRJmlFXUAiUftZPY1Y+r/F9bow9subVWzXgTuA
HTRv8mZgt2uZUKWkn5/oBHsQIsJPu6nX/rfGG/g7V+fGqKYVDwT7g/bTxR7DAjVUE1oWkTL2dfOu
K2HXKu/yIgMZndFIAcc=
</ds:P>
<ds:Q>l2BQjxUjC8yykrmCouuEC/BYHPU=</ds:Q>
<ds:G>
9+GghdabPd7LvKtcNrhXuXmUr7v6OuqC+VdMCz0HgmdRWVeOutRZT+ZxBxCBgLRJFnEj6EwoFhO3
zwkyjMim4TwWeotUfI0o4KOuHiuzpnWRbqN/C/ohNWLx+2J6ASQ7zKTxvqhRkImog9/hWuWfBpKL
Zl6Ae1UlZAFMO/7PSSo=
</ds:G>
<ds:Y>
nbnmFi2rWlqgvcV1uyYLf5a+kLEh+f6z7W2mUupoYvXs215txf78P8zRwvq71i5Z3XeR37bimq3F
usP8W7eOrSQw7DmbMYJcIBNLE1UHLczPzXhxVjuLhsz9Mp8LaJTYJhzuh1osRtvQBDy/t7mrKTzw
+vJpsRf3M7/9eW1M01A=
</ds:Y>
</ds:DSAKeyValue>
</ds:KeyValue>
</ds:KeyInfo>
</ds:Signature></ics>
-----END INFORMATION CURRENCY SERIES-----
More information about the xmlsec
mailing list