This is accomplished through an implementation of AlgorithmParameterSpec, SignatureFormatParameterSpec, which can be passed to the existing Signature.setParameter() method before signing or verifying a signature to indicate the desired signature format.
webrev: http://cr.openjdk.java.net/~juh/8042967/00/ bug: https://bugs.openjdk.java.net/browse/JDK-8042967 Thanks, Jason