support signature version 4