Code example for List

Methods: iterator

     * @return an Iterator over the names of the supported encodings (as Strings) 
    public Iterator getEncodings()
        return certPathEncodings.iterator();
     * Returns the encoded form of this certification path, using 
     * the default encoding. 
     * @return the encoded bytes 
     * @exception CertificateEncodingException if an encoding error occurs 
    public byte[] getEncoded() 
        throws CertificateEncodingException 
        Iterator iter = getEncodings();
        if (iter.hasNext())
Contextual code suggestions in your IDE  Get Codota for Java