Forum Stats

  • 3,782,953 Users
  • 2,254,714 Discussions
  • 7,880,227 Comments

Discussions

Oracle JDK 1.8 is sending P1363 encoding instead of ASN.1 DER encoding

user3972781
user3972781 Member Posts: 1 Red Ribbon
edited Dec 3, 2020 7:33PM in Java APIs Discussions

When using the default encryption service provider of JDK 1.8.271 , JDK 1.8 api java.security.Signature is configured with scheme SHA256withECDSA. It is sometimes encoding to ASN.1 DER and sometimes to P1363 BER encoding. Has anybody faced this issue ? What is the solution for the same ?