RFR: 8252377: Incorrect encoding for EC AlgorithmIdentifier [v2]
    Weijun Wang 
    weijun at openjdk.java.net
       
    Fri Sep 25 00:47:47 UTC 2020
    
    
  
On Thu, 24 Sep 2020 23:49:08 GMT, Hai-May Chao <hchao at openjdk.org> wrote:
>> This change fixes the DER encoding for ECDSA AlgorithmIdentifier to omit the parameters field instead of encoding a
>> Null tag.
>
> Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated test case to use DerUtils
src/java.base/share/classes/sun/security/x509/AlgorithmId.java line 214:
> 212:                     || algid.equals(SHA512withECDSA_oid)) {
> 213:                 // RFC 4055 3.3: when an RSASSA-PSS key does not require
> 214:                 // parameter validation, field is absent.
Would you like to add more comments on other RFCs here?
-------------
PR: https://git.openjdk.java.net/jdk/pull/312
    
    
More information about the security-dev
mailing list