6 writes to Exponent
System.Security.Cryptography (4)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (2)
48Exponent = key.PublicExponent.ToByteArray(isUnsigned: true, isBigEndian: true), 68Exponent = key.PublicExponent.ToByteArray(isUnsigned: true, isBigEndian: true),
System\Security\Cryptography\CapiHelper.Shared.cs (1)
179rsaParameters.Exponent = ExponentAsBytes(expAsDword);
System\Security\Cryptography\RSA.Xml.cs (1)
48Exponent = e,
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
137Exponent = Convert.FromBase64String(rsaKeyValueElement.SelectSingleNode($"{xmlDsigNamespacePrefix}:{ExponentElementName}", xmlNamespaceManager)!.InnerText)
System.ServiceModel.Primitives (1)
System\ServiceModel\RsaEndpointIdentity.cs (1)
52parameters.Exponent = exponent;
18 references to Exponent
System.Security.Cryptography (16)
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (4)
260if (rsaParameters.Modulus == null || rsaParameters.Exponent == null) 268writer.WriteKeyParameterInteger(rsaParameters.Exponent); 276if (rsaParameters.Modulus == null || rsaParameters.Exponent == null) 298writer.WriteKeyParameterInteger(rsaParameters.Exponent);
src\libraries\Common\src\System\Security\Cryptography\RSAOpenSsl.cs (1)
669if (parameters.Modulus == null || parameters.Exponent == null)
System\Security\Cryptography\CapiHelper.Shared.cs (4)
75if (rsaParameters.Exponent == null || rsaParameters.Exponent.Length > 4) 119for (int i = 0; i < rsaParameters.Exponent.Length; i++) 122expAsDword |= rsaParameters.Exponent[i];
System\Security\Cryptography\RSA.Xml.cs (3)
32byte[] e = ReadRequiredElement(ref state, nameof(RSAParameters.Exponent)); 113XmlKeyHelper.WriteCryptoBinary(nameof(RSAParameters.Exponent), keyParameters.Exponent, builder);
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (2)
133if (parameters.Exponent == null || parameters.Exponent.Length > 4)
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
47!currentParameters.Exponent.ContentsEqual(newParameters.Exponent))
System.Security.Cryptography.Xml (1)
System\Security\Cryptography\Xml\RSAKeyValue.cs (1)
86exponentElement.AppendChild(xmlDocument.CreateTextNode(Convert.ToBase64String(rsaParams.Exponent!)));
System.ServiceModel.Primitives (1)
System\ServiceModel\RsaEndpointIdentity.cs (1)
68writer.WriteElementString(XD.XmlSignatureDictionary.Prefix.Value, XD.XmlSignatureDictionary.Exponent, XD.XmlSignatureDictionary.Namespace, Convert.ToBase64String(parameters.Exponent));