added plaintext signature method