17 references to WriteCryptoBinary
System.Security.Cryptography (17)
System\Security\Cryptography\DSA.Xml.cs (7)
109
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.P), keyParameters.P, builder);
110
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.Q), keyParameters.Q, builder);
111
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.G), keyParameters.G, builder);
112
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.Y), keyParameters.Y, builder);
116
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.J), keyParameters.J, builder);
121
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.Seed), keyParameters.Seed, builder);
132
XmlKeyHelper.
WriteCryptoBinary
(nameof(DSAParameters.X), keyParameters.X, builder);
System\Security\Cryptography\RSA.Xml.cs (8)
112
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.Modulus), keyParameters.Modulus, builder);
113
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.Exponent), keyParameters.Exponent, builder);
118
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.P), keyParameters.P, builder);
119
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.Q), keyParameters.Q, builder);
120
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.DP), keyParameters.DP, builder);
121
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.DQ), keyParameters.DQ, builder);
122
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.InverseQ), keyParameters.InverseQ, builder);
123
XmlKeyHelper.
WriteCryptoBinary
(nameof(RSAParameters.D), keyParameters.D, builder);
System\Security\Cryptography\XmlKeyHelper.cs (2)
102
WriteCryptoBinary
(name, new ReadOnlySpan<byte>(in single), builder);
119
WriteCryptoBinary
(name, valBuf.Slice(start), builder);