rsa-sha1 signature in .NET XML

Hello, I try to create the signature element like this:

[code]












[/code]

But when I create code

[code]KeyInfo ki = new KeyInfo();
KeyInfoX509Data keyInfoData = new KeyInfoX509Data(cert);
keyInfoData.AddIssuerSerial(cert.Issuer, cert.GetSerialNumberString());
ki.AddClause(keyInfoData);[/code]

I can't get it same kind.

Format is:

[code]








[/code]


If I create the second X509Data-tag, I have two different X509-tags then which first have certificate and second have issuerserial.

How can I exclude X509IssuerSerial-tag from X509Data-tag?

Thank you
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories