AW: XMLTooling - Is it possible to not emit <ds:KeyInfo> in C++?
Cantor, Scott
cantor.2 at osu.edu
Fri Nov 2 09:57:39 EDT 2012
On 11/2/12 3:55 AM, "Selhorst, Marcel" <Marcel.Selhorst at BDR.de> wrote:
>
>I am indeed using the FilesystemCredentialResolver to load my
>certificates / keys.
>I also found the <KeyInfoMask> element in the sourcecode, however it
>seems to be ignored.
It's an XML attribute, not an element.
>I produce an XML like this and parse it into a DOMDocument:
If you fix the XML I think it should work for you.
>I tried the following values and combinations thereof for <KeyInfoMask>
>without success.
>
>KEYINFO_KEY_VALUE 1
>KEYINFO_KEY_NAME 2
>KEYINFO_x509_CERTIFICATE 4
>KEYINFO_x509_SUBJECTNAME 8
>KEYINFO_x509_ISSUERSERIAL 16
>KEYINFO_x509_DIGEST 32
Yes, those are the mask values. Just OR together whichever ones you want.
-- Scott
More information about the dev
mailing list