code: public static byte[] fromAsn1Der(byte[] asn1DerSignature, Ecdsa algorithm) {
  
          try {
              return Asn1DerSignatureEncoding.decode(asn1DerSignature, algorithm);
          } catch (IllegalArgumentException ex) {
              throw (IllegalArgumentException) new IllegalArgumentException(
                      ex.getMessage() + " " + Hex.encodeHexString(asn1DerSignature)).initCause(ex);
          }
      }
docs: Converts an ASN.1 DER encoded ECDSA signature to a raw signature in the form R|S
  @param asn1DerSignature An ASN.1 DER encoded signature
  @param algorithm The algorithm used to produce the given ASN.1 DER encoded signature
  @return The raw format of the given ASN.1 DER encoded signature in the form R|S