15 references to AsymmetricAlgorithmHelpers
System.Security.Cryptography (15)
src\libraries\Common\src\System\Security\Cryptography\DSAOpenSsl.cs (3)
206return AsymmetricAlgorithmHelpers.ConvertDerToIeee1363(derSignature, signatureFieldSize); 245bytesWritten = AsymmetricAlgorithmHelpers.ConvertDerToIeee1363(derSignature, fieldSizeBits, destination); 335signature = AsymmetricAlgorithmHelpers.ConvertIeee1363ToDer(signature);
src\libraries\Common\src\System\Security\Cryptography\ECDsaOpenSsl.cs (5)
93byte[] converted = AsymmetricAlgorithmHelpers.ConvertDerToIeee1363(derSignature, KeySize); 131bytesWritten = AsymmetricAlgorithmHelpers.ConvertDerToIeee1363(derSignature, KeySize, destination); 181int expectedBytes = 2 * AsymmetricAlgorithmHelpers.BitsToBytes(KeySize); 188if (AsymmetricAlgorithmHelpers.TryConvertIeee1363ToDer(signature, derSignature, out int derSize)) 194toVerify = AsymmetricAlgorithmHelpers.ConvertIeee1363ToDer(signature);
System\Security\Cryptography\DSA.cs (4)
238return AsymmetricAlgorithmHelpers.ConvertFromIeeeP1363Signature(sig, signatureFormat); 443return AsymmetricAlgorithmHelpers.ConvertFromIeeeP1363Signature(sig, signatureFormat); 513sig = AsymmetricAlgorithmHelpers.ConvertFromIeeeP1363Signature(sig, signatureFormat); 1114return AsymmetricAlgorithmHelpers.GetMaxDerSignatureSize(fieldSizeBits: qLength * 8);
System\Security\Cryptography\ECDsa.cs (3)
1105byte[] converted = AsymmetricAlgorithmHelpers.ConvertFromIeeeP1363Signature(result, signatureFormat); 1269return AsymmetricAlgorithmHelpers.BitsToBytes(fieldSizeBits) * 2; 1271return AsymmetricAlgorithmHelpers.GetMaxDerSignatureSize(fieldSizeBits);