You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Generate key operation for RSASSA-PKCS1-v1_5 says:
Set the publicExponent attribute of algorithm to equal the publicExponent attribute of normalizedAlgorithm.
I am unsure if this implies that publicExponent is a normalized BigInteger or not.
The section on BigIntegers says that "Values read from the API SHALL have minimal typed array length"
Does this assignment count as such a "read"?
Example:
If generateKey() is called with publicExponent = 00000000000000010001, an implementation should be able to reflect key.algorithm.publicExponent as 010001 and not preserve the zeros
The text was updated successfully, but these errors were encountered:
I don't think the distinction would be visible on the API, since when you read the value (publicExponent attribute of algorithm) it must be normalized. Whether this happens when you read it or when it is assigned is not visible on the API.
Bug 27591:
The Generate key operation for RSASSA-PKCS1-v1_5 says:
I am unsure if this implies that publicExponent is a normalized BigInteger or not.
The section on BigIntegers says that "Values read from the API SHALL have minimal typed array length"
Does this assignment count as such a "read"?
Example:
If generateKey() is called with publicExponent = 00000000000000010001, an implementation should be able to reflect key.algorithm.publicExponent as 010001 and not preserve the zeros
The text was updated successfully, but these errors were encountered: