Home | History | Annotate | Download | only in provider

Lines Matching refs:encoding

92             byte[] encoding = readOneBlock(is);
93 if (encoding != null) {
94 X509CertImpl cert = getFromCache(certCache, encoding);
98 cert = new X509CertImpl(encoding);
149 * encoding for certificate data.
157 byte[] encoding;
159 encoding = ((X509CertImpl)c).getEncodedInternal();
161 encoding = c.getEncoded();
163 X509CertImpl newC = getFromCache(certCache, encoding);
170 newC = new X509CertImpl(encoding);
171 encoding = newC.getEncodedInternal();
173 addToCache(certCache, encoding, newC);
185 * encoding for CRL data.
193 byte[] encoding;
195 encoding = ((X509CRLImpl)c).getEncodedInternal();
197 encoding = c.getEncoded();
199 X509CRLImpl newC = getFromCache(crlCache, encoding);
206 newC = new X509CRLImpl(encoding);
207 encoding = newC.getEncodedInternal();
209 addToCache(crlCache, encoding, newC);
217 byte[] encoding) {
218 Object key = new Cache.EqualByteArray(encoding);
226 byte[] encoding, V value) {
227 if (encoding.length > ENC_MAX_LENGTH) {
230 Object key = new Cache.EqualByteArray(encoding);
239 * is assumed to be in the default encoding.
255 byte[] encoding = readOneBlock(inStream);
256 if (encoding != null) {
257 return new X509CertPath(new ByteArrayInputStream(encoding));
269 * is assumed to be in the specified encoding.
272 * @param encoding the encoding used for the data
276 * the encoding requested is not supported
281 String encoding) throws CertificateException
289 return new X509CertPath(new ByteArrayInputStream(data), encoding);
322 * by this certificate factory, with the default encoding first.
384 byte[] encoding = readOneBlock(is);
385 if (encoding != null) {
386 X509CRLImpl crl = getFromCache(crlCache, encoding);
390 crl = new X509CRLImpl(encoding);
662 * encoding and will read all of the sub-sections in a recursive way
692 if (n == 0x80) { // Indefinite-length encoding
695 "Non constructed encoding must have definite length");