You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Yasir Khan <ya...@ascertia.com> on 2003/09/22 09:37:03 UTC
Adding KeyInfo in XMLSignature
MessageHi,
XMLSignature class defines two methods to add the KeyInfo contents into XML Signature i.e.
XMLSignature.addKeyInfo(X509Certificate);
XMLSignature.addKeyInfo(PublicKey);
How can we add other KeyInfo contents into KeyInfo element of XML Signature.???
XMLSignature class defines a method getKeyInfo() that return KeyInfo element of XML Signature. But I couldn't found corresponding method addKeyInfo(KeyInfo) in XMLSignature class, I think following method should be present in XMLSignature class:
XMLSignature.addKeyInfo(KeyInfo);
Any ideas??
Best Regards,
Yasir Khan
Re: Adding KeyInfo in XMLSignature
Posted by Yasir Khan <ya...@ascertia.com>.
MessageAny ideas on the below mentioned problem ..... ?????
Regards,
Yasir Khan
----- Original Message -----
From: Yasir Khan
To: security-dev@xml.apache.org
Sent: Monday, September 22, 2003 12:37 PM
Subject: Adding KeyInfo in XMLSignature
Hi,
XMLSignature class defines two methods to add the KeyInfo contents into XML Signature i.e.
XMLSignature.addKeyInfo(X509Certificate);
XMLSignature.addKeyInfo(PublicKey);
How can we add other KeyInfo contents into KeyInfo element of XML Signature.???
XMLSignature class defines a method getKeyInfo() that return KeyInfo element of XML Signature. But I couldn't found corresponding method addKeyInfo(KeyInfo) in XMLSignature class, I think following method should be present in XMLSignature class:
XMLSignature.addKeyInfo(KeyInfo);
Any ideas??
Best Regards,
Yasir Khan