Lines Matching refs:data
59 byte[] data = crl.getEncodedInternal();
62 checkData(crl, data, serials);
64 // Load a CRL from raw data
66 X509CRLImpl crl2 = (X509CRLImpl)cf.generateCRL(new ByteArrayInputStream(data));
69 data = crl2.getEncodedInternal();
70 checkData(crl2, data, serials);
73 // Check the raw data's ASN.1 structure to see if the revoked certs
75 static void checkData(X509CRLImpl c, byte[] data, BigInteger[] expected)
81 DerValue d1 = new DerValue(data);
84 d1.data.getSequence(0)[4].toByteArray())
87 throw new Exception("Wrong count in raw data, now " + d2.length);
91 BigInteger bi = d2[i].data.getBigInteger();