Code example for InputStream

Methods: markSupported

0
            mStream.mark(readlimit);
        } 
 
        @Override 
        public boolean markSupported() { 
            return mStream.markSupported();
        } 
 
        @Override 
        public synchronized void reset() throws IOException { 
            mCount = mMarked;
            mStream.reset();
        } 
    } 
 
    /* CertPath tests */ 
    public void testGenerateCertPath() throws Exception { 
        KeyHolder ca = generateCertificate(true, null);
        KeyHolder cert1 = generateCertificate(true, ca);
        KeyHolder cert2 = generateCertificate(false, cert1);
        KeyHolder cert3 = generateCertificate(false, cert2);