In Java EC signatures are returned as DER-encoded, RSA signatures however are raw bytearrays
the raw bytes of the signature value
the signature encoded as an ASN.1 BIT STRING
Signature encoded as per X.509: