public byte[] verifyMessage(ContentInfo signedMessage, Date date, String oid) {
        return encapsulatedData(verify(signedMessage, date), oid);
    }
@Test
    public void verifyValidCmsWithOid() throws Exception {
        final ContentInfo signedMessage = ContentInfo.getInstance(fixture());
        final byte[] data = new CmsVerifier(new CertificateVerifier.None()).verifyMessage(
            signedMessage, LdsSecurityObject.OID
        );
        assertEquals("SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS", Hex.toHexString(
            DigestUtils.digest("SHA1").digest(data)
        ));
    }