Updated ciphers to deal with validity dates and signature chains.