Class Der
java.lang.Object
com.codename1.crypto.bitcoin.Der
Strict DER (BIP-66) encoding of an ECDSA signature.
-
Method Summary
-
Method Details
-
encode
public static byte[] encode(byte[] r, byte[] s) 30 len 02 len r 02 len sof two 32-byte big-endian integers. -
decode
public static byte[] decode(byte[] der) The
r || s64 bytes of a strict DER signature (without the sighash byte).Throws
IllegalArgumentException: for anything BIP-66 rejects
-