public static void Generate(XmlElement xmlElement, AsymmetricAlgorithm signingKey, X509Certificate2 x509Certificate, string inclusiveNamespacesPrefixList, string digestMethod, string signatureMethod) { if (inclusiveNamespacesPrefixList == null) { inclusiveNamespacesPrefixList = "#default md saml ds xs xsi"; } XmlElement xmlSignature = XmlSignature.Generate(xmlElement, SAMLMetadataSignature.GetID(xmlElement), signingKey, x509Certificate, (SignedXml) new SignedMetadata(xmlElement), inclusiveNamespacesPrefixList, digestMethod, signatureMethod); SAMLMetadataSignature.AddSignature(xmlElement, xmlSignature); }
public static void Generate(XmlElement xmlElement, AsymmetricAlgorithm signingKey, X509Certificate2Collection x509Certificates) { SAMLMetadataSignature.Generate(xmlElement, signingKey, x509Certificates, "#default md saml ds xs xsi", (string)null, (string)null); }
public static void Generate(XmlElement xmlElement, AsymmetricAlgorithm signingKey, KeyInfoX509Data keyInfoX509Data) { SAMLMetadataSignature.Generate(xmlElement, signingKey, keyInfoX509Data, "#default md saml ds xs xsi", (string)null, (string)null); }