35 references to XmlKeyHelper
System.Security.Cryptography (35)
System\Security\Cryptography\DSA.Xml.cs (17)
14ref XmlKeyHelper.ParseState state, 18byte[]? ret = XmlKeyHelper.ReadCryptoBinary(ref state, name, sizeHint); 32XmlKeyHelper.ParseState state = XmlKeyHelper.ParseDocument(xmlString); 38byte[]? j = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.J)); 39byte[]? seed = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.Seed)); 41byte[]? x = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(DSAParameters.X), q.Length); 46counter = XmlKeyHelper.ReadCryptoBinaryInt32(counterBytes); 65if (XmlKeyHelper.HasElement(ref state, CounterElementName)) 109XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.P), keyParameters.P, builder); 110XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.Q), keyParameters.Q, builder); 111XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.G), keyParameters.G, builder); 112XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.Y), keyParameters.Y, builder); 116XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.J), keyParameters.J, builder); 121XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.Seed), keyParameters.Seed, builder); 122XmlKeyHelper.WriteCryptoBinary(CounterElementName, keyParameters.Counter, builder); 132XmlKeyHelper.WriteCryptoBinary(nameof(DSAParameters.X), keyParameters.X, builder);
System\Security\Cryptography\RSA.Xml.cs (18)
11ref XmlKeyHelper.ParseState state, 15byte[]? ret = XmlKeyHelper.ReadCryptoBinary(ref state, name, sizeHint); 29XmlKeyHelper.ParseState state = XmlKeyHelper.ParseDocument(xmlString); 38byte[]? p = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.P), halfN); 39byte[]? q = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.Q), halfN); 40byte[]? dp = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DP), halfN); 41byte[]? dq = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.DQ), halfN); 42byte[]? qInv = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.InverseQ), halfN); 43byte[]? d = XmlKeyHelper.ReadCryptoBinary(ref state, nameof(RSAParameters.D), n.Length); 112XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Modulus), keyParameters.Modulus, builder); 113XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Exponent), keyParameters.Exponent, builder); 118XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.P), keyParameters.P, builder); 119XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Q), keyParameters.Q, builder); 120XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DP), keyParameters.DP, builder); 121XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.DQ), keyParameters.DQ, builder); 122XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.InverseQ), keyParameters.InverseQ, builder); 123XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.D), keyParameters.D, builder);