Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

user3972781Dec 3 2020 — edited Dec 3 2020

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 ?

Comments

Post Details

Added on Dec 3 2020
0 comments
352 views