public ASN1Sequence signedPipFromPplist(List<PolymorphicPseudonymType> response) {
        for (PolymorphicPseudonymType polymorphicPseudonymType : response) {
            ASN1Sequence sequence;
            try {
                sequence = (ASN1Sequence) ASN1Sequence.fromByteArray(polymorphicPseudonymType.getValue());
            } catch (Exception e) {
                logger.error(String.format("PolymorphicPseudonymType not a valid ASN1 Sequence. Exception: '%s'",
                        e.getMessage()));
                continue;
            }
            if (sequence.getObjectAt(0) instanceof ASN1ObjectIdentifier) {
                ASN1ObjectIdentifier objectIdentifier = (ASN1ObjectIdentifier) sequence.getObjectAt(0);
                if (objectIdentifier.getId().equals(SIGNED_PIP_OID)) {
                    return sequence;
                }
            }
        }
        throw new IllegalArgumentException("No signed pip found in PolymorphicPseudonymType list");
    }
@Test
    public void signedPipFromPplistTest() throws IOException, BsnkException {
        List<PolymorphicPseudonymType> pplist = new ArrayList<>();
        pplist.add(new PolymorphicPseudonymType() {
            {
                value = signedPip.getEncoded();
            }
        });

        ASN1Sequence result = bsnkUtil.signedPipFromPplist(pplist);
        assertEquals(Base64.getEncoder().encodeToString(result.getEncoded()), signedPipBase64);
    }