I'm using ComponentSpace to load some SAML XML into a C# object. All of that was working fine until I needed to load in the secondary certificate. It doesn't seem to want to load at all and I can't figure out how to make it work.
I'm doing this basic thing:
SAMLConfiguration samlConfiguration = new SAMLConfiguration();
MetadataImporter.ImportIdentityProviders(new EntityDescriptor(doc.DocumentElement), samlConfiguration, certificateTempDirectory);
Using this XML file: https://adfs.bupadentalcare.co.uk/FederationMetadata/2007-06/FederationMetadata.xml
Only the primary data will load, not the secondary data. Can anyone help?