public boolean validate(String cert,String signedData,String signature) throws NoSuchAlgorithmException, IOException, Exception {
  byte[] certBytes=Base64.decode(cert);
  byte[] signedDataBytes=Base64.decode(signedData);
  byte[] signatureBytes=Base64.decode(signature);
  return validate(certBytes,signedDataBytes,signatureBytes);
}

public boolean validate ( String cert , String signedData , String signature ) throws NoSuchAlgorithmException , IOException , Exception { byte [ ] certBytes = Base64 . decode ( cert ) ; byte [ ] signedDataBytes = Base64 . decode ( signedData ) ; byte [ ] signatureBytes = Base64 . decode ( signature ) ; return validate ( certBytes , signedDataBytes , signatureBytes ) ; }
example implementation . it only knows to verify sha256withec algorithm .
