public static boolean verify(byte[] data, byte[] signature, byte[] pub) {
        return verify(data, ECDSASignature.decodeFromDER(signature), pub);
    }
public static boolean verify ( byte [ ] data , byte [ ] signature , byte [ ] pub ) { return verify ( data , ECDSASignature . decodeFromDER ( signature ) , pub ) ; }
Verifies the given ASN.1 encoded ECDSA signature against a hash using the
public key.

@param data
Hash of the data to verify.
@param signature
signature.
@param pub
The public key bytes to use.

@return -