cat.debug("<ScepPkiOpHelper");
	public ScepPkiOpHelper(byte[] msg) throws IOException {		// Parse and verify the entegrity of the PKIOperation message PKCS#7		// TODO:         /*        try {            PKCS7SignedData pkcs7 = new PKCS7SignedData(msg);        } catch (Exception e) {        } */        /* If this would have been done using the newer CMS it would have made me so much happier... */		DERConstructedSequence seq =(DERConstructedSequence)(new DERInputStream(new ByteArrayInputStream(msg)).readObject());		ContentInfo ci = new ContentInfo(seq);		ContentType ct = ci.getContentType();		String ctoid = ct.getContentType();		if (ctoid.equals(CMSObjectIdentifiers.id_signedData.getId())) {			// This is SignedData so it is a pkcsCertReqSigned, 			//  pkcsGetCertInitialSigned, pkcsGetCertSigned, pkcsGetCRLSigned			// (could also be pkcsRepSigned or certOnly, but we don't receive them on the server side			// Try to find out what kind of message this is			SignedData sd = (SignedData) ci.getContent();			Vector sis = sd.getSignerInfos().getInfos();			if (sis.size() > 0) {				si =(SignerInfo)sis.get(0);                 Vector attr = si.getSignedAttrs().getAttributes();                Iterator iter = attr.iterator();                while (iter.hasNext()) {                    Attribute a = (Attribute)iter.next();                    cat.debug("Found attribute: "+a.getAttrType());                    if (a.getAttrType().equals(id_messageType))                        messageType = (String)a.getAttrValues().get(0);                        cat.debug("Messagetype = "+messageType);                }            }		}	}