code: @Override
      public CMSSignedData getResponse(final byte[] content, final String mimeType)
              throws ContentException {
          if (mimeType.startsWith(PKI_MESSAGE)) {
              try {
                  return new CMSSignedData(content);
              } catch (CMSException e) {
                  throw new InvalidContentException(e);
              }
          } else {
              throw new InvalidContentTypeException(mimeType, PKI_MESSAGE);
          }
      }
docs: {@inheritDoc}