this.forward = forward; this.reverse = reverse;
if (seq.size() != 1 && seq.size() != 2) { throw new IllegalArgumentException("Bad sequence size: " + seq.size()); }  Enumeration e = seq.getObjects();  while (e.hasMoreElements()) { ASN1TaggedObject o = ASN1TaggedObject.getInstance(e.nextElement()); if (o.getTagNo() == 0) { forward = X509CertificateStructure.getInstance(o, true); } else if (o.getTagNo() == 1) { reverse = X509CertificateStructure.getInstance(o, true); } else { throw new IllegalArgumentException("Bad tag number: " + o.getTagNo()); } }
    public CertificatePair(X509CertificateStructure forward, X509CertificateStructure reverse)    {        this.forward = forward;        this.reverse = reverse;    }