Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add KeyInfo() element with KeyInfoRetrievalMethod?

Status
Not open for further replies.

nomi2000

ISP
Joined
Feb 15, 2001
Messages
676
Location
CA
Hi guys
I am using VB .net and want to add a KeyInfo with some KeyInfoRetrievalMethod with it like this
<KeyInfo>
<RetrievalMethod URI="someURI" Type=" />
</KeyInfo>

What i am doing is

Dim KeyInfo As New KeyInfo()
Dim signedXml As New SignedXml()
Dim keyRetrieval As New KeyInfoRetrievalMethod()
keyRetrieval.Uri = "someURI"
KeyInfo.LoadXml(keyRetrieval.GetXml)
signedXml.KeyInfo = KeyInfo

Can anybody know what i am doing wrong?
Thanks
Nouman

Nouman Zaheer
Software Engineer
MSR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top