equal
deleted
inserted
replaced
56 * |
56 * |
57 * @param in the passed DerInputStream. |
57 * @param in the passed DerInputStream. |
58 * @exception IOException on decoding errors. |
58 * @exception IOException on decoding errors. |
59 */ |
59 */ |
60 public CertificatePolicySet(DerInputStream in) throws IOException { |
60 public CertificatePolicySet(DerInputStream in) throws IOException { |
61 ids = new Vector<CertificatePolicyId>(); |
61 ids = new Vector<>(); |
62 DerValue[] seq = in.getSequence(5); |
62 DerValue[] seq = in.getSequence(5); |
63 |
63 |
64 for (int i = 0; i < seq.length; i++) { |
64 for (int i = 0; i < seq.length; i++) { |
65 CertificatePolicyId id = new CertificatePolicyId(seq[i]); |
65 CertificatePolicyId id = new CertificatePolicyId(seq[i]); |
66 ids.addElement(id); |
66 ids.addElement(id); |