public CertificatePolicySet(DerInputStream in) throws IOException {
  ids=new Vector<CertificatePolicyId>();
  DerValue[] seq=in.getSequence(5);
  for (int i=0; i < seq.length; i++) {
    CertificatePolicyId id=new CertificatePolicyId(seq[i]);
    ids.addElement(id);
  }
}

public CertificatePolicySet ( DerInputStream in ) throws IOException { ids = new Vector < CertificatePolicyId > ( ) ; DerValue [ ] seq = in . getSequence ( 5 ) ; for ( int i = 0 ; i < seq . length ; i ++ ) { CertificatePolicyId id = new CertificatePolicyId ( seq [ i ] ) ; ids . addElement ( id ) ; } }
create the object from the dervalue .
