### Question:
ECDSASignature { public static boolean isStrictlyCanonical(byte[] sig) { return checkIsCanonical(sig, true); } ECDSASignature(BigInteger r, BigInteger s); static boolean isStrictlyCanonical(byte[] sig); static boolean checkIsCanonical(byte[] sig, boolean strict); byte[] encodeToDER(); static ECDSASignature decodeFromDER(byte[] bytes); public BigInteger r; }### Answer:
@Test public void testIsStrictlyCanonical() throws Exception { String a1 = "rLGvKDzvykHM7yhZFaDoUhMEGpRHUXwPRF"; String a3 = "sneLyaUvA8MzJ7xXi5S5wcUxgDbae"; System.out.println("a1: " + AccountID.fromAddress(a1)); byte[] dec = Config.getB58().decode("sneLyaUvA8MzJ7xXi5S5wcUxgDbae"); System.out.println(dec.length); byte[] seed = Arrays.copyOfRange(dec, 1, 17); System.out.println(new Seed(seed).toString()); System.out.println(AccountID.fromKeyPair(new Seed(seed).keyPair(-1))); AccountID.fromAddress(a1); }