Forum Stats

  • 3,741,459 Users
  • 2,248,431 Discussions
  • 7,861,818 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 ?

Sign In or Register to comment.