manually decode PKCS #7 data