Refactored PkcsPkiEnvelopeDecoder